Class: TencentCloud::Thpc::V20230321::DescribeClusterStorageOptionResponse

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20230321/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.



1224
1225
1226
1227
# File 'lib/v20230321/models.rb', line 1224

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

Instance Attribute Details

#RequestIdObject

Parameters:

  • StorageOption:

    集群存储选项信息概览。

  • RequestId:

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



1222
1223
1224
# File 'lib/v20230321/models.rb', line 1222

def RequestId
  @RequestId
end

#StorageOptionObject

Parameters:

  • StorageOption:

    集群存储选项信息概览。

  • RequestId:

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



1222
1223
1224
# File 'lib/v20230321/models.rb', line 1222

def StorageOption
  @StorageOption
end

Instance Method Details

#deserialize(params) ⇒ Object



1229
1230
1231
1232
1233
1234
1235
# File 'lib/v20230321/models.rb', line 1229

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