Class: TencentCloud::Tke::V20180525::DescribeClusterInstancesResponse

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

Overview

DescribeClusterInstances返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, instanceset = nil, requestid = nil) ⇒ DescribeClusterInstancesResponse

Returns a new instance of DescribeClusterInstancesResponse.



5960
5961
5962
5963
5964
# File 'lib/v20180525/models.rb', line 5960

def initialize(totalcount=nil, instanceset=nil, requestid=nil)
  @TotalCount = totalcount
  @InstanceSet = instanceset
  @RequestId = requestid
end

Instance Attribute Details

#InstanceSetObject

Parameters:

  • TotalCount:

    集群中实例总数

  • InstanceSet:

    集群中实例列表

  • RequestId:

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



5958
5959
5960
# File 'lib/v20180525/models.rb', line 5958

def InstanceSet
  @InstanceSet
end

#RequestIdObject

Parameters:

  • TotalCount:

    集群中实例总数

  • InstanceSet:

    集群中实例列表

  • RequestId:

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



5958
5959
5960
# File 'lib/v20180525/models.rb', line 5958

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    集群中实例总数

  • InstanceSet:

    集群中实例列表

  • RequestId:

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



5958
5959
5960
# File 'lib/v20180525/models.rb', line 5958

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
# File 'lib/v20180525/models.rb', line 5966

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['InstanceSet'].nil?
    @InstanceSet = []
    params['InstanceSet'].each do |i|
      instance_tmp = Instance.new
      instance_tmp.deserialize(i)
      @InstanceSet << instance_tmp
    end
  end
  @RequestId = params['RequestId']
end