Class: TencentCloud::Emr::V20190103::DescribeClusterNodesResponse

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

Overview

DescribeClusterNodes返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcnt = nil, nodelist = nil, tagkeys = nil, hardwareresourcetypelist = nil, requestid = nil) ⇒ DescribeClusterNodesResponse

Returns a new instance of DescribeClusterNodesResponse.



3257
3258
3259
3260
3261
3262
3263
# File 'lib/v20190103/models.rb', line 3257

def initialize(totalcnt=nil, nodelist=nil, tagkeys=nil, hardwareresourcetypelist=nil, requestid=nil)
  @TotalCnt = totalcnt
  @NodeList = nodelist
  @TagKeys = tagkeys
  @HardwareResourceTypeList = hardwareresourcetypelist
  @RequestId = requestid
end

Instance Attribute Details

#HardwareResourceTypeListObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • 查询到的节点总数

  • 节点详细信息列表

  • 用户所有的标签键列表

  • 资源类型列表

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



3255
3256
3257
# File 'lib/v20190103/models.rb', line 3255

def HardwareResourceTypeList
  @HardwareResourceTypeList
end

#NodeListObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • 查询到的节点总数

  • 节点详细信息列表

  • 用户所有的标签键列表

  • 资源类型列表

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



3255
3256
3257
# File 'lib/v20190103/models.rb', line 3255

def NodeList
  @NodeList
end

#RequestIdObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • 查询到的节点总数

  • 节点详细信息列表

  • 用户所有的标签键列表

  • 资源类型列表

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



3255
3256
3257
# File 'lib/v20190103/models.rb', line 3255

def RequestId
  @RequestId
end

#TagKeysObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • 查询到的节点总数

  • 节点详细信息列表

  • 用户所有的标签键列表

  • 资源类型列表

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



3255
3256
3257
# File 'lib/v20190103/models.rb', line 3255

def TagKeys
  @TagKeys
end

#TotalCntObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • 查询到的节点总数

  • 节点详细信息列表

  • 用户所有的标签键列表

  • 资源类型列表

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



3255
3256
3257
# File 'lib/v20190103/models.rb', line 3255

def TotalCnt
  @TotalCnt
end

Instance Method Details

#deserialize(params) ⇒ Object



3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
# File 'lib/v20190103/models.rb', line 3265

def deserialize(params)
  @TotalCnt = params['TotalCnt']
  unless params['NodeList'].nil?
    @NodeList = []
    params['NodeList'].each do |i|
      nodehardwareinfo_tmp = NodeHardwareInfo.new
      nodehardwareinfo_tmp.deserialize(i)
      @NodeList << nodehardwareinfo_tmp
    end
  end
  @TagKeys = params['TagKeys']
  @HardwareResourceTypeList = params['HardwareResourceTypeList']
  @RequestId = params['RequestId']
end