class TencentCloud::Cynosdb::V20190107::DescribeResourcePackageSaleSpecResponse
DescribeResourcePackageSaleSpec返回参数结构体
def deserialize(params)
def deserialize(params) @Total = params['Total'] unless params['Detail'].nil? @Detail = [] params['Detail'].each do |i| salepackagespec_tmp = SalePackageSpec.new salepackagespec_tmp.deserialize(i) @Detail << salepackagespec_tmp end end @RequestId = params['RequestId'] end
def initialize(total=nil, detail=nil, requestid=nil)
def initialize(total=nil, detail=nil, requestid=nil) @Total = total @Detail = detail @RequestId = requestid end