Class: TencentCloud::Iecp::V20210914::DescribeEdgeUnitNodeGroupResponse

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

Overview

DescribeEdgeUnitNodeGroup返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(total = nil, nodegroupinfo = nil, requestid = nil) ⇒ DescribeEdgeUnitNodeGroupResponse

Returns a new instance of DescribeEdgeUnitNodeGroupResponse.



2958
2959
2960
2961
2962
# File 'lib/v20210914/models.rb', line 2958

def initialize(total=nil, nodegroupinfo=nil, requestid=nil)
  @Total = total
  @NodeGroupInfo = nodegroupinfo
  @RequestId = requestid
end

Instance Attribute Details

#NodeGroupInfoObject

Parameters:

  • Total:

    记录总数

  • NodeGroupInfo:

    NodeGroup数组

  • RequestId:

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



2956
2957
2958
# File 'lib/v20210914/models.rb', line 2956

def NodeGroupInfo
  @NodeGroupInfo
end

#RequestIdObject

Parameters:

  • Total:

    记录总数

  • NodeGroupInfo:

    NodeGroup数组

  • RequestId:

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



2956
2957
2958
# File 'lib/v20210914/models.rb', line 2956

def RequestId
  @RequestId
end

#TotalObject

Parameters:

  • Total:

    记录总数

  • NodeGroupInfo:

    NodeGroup数组

  • RequestId:

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



2956
2957
2958
# File 'lib/v20210914/models.rb', line 2956

def Total
  @Total
end

Instance Method Details

#deserialize(params) ⇒ Object



2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
# File 'lib/v20210914/models.rb', line 2964

def deserialize(params)
  @Total = params['Total']
  unless params['NodeGroupInfo'].nil?
    @NodeGroupInfo = []
    params['NodeGroupInfo'].each do |i|
      nodegroupinfo_tmp = NodeGroupInfo.new
      nodegroupinfo_tmp.deserialize(i)
      @NodeGroupInfo << nodegroupinfo_tmp
    end
  end
  @RequestId = params['RequestId']
end