Class: TencentCloud::Cdwch::V20200915::DescribeInstanceNodesResponse

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

Overview

DescribeInstanceNodes返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, instancenodeslist = nil, requestid = nil) ⇒ DescribeInstanceNodesResponse

Returns a new instance of DescribeInstanceNodesResponse.



1326
1327
1328
1329
1330
# File 'lib/v20200915/models.rb', line 1326

def initialize(totalcount=nil, instancenodeslist=nil, requestid=nil)
  @TotalCount = totalcount
  @InstanceNodesList = instancenodeslist
  @RequestId = requestid
end

Instance Attribute Details

#InstanceNodesListObject

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

Parameters:

  • TotalCount:

    总数

  • InstanceNodesList:

    实例节点总数

  • RequestId:

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



1324
1325
1326
# File 'lib/v20200915/models.rb', line 1324

def InstanceNodesList
  @InstanceNodesList
end

#RequestIdObject

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

Parameters:

  • TotalCount:

    总数

  • InstanceNodesList:

    实例节点总数

  • RequestId:

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



1324
1325
1326
# File 'lib/v20200915/models.rb', line 1324

def RequestId
  @RequestId
end

#TotalCountObject

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

Parameters:

  • TotalCount:

    总数

  • InstanceNodesList:

    实例节点总数

  • RequestId:

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



1324
1325
1326
# File 'lib/v20200915/models.rb', line 1324

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
# File 'lib/v20200915/models.rb', line 1332

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['InstanceNodesList'].nil?
    @InstanceNodesList = []
    params['InstanceNodesList'].each do |i|
      instancenode_tmp = InstanceNode.new
      instancenode_tmp.deserialize(i)
      @InstanceNodesList << instancenode_tmp
    end
  end
  @RequestId = params['RequestId']
end