Class: TencentCloud::Billing::V20180709::DescribeDosageDetailListResponse

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

Overview

DescribeDosageDetailList返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(record = nil, requestid = nil) ⇒ DescribeDosageDetailListResponse

Returns a new instance of DescribeDosageDetailListResponse.



9312
9313
9314
9315
# File 'lib/v20180709/models.rb', line 9312

def initialize(record=nil, requestid=nil)
  @Record = record
  @RequestId = requestid
end

Instance Attribute Details

#RecordObject

Parameters:

  • Record:

    用量明细集合

  • RequestId:

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



9310
9311
9312
# File 'lib/v20180709/models.rb', line 9310

def Record
  @Record
end

#RequestIdObject

Parameters:

  • Record:

    用量明细集合

  • RequestId:

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



9310
9311
9312
# File 'lib/v20180709/models.rb', line 9310

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
# File 'lib/v20180709/models.rb', line 9317

def deserialize(params)
  unless params['Record'].nil?
    @Record = []
    params['Record'].each do |i|
      describedosagedetail_tmp = DescribeDosageDetail.new
      describedosagedetail_tmp.deserialize(i)
      @Record << describedosagedetail_tmp
    end
  end
  @RequestId = params['RequestId']
end