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.



706
707
708
709
# File 'lib/v20170312/models.rb', line 706

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

Instance Attribute Details

#HpcClusterSetObject

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

Parameters:

  • HpcClusterSet:

    高性能计算集群信息。

  • RequestId:

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



704
705
706
# File 'lib/v20170312/models.rb', line 704

def HpcClusterSet
  @HpcClusterSet
end

#RequestIdObject

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

Parameters:

  • HpcClusterSet:

    高性能计算集群信息。

  • RequestId:

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



704
705
706
# File 'lib/v20170312/models.rb', line 704

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



711
712
713
714
715
716
717
718
719
720
721
# File 'lib/v20170312/models.rb', line 711

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