Class: TencentCloud::Tke::V20180525::DescribeClusterLevelAttributeResponse

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

Overview

DescribeClusterLevelAttribute返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, items = nil, requestid = nil) ⇒ DescribeClusterLevelAttributeResponse

Returns a new instance of DescribeClusterLevelAttributeResponse.



6047
6048
6049
6050
6051
# File 'lib/v20180525/models.rb', line 6047

def initialize(totalcount=nil, items=nil, requestid=nil)
  @TotalCount = totalcount
  @Items = items
  @RequestId = requestid
end

Instance Attribute Details

#ItemsObject

Parameters:

  • TotalCount:

    总数

  • Items:

    集群规模

  • RequestId:

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



6045
6046
6047
# File 'lib/v20180525/models.rb', line 6045

def Items
  @Items
end

#RequestIdObject

Parameters:

  • TotalCount:

    总数

  • Items:

    集群规模

  • RequestId:

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



6045
6046
6047
# File 'lib/v20180525/models.rb', line 6045

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    总数

  • Items:

    集群规模

  • RequestId:

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



6045
6046
6047
# File 'lib/v20180525/models.rb', line 6045

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
# File 'lib/v20180525/models.rb', line 6053

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['Items'].nil?
    @Items = []
    params['Items'].each do |i|
      clusterlevelattribute_tmp = ClusterLevelAttribute.new
      clusterlevelattribute_tmp.deserialize(i)
      @Items << clusterlevelattribute_tmp
    end
  end
  @RequestId = params['RequestId']
end