Class: TencentCloud::Tke::V20180525::DescribeReservedInstanceUtilizationRateResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::DescribeReservedInstanceUtilizationRateResponse
- Defined in:
- lib/v20180525/models.rb
Overview
DescribeReservedInstanceUtilizationRate返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(utilizationrateset = nil, podnum = nil, podrate = nil, requestid = nil) ⇒ DescribeReservedInstanceUtilizationRateResponse
constructor
A new instance of DescribeReservedInstanceUtilizationRateResponse.
Constructor Details
#initialize(utilizationrateset = nil, podnum = nil, podrate = nil, requestid = nil) ⇒ DescribeReservedInstanceUtilizationRateResponse
Returns a new instance of DescribeReservedInstanceUtilizationRateResponse.
9833 9834 9835 9836 9837 9838 |
# File 'lib/v20180525/models.rb', line 9833 def initialize(utilizationrateset=nil, podnum=nil, podrate=nil, requestid=nil) @UtilizationRateSet = utilizationrateset @PodNum = podnum @PodRate = podrate @RequestId = requestid end |
Instance Attribute Details
#PodNum ⇒ Object
9831 9832 9833 |
# File 'lib/v20180525/models.rb', line 9831 def PodNum @PodNum end |
#PodRate ⇒ Object
9831 9832 9833 |
# File 'lib/v20180525/models.rb', line 9831 def PodRate @PodRate end |
#RequestId ⇒ Object
9831 9832 9833 |
# File 'lib/v20180525/models.rb', line 9831 def RequestId @RequestId end |
#UtilizationRateSet ⇒ Object
9831 9832 9833 |
# File 'lib/v20180525/models.rb', line 9831 def UtilizationRateSet @UtilizationRateSet end |
Instance Method Details
#deserialize(params) ⇒ Object
9840 9841 9842 9843 9844 9845 9846 9847 9848 9849 9850 9851 9852 |
# File 'lib/v20180525/models.rb', line 9840 def deserialize(params) unless params['UtilizationRateSet'].nil? @UtilizationRateSet = [] params['UtilizationRateSet'].each do |i| reservedinstanceutilizationrate_tmp = ReservedInstanceUtilizationRate.new reservedinstanceutilizationrate_tmp.deserialize(i) @UtilizationRateSet << reservedinstanceutilizationrate_tmp end end @PodNum = params['PodNum'] @PodRate = params['PodRate'] @RequestId = params['RequestId'] end |