Class: TencentCloud::Tse::V20201207::StorageOption
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tse::V20201207::StorageOption
- Defined in:
- lib/v20201207/models.rb
Overview
存储的额外选项
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, type = nil, capacity = nil) ⇒ StorageOption
constructor
A new instance of StorageOption.
Constructor Details
#initialize(name = nil, type = nil, capacity = nil) ⇒ StorageOption
Returns a new instance of StorageOption.
11726 11727 11728 11729 11730 |
# File 'lib/v20201207/models.rb', line 11726 def initialize(name=nil, type=nil, capacity=nil) @Name = name @Type = type @Capacity = capacity end |
Instance Attribute Details
#Capacity ⇒ Object
11724 11725 11726 |
# File 'lib/v20201207/models.rb', line 11724 def Capacity @Capacity end |
#Name ⇒ Object
11724 11725 11726 |
# File 'lib/v20201207/models.rb', line 11724 def Name @Name end |
#Type ⇒ Object
11724 11725 11726 |
# File 'lib/v20201207/models.rb', line 11724 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
11732 11733 11734 11735 11736 |
# File 'lib/v20201207/models.rb', line 11732 def deserialize(params) @Name = params['Name'] @Type = params['Type'] @Capacity = params['Capacity'] end |