Class: TencentCloud::Tke::V20180525::DescribeRIUtilizationDetailResponse

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

Overview

DescribeRIUtilizationDetail返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#RequestIdObject

Parameters:

  • TotalCount:

    总数。

  • RIUtilizationDetailSet:

    详情。

  • RequestId:

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



9730
9731
9732
# File 'lib/v20180525/models.rb', line 9730

def RequestId
  @RequestId
end

#RIUtilizationDetailSetObject

Parameters:

  • TotalCount:

    总数。

  • RIUtilizationDetailSet:

    详情。

  • RequestId:

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



9730
9731
9732
# File 'lib/v20180525/models.rb', line 9730

def RIUtilizationDetailSet
  @RIUtilizationDetailSet
end

#TotalCountObject

Parameters:

  • TotalCount:

    总数。

  • RIUtilizationDetailSet:

    详情。

  • RequestId:

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



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