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.
11744 11745 11746 11747 11748 |
# File 'lib/v20201207/models.rb', line 11744 def initialize(name=nil, type=nil, capacity=nil) @Name = name @Type = type @Capacity = capacity end |
Instance Attribute Details
#Capacity ⇒ Object
11742 11743 11744 |
# File 'lib/v20201207/models.rb', line 11742 def Capacity @Capacity end |
#Name ⇒ Object
11742 11743 11744 |
# File 'lib/v20201207/models.rb', line 11742 def Name @Name end |
#Type ⇒ Object
11742 11743 11744 |
# File 'lib/v20201207/models.rb', line 11742 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
11750 11751 11752 11753 11754 |
# File 'lib/v20201207/models.rb', line 11750 def deserialize(params) @Name = params['Name'] @Type = params['Type'] @Capacity = params['Capacity'] end |