Class: TencentCloud::Billing::V20180709::DescribeDosageCosDetailByDateResponse

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

Overview

DescribeDosageCosDetailByDate返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(detailsets = nil, requestid = nil) ⇒ DescribeDosageCosDetailByDateResponse

Returns a new instance of DescribeDosageCosDetailByDateResponse.



9042
9043
9044
9045
# File 'lib/v20180709/models.rb', line 9042

def initialize(detailsets=nil, requestid=nil)
  @DetailSets = detailsets
  @RequestId = requestid
end

Instance Attribute Details

#DetailSetsObject

Parameters:

  • DetailSets:

    用量数组

  • RequestId:

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



9040
9041
9042
# File 'lib/v20180709/models.rb', line 9040

def DetailSets
  @DetailSets
end

#RequestIdObject

Parameters:

  • DetailSets:

    用量数组

  • RequestId:

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



9040
9041
9042
# File 'lib/v20180709/models.rb', line 9040

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
# File 'lib/v20180709/models.rb', line 9047

def deserialize(params)
  unless params['DetailSets'].nil?
    @DetailSets = []
    params['DetailSets'].each do |i|
      cosdetailsets_tmp = CosDetailSets.new
      cosdetailsets_tmp.deserialize(i)
      @DetailSets << cosdetailsets_tmp
    end
  end
  @RequestId = params['RequestId']
end