Class: TencentCloud::Tke::V20180525::DescribePodChargeInfoResponse

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

Overview

DescribePodChargeInfo返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(chargeinfoset = nil, requestid = nil) ⇒ DescribePodChargeInfoResponse

Returns a new instance of DescribePodChargeInfoResponse.



8954
8955
8956
8957
# File 'lib/v20180525/models.rb', line 8954

def initialize(chargeinfoset=nil, requestid=nil)
  @ChargeInfoSet = chargeinfoset
  @RequestId = requestid
end

Instance Attribute Details

#ChargeInfoSetObject

Parameters:

  • ChargeInfoSet:

    Pod计费信息

  • RequestId:

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



8952
8953
8954
# File 'lib/v20180525/models.rb', line 8952

def ChargeInfoSet
  @ChargeInfoSet
end

#RequestIdObject

Parameters:

  • ChargeInfoSet:

    Pod计费信息

  • RequestId:

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



8952
8953
8954
# File 'lib/v20180525/models.rb', line 8952

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
# File 'lib/v20180525/models.rb', line 8959

def deserialize(params)
  unless params['ChargeInfoSet'].nil?
    @ChargeInfoSet = []
    params['ChargeInfoSet'].each do |i|
      podchargeinfo_tmp = PodChargeInfo.new
      podchargeinfo_tmp.deserialize(i)
      @ChargeInfoSet << podchargeinfo_tmp
    end
  end
  @RequestId = params['RequestId']
end