Class: TencentCloud::Cdc::V20201214::DescribeDedicatedClusterOrdersResponse

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

Overview

DescribeDedicatedClusterOrders返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(dedicatedclusterorderset = nil, totalcount = nil, requestid = nil) ⇒ DescribeDedicatedClusterOrdersResponse



1210
1211
1212
1213
1214
# File 'lib/v20201214/models.rb', line 1210

def initialize(dedicatedclusterorderset=nil, totalcount=nil, requestid=nil)
  @DedicatedClusterOrderSet = dedicatedclusterorderset
  @TotalCount = totalcount
  @RequestId = requestid
end

Instance Attribute Details

#DedicatedClusterOrderSetObject



1208
1209
1210
# File 'lib/v20201214/models.rb', line 1208

def DedicatedClusterOrderSet
  @DedicatedClusterOrderSet
end

#RequestIdObject



1208
1209
1210
# File 'lib/v20201214/models.rb', line 1208

def RequestId
  @RequestId
end

#TotalCountObject



1208
1209
1210
# File 'lib/v20201214/models.rb', line 1208

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
# File 'lib/v20201214/models.rb', line 1216

def deserialize(params)
  unless params['DedicatedClusterOrderSet'].nil?
    @DedicatedClusterOrderSet = []
    params['DedicatedClusterOrderSet'].each do |i|
      dedicatedclusterorder_tmp = DedicatedClusterOrder.new
      dedicatedclusterorder_tmp.deserialize(i)
      @DedicatedClusterOrderSet << dedicatedclusterorder_tmp
    end
  end
  @TotalCount = params['TotalCount']
  @RequestId = params['RequestId']
end