Class: TencentCloud::Thpc::V20230321::AddClusterStorageOptionRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Thpc::V20230321::AddClusterStorageOptionRequest
- Defined in:
- lib/v20230321/models.rb
Overview
AddClusterStorageOption请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusterid = nil, storageoption = nil) ⇒ AddClusterStorageOptionRequest
constructor
A new instance of AddClusterStorageOptionRequest.
Constructor Details
#initialize(clusterid = nil, storageoption = nil) ⇒ AddClusterStorageOptionRequest
Returns a new instance of AddClusterStorageOptionRequest.
29 30 31 32 |
# File 'lib/v20230321/models.rb', line 29 def initialize(clusterid=nil, storageoption=nil) @ClusterId = clusterid @StorageOption = storageoption end |
Instance Attribute Details
#ClusterId ⇒ Object
27 28 29 |
# File 'lib/v20230321/models.rb', line 27 def ClusterId @ClusterId end |
#StorageOption ⇒ Object
27 28 29 |
# File 'lib/v20230321/models.rb', line 27 def StorageOption @StorageOption end |
Instance Method Details
#deserialize(params) ⇒ Object
34 35 36 37 38 39 40 |
# File 'lib/v20230321/models.rb', line 34 def deserialize(params) @ClusterId = params['ClusterId'] unless params['StorageOption'].nil? @StorageOption = StorageOption.new @StorageOption.deserialize(params['StorageOption']) end end |