Class: TencentCloud::Tke::V20180525::DescribeClusterStatusResponse

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

Overview

DescribeClusterStatus返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clusterstatusset = nil, totalcount = nil, requestid = nil) ⇒ DescribeClusterStatusResponse

Returns a new instance of DescribeClusterStatusResponse.



6710
6711
6712
6713
6714
# File 'lib/v20180525/models.rb', line 6710

def initialize(clusterstatusset=nil, totalcount=nil, requestid=nil)
  @ClusterStatusSet = clusterstatusset
  @TotalCount = totalcount
  @RequestId = requestid
end

Instance Attribute Details

#ClusterStatusSetObject

Parameters:

  • ClusterStatusSet:

    集群状态列表

  • TotalCount:

    集群个数

  • RequestId:

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



6708
6709
6710
# File 'lib/v20180525/models.rb', line 6708

def ClusterStatusSet
  @ClusterStatusSet
end

#RequestIdObject

Parameters:

  • ClusterStatusSet:

    集群状态列表

  • TotalCount:

    集群个数

  • RequestId:

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



6708
6709
6710
# File 'lib/v20180525/models.rb', line 6708

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • ClusterStatusSet:

    集群状态列表

  • TotalCount:

    集群个数

  • RequestId:

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



6708
6709
6710
# File 'lib/v20180525/models.rb', line 6708

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
# File 'lib/v20180525/models.rb', line 6716

def deserialize(params)
  unless params['ClusterStatusSet'].nil?
    @ClusterStatusSet = []
    params['ClusterStatusSet'].each do |i|
      clusterstatus_tmp = ClusterStatus.new
      clusterstatus_tmp.deserialize(i)
      @ClusterStatusSet << clusterstatus_tmp
    end
  end
  @TotalCount = params['TotalCount']
  @RequestId = params['RequestId']
end