Class: TencentCloud::Cdc::V20201214::DescribeDedicatedClusterInstanceTypesResponse

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

Overview

DescribeDedicatedClusterInstanceTypes返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(dedicatedclusterinstancetypeset = nil, requestid = nil) ⇒ DescribeDedicatedClusterInstanceTypesResponse

Returns a new instance of DescribeDedicatedClusterInstanceTypesResponse.



1141
1142
1143
1144
# File 'lib/v20201214/models.rb', line 1141

def initialize(dedicatedclusterinstancetypeset=nil, requestid=nil)
  @DedicatedClusterInstanceTypeSet = dedicatedclusterinstancetypeset
  @RequestId = requestid
end

Instance Attribute Details

#DedicatedClusterInstanceTypeSetObject

Parameters:

  • DedicatedClusterInstanceTypeSet:

    支持的实例规格列表

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1139
1140
1141
# File 'lib/v20201214/models.rb', line 1139

def DedicatedClusterInstanceTypeSet
  @DedicatedClusterInstanceTypeSet
end

#RequestIdObject

Parameters:

  • DedicatedClusterInstanceTypeSet:

    支持的实例规格列表

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1139
1140
1141
# File 'lib/v20201214/models.rb', line 1139

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
# File 'lib/v20201214/models.rb', line 1146

def deserialize(params)
  unless params['DedicatedClusterInstanceTypeSet'].nil?
    @DedicatedClusterInstanceTypeSet = []
    params['DedicatedClusterInstanceTypeSet'].each do |i|
      dedicatedclusterinstancetype_tmp = DedicatedClusterInstanceType.new
      dedicatedclusterinstancetype_tmp.deserialize(i)
      @DedicatedClusterInstanceTypeSet << dedicatedclusterinstancetype_tmp
    end
  end
  @RequestId = params['RequestId']
end