Class: TencentCloud::Thpc::V20220401::DescribeClusterStorageOptionResponse

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

Overview

DescribeClusterStorageOption返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(storageoption = nil, requestid = nil) ⇒ DescribeClusterStorageOptionResponse

Returns a new instance of DescribeClusterStorageOptionResponse.



1032
1033
1034
1035
# File 'lib/v20220401/models.rb', line 1032

def initialize(storageoption=nil, requestid=nil)
  @StorageOption = storageoption
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

Parameters:

  • StorageOption:

    集群存储选项信息概览。

  • RequestId:

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



1030
1031
1032
# File 'lib/v20220401/models.rb', line 1030

def RequestId
  @RequestId
end

#StorageOptionObject

Parameters:

  • StorageOption:

    集群存储选项信息概览。

  • RequestId:

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



1030
1031
1032
# File 'lib/v20220401/models.rb', line 1030

def StorageOption
  @StorageOption
end

Instance Method Details

#deserialize(params) ⇒ Object



1037
1038
1039
1040
1041
1042
1043
# File 'lib/v20220401/models.rb', line 1037

def deserialize(params)
  unless params['StorageOption'].nil?
    @StorageOption = StorageOptionOverview.new
    @StorageOption.deserialize(params['StorageOption'])
  end
  @RequestId = params['RequestId']
end