Class: TencentCloud::Tcb::V20180608::DescribeExtraPkgBillingInfoResponse

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

Overview

DescribeExtraPkgBillingInfo返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(envinfolist = nil, total = nil, requestid = nil) ⇒ DescribeExtraPkgBillingInfoResponse

Returns a new instance of DescribeExtraPkgBillingInfoResponse.



5281
5282
5283
5284
5285
# File 'lib/v20180608/models.rb', line 5281

def initialize(envinfolist=nil, total=nil, requestid=nil)
  @EnvInfoList = envinfolist
  @Total = total
  @RequestId = requestid
end

Instance Attribute Details

#EnvInfoListObject

Parameters:

  • EnvInfoList:

    增值包计费信息列表

  • Total:

    增值包数目

  • RequestId:

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



5279
5280
5281
# File 'lib/v20180608/models.rb', line 5279

def EnvInfoList
  @EnvInfoList
end

#RequestIdObject

Parameters:

  • EnvInfoList:

    增值包计费信息列表

  • Total:

    增值包数目

  • RequestId:

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



5279
5280
5281
# File 'lib/v20180608/models.rb', line 5279

def RequestId
  @RequestId
end

#TotalObject

Parameters:

  • EnvInfoList:

    增值包计费信息列表

  • Total:

    增值包数目

  • RequestId:

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



5279
5280
5281
# File 'lib/v20180608/models.rb', line 5279

def Total
  @Total
end

Instance Method Details

#deserialize(params) ⇒ Object



5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
# File 'lib/v20180608/models.rb', line 5287

def deserialize(params)
  unless params['EnvInfoList'].nil?
    @EnvInfoList = []
    params['EnvInfoList'].each do |i|
      envbillinginfoitem_tmp = EnvBillingInfoItem.new
      envbillinginfoitem_tmp.deserialize(i)
      @EnvInfoList << envbillinginfoitem_tmp
    end
  end
  @Total = params['Total']
  @RequestId = params['RequestId']
end