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.



8290
8291
8292
8293
# File 'lib/v20180525/models.rb', line 8290

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

Instance Attribute Details

#ChargeInfoSetObject

Parameters:

  • ChargeInfoSet:

    Pod计费信息

  • RequestId:

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



8288
8289
8290
# File 'lib/v20180525/models.rb', line 8288

def ChargeInfoSet
  @ChargeInfoSet
end

#RequestIdObject

Parameters:

  • ChargeInfoSet:

    Pod计费信息

  • RequestId:

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



8288
8289
8290
# File 'lib/v20180525/models.rb', line 8288

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
# File 'lib/v20180525/models.rb', line 8295

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