Class: TencentCloud::Iecp::V20210914::DescribeNodeUnitTemplateOnNodeGroupResponse

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

Overview

DescribeNodeUnitTemplateOnNodeGroup返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(total = nil, nodeunittemplates = nil, requestid = nil) ⇒ DescribeNodeUnitTemplateOnNodeGroupResponse

Returns a new instance of DescribeNodeUnitTemplateOnNodeGroupResponse.



3714
3715
3716
3717
3718
# File 'lib/v20210914/models.rb', line 3714

def initialize(total=nil, nodeunittemplates=nil, requestid=nil)
  @Total = total
  @NodeUnitTemplates = nodeunittemplates
  @RequestId = requestid
end

Instance Attribute Details

#NodeUnitTemplatesObject

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

Parameters:

  • Total:

    记录总数

  • NodeUnitTemplates:

    NodeUnit模板

  • RequestId:

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



3712
3713
3714
# File 'lib/v20210914/models.rb', line 3712

def NodeUnitTemplates
  @NodeUnitTemplates
end

#RequestIdObject

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

Parameters:

  • Total:

    记录总数

  • NodeUnitTemplates:

    NodeUnit模板

  • RequestId:

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



3712
3713
3714
# File 'lib/v20210914/models.rb', line 3712

def RequestId
  @RequestId
end

#TotalObject

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

Parameters:

  • Total:

    记录总数

  • NodeUnitTemplates:

    NodeUnit模板

  • RequestId:

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



3712
3713
3714
# File 'lib/v20210914/models.rb', line 3712

def Total
  @Total
end

Instance Method Details

#deserialize(params) ⇒ Object



3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
# File 'lib/v20210914/models.rb', line 3720

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