Class: TencentCloud::Tke::V20180525::ModifyClusterAsGroupOptionAttributeRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180525/models.rb

Overview

ModifyClusterAsGroupOptionAttribute请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clusterid = nil, clusterasgroupoption = nil) ⇒ ModifyClusterAsGroupOptionAttributeRequest

Returns a new instance of ModifyClusterAsGroupOptionAttributeRequest.



13759
13760
13761
13762
# File 'lib/v20180525/models.rb', line 13759

def initialize(clusterid=nil, clusterasgroupoption=nil)
  @ClusterId = clusterid
  @ClusterAsGroupOption = clusterasgroupoption
end

Instance Attribute Details

#ClusterAsGroupOptionObject

Parameters:

  • ClusterId:

    集群ID

  • ClusterAsGroupOption:

    集群弹性伸缩属性



13757
13758
13759
# File 'lib/v20180525/models.rb', line 13757

def ClusterAsGroupOption
  @ClusterAsGroupOption
end

#ClusterIdObject

Parameters:

  • ClusterId:

    集群ID

  • ClusterAsGroupOption:

    集群弹性伸缩属性



13757
13758
13759
# File 'lib/v20180525/models.rb', line 13757

def ClusterId
  @ClusterId
end

Instance Method Details

#deserialize(params) ⇒ Object



13764
13765
13766
13767
13768
13769
13770
# File 'lib/v20180525/models.rb', line 13764

def deserialize(params)
  @ClusterId = params['ClusterId']
  unless params['ClusterAsGroupOption'].nil?
    @ClusterAsGroupOption = ClusterAsGroupOption.new
    @ClusterAsGroupOption.deserialize(params['ClusterAsGroupOption'])
  end
end