Class: TencentCloud::Emr::V20190103::DescribeServiceNodeInfosResponse

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

Overview

DescribeServiceNodeInfos返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcnt = nil, servicenodelist = nil, aliasinfo = nil, supportnodeflagfilterlist = nil, requestid = nil) ⇒ DescribeServiceNodeInfosResponse

Returns a new instance of DescribeServiceNodeInfosResponse.



5497
5498
5499
5500
5501
5502
5503
# File 'lib/v20190103/models.rb', line 5497

def initialize(totalcnt=nil, servicenodelist=nil, aliasinfo=nil, supportnodeflagfilterlist=nil, requestid=nil)
  @TotalCnt = totalcnt
  @ServiceNodeList = servicenodelist
  @AliasInfo = aliasinfo
  @SupportNodeFlagFilterList = supportnodeflagfilterlist
  @RequestId = requestid
end

Instance Attribute Details

#AliasInfoObject

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

Parameters:

  • TotalCnt:

    总数量

  • ServiceNodeList:

    进程信息

  • AliasInfo:

    集群所有节点的别名序列化

  • SupportNodeFlagFilterList:

    支持的FlagNode列表

  • RequestId:

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



5495
5496
5497
# File 'lib/v20190103/models.rb', line 5495

def AliasInfo
  @AliasInfo
end

#RequestIdObject

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

Parameters:

  • TotalCnt:

    总数量

  • ServiceNodeList:

    进程信息

  • AliasInfo:

    集群所有节点的别名序列化

  • SupportNodeFlagFilterList:

    支持的FlagNode列表

  • RequestId:

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



5495
5496
5497
# File 'lib/v20190103/models.rb', line 5495

def RequestId
  @RequestId
end

#ServiceNodeListObject

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

Parameters:

  • TotalCnt:

    总数量

  • ServiceNodeList:

    进程信息

  • AliasInfo:

    集群所有节点的别名序列化

  • SupportNodeFlagFilterList:

    支持的FlagNode列表

  • RequestId:

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



5495
5496
5497
# File 'lib/v20190103/models.rb', line 5495

def ServiceNodeList
  @ServiceNodeList
end

#SupportNodeFlagFilterListObject

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

Parameters:

  • TotalCnt:

    总数量

  • ServiceNodeList:

    进程信息

  • AliasInfo:

    集群所有节点的别名序列化

  • SupportNodeFlagFilterList:

    支持的FlagNode列表

  • RequestId:

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



5495
5496
5497
# File 'lib/v20190103/models.rb', line 5495

def SupportNodeFlagFilterList
  @SupportNodeFlagFilterList
end

#TotalCntObject

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

Parameters:

  • TotalCnt:

    总数量

  • ServiceNodeList:

    进程信息

  • AliasInfo:

    集群所有节点的别名序列化

  • SupportNodeFlagFilterList:

    支持的FlagNode列表

  • RequestId:

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



5495
5496
5497
# File 'lib/v20190103/models.rb', line 5495

def TotalCnt
  @TotalCnt
end

Instance Method Details

#deserialize(params) ⇒ Object



5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
# File 'lib/v20190103/models.rb', line 5505

def deserialize(params)
  @TotalCnt = params['TotalCnt']
  unless params['ServiceNodeList'].nil?
    @ServiceNodeList = []
    params['ServiceNodeList'].each do |i|
      servicenodedetailinfo_tmp = ServiceNodeDetailInfo.new
      servicenodedetailinfo_tmp.deserialize(i)
      @ServiceNodeList << servicenodedetailinfo_tmp
    end
  end
  @AliasInfo = params['AliasInfo']
  @SupportNodeFlagFilterList = params['SupportNodeFlagFilterList']
  @RequestId = params['RequestId']
end