Class: TencentCloud::Tke::V20180525::ModifyNodePoolDesiredCapacityAboutAsgRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::ModifyNodePoolDesiredCapacityAboutAsgRequest
- Defined in:
- lib/v20180525/models.rb
Overview
ModifyNodePoolDesiredCapacityAboutAsg请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusterid = nil, nodepoolid = nil, desiredcapacity = nil) ⇒ ModifyNodePoolDesiredCapacityAboutAsgRequest
constructor
A new instance of ModifyNodePoolDesiredCapacityAboutAsgRequest.
Constructor Details
#initialize(clusterid = nil, nodepoolid = nil, desiredcapacity = nil) ⇒ ModifyNodePoolDesiredCapacityAboutAsgRequest
Returns a new instance of ModifyNodePoolDesiredCapacityAboutAsgRequest.
14354 14355 14356 14357 14358 |
# File 'lib/v20180525/models.rb', line 14354 def initialize(clusterid=nil, nodepoolid=nil, desiredcapacity=nil) @ClusterId = clusterid @NodePoolId = nodepoolid @DesiredCapacity = desiredcapacity end |
Instance Attribute Details
#ClusterId ⇒ Object
14352 14353 14354 |
# File 'lib/v20180525/models.rb', line 14352 def ClusterId @ClusterId end |
#DesiredCapacity ⇒ Object
14352 14353 14354 |
# File 'lib/v20180525/models.rb', line 14352 def DesiredCapacity @DesiredCapacity end |
#NodePoolId ⇒ Object
14352 14353 14354 |
# File 'lib/v20180525/models.rb', line 14352 def NodePoolId @NodePoolId end |
Instance Method Details
#deserialize(params) ⇒ Object
14360 14361 14362 14363 14364 |
# File 'lib/v20180525/models.rb', line 14360 def deserialize(params) @ClusterId = params['ClusterId'] @NodePoolId = params['NodePoolId'] @DesiredCapacity = params['DesiredCapacity'] end |