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.
9732 9733 9734 9735 9736 |
# File 'lib/v20180525/models.rb', line 9732 def initialize(totalcount=nil, riutilizationdetailset=nil, requestid=nil) @TotalCount = totalcount @RIUtilizationDetailSet = riutilizationdetailset @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
9730 9731 9732 |
# File 'lib/v20180525/models.rb', line 9730 def RequestId @RequestId end |
#RIUtilizationDetailSet ⇒ Object
9730 9731 9732 |
# File 'lib/v20180525/models.rb', line 9730 def RIUtilizationDetailSet @RIUtilizationDetailSet end |
#TotalCount ⇒ Object
9730 9731 9732 |
# File 'lib/v20180525/models.rb', line 9730 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
9738 9739 9740 9741 9742 9743 9744 9745 9746 9747 9748 9749 |
# File 'lib/v20180525/models.rb', line 9738 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 |