Class: TencentCloud::Tke::V20180525::DescribeRIUtilizationDetailResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::DescribeRIUtilizationDetailResponse
- Defined in:
- lib/v20180525/models.rb
Overview
DescribeRIUtilizationDetail返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, riutilizationdetailset = nil, requestid = nil) ⇒ DescribeRIUtilizationDetailResponse
constructor
A new instance of DescribeRIUtilizationDetailResponse.
Constructor Details
#initialize(totalcount = nil, riutilizationdetailset = nil, requestid = nil) ⇒ DescribeRIUtilizationDetailResponse
Returns a new instance of DescribeRIUtilizationDetailResponse.
10396 10397 10398 10399 10400 |
# File 'lib/v20180525/models.rb', line 10396 def initialize(totalcount=nil, riutilizationdetailset=nil, requestid=nil) @TotalCount = totalcount @RIUtilizationDetailSet = riutilizationdetailset @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
10394 10395 10396 |
# File 'lib/v20180525/models.rb', line 10394 def RequestId @RequestId end |
#RIUtilizationDetailSet ⇒ Object
10394 10395 10396 |
# File 'lib/v20180525/models.rb', line 10394 def RIUtilizationDetailSet @RIUtilizationDetailSet end |
#TotalCount ⇒ Object
10394 10395 10396 |
# File 'lib/v20180525/models.rb', line 10394 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
10402 10403 10404 10405 10406 10407 10408 10409 10410 10411 10412 10413 |
# File 'lib/v20180525/models.rb', line 10402 def deserialize(params) @TotalCount = params['TotalCount'] unless params['RIUtilizationDetailSet'].nil? @RIUtilizationDetailSet = [] params['RIUtilizationDetailSet'].each do |i| riutilizationdetail_tmp = RIUtilizationDetail.new riutilizationdetail_tmp.deserialize(i) @RIUtilizationDetailSet << riutilizationdetail_tmp end end @RequestId = params['RequestId'] end |