Class: TencentCloud::Cvm::V20170312::CreateHpcClusterResponse

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

Overview

CreateHpcCluster返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(hpcclusterset = nil, requestid = nil) ⇒ CreateHpcClusterResponse

Returns a new instance of CreateHpcClusterResponse.



913
914
915
916
# File 'lib/v20170312/models.rb', line 913

def initialize(hpcclusterset=nil, requestid=nil)
  @HpcClusterSet = hpcclusterset
  @RequestId = requestid
end

Instance Attribute Details

#HpcClusterSet ⇒ Object

Parameters:

  • HpcClusterSet: —

    高性能计算集群信息。

  • RequestId: —

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



911
912
913
# File 'lib/v20170312/models.rb', line 911

def HpcClusterSet
  @HpcClusterSet
end

#RequestId ⇒ Object

Parameters:

  • HpcClusterSet: —

    高性能计算集群信息。

  • RequestId: —

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



911
912
913
# File 'lib/v20170312/models.rb', line 911

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



918
919
920
921
922
923
924
925
926
927
928
# File 'lib/v20170312/models.rb', line 918

def deserialize(params)
  unless params['HpcClusterSet'].nil?
    @HpcClusterSet = []
    params['HpcClusterSet'].each do |i|
      hpcclusterinfo_tmp = HpcClusterInfo.new
      hpcclusterinfo_tmp.deserialize(i)
      @HpcClusterSet << hpcclusterinfo_tmp
    end
  end
  @RequestId = params['RequestId']
end