Class: TencentCloud::Billing::V20180709::DescribeSavingPlanResourceInfoResponse

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

Overview

DescribeSavingPlanResourceInfo返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(total = nil, requestid = nil) ⇒ DescribeSavingPlanResourceInfoResponse

Returns a new instance of DescribeSavingPlanResourceInfoResponse.



9556
9557
9558
9559
# File 'lib/v20180709/models.rb', line 9556

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

Instance Attribute Details

#RequestIdObject

Parameters:

  • Total:

    记录数

  • RequestId:

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



9554
9555
9556
# File 'lib/v20180709/models.rb', line 9554

def RequestId
  @RequestId
end

#TotalObject

Parameters:

  • Total:

    记录数

  • RequestId:

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



9554
9555
9556
# File 'lib/v20180709/models.rb', line 9554

def Total
  @Total
end

Instance Method Details

#deserialize(params) ⇒ Object



9561
9562
9563
9564
# File 'lib/v20180709/models.rb', line 9561

def deserialize(params)
  @Total = params['Total']
  @RequestId = params['RequestId']
end