Class: TencentCloud::Cvm::V20170312::StorageBlock
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cvm::V20170312::StorageBlock
- Defined in:
- lib/v20170312/models.rb
Overview
HDD的本地存储信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(type = nil, minsize = nil, maxsize = nil) ⇒ StorageBlock
constructor
A new instance of StorageBlock.
Constructor Details
#initialize(type = nil, minsize = nil, maxsize = nil) ⇒ StorageBlock
Returns a new instance of StorageBlock.
8411 8412 8413 8414 8415 |
# File 'lib/v20170312/models.rb', line 8411 def initialize(type=nil, minsize=nil, maxsize=nil) @Type = type @MinSize = minsize @MaxSize = maxsize end |
Instance Attribute Details
#MaxSize ⇒ Object
8409 8410 8411 |
# File 'lib/v20170312/models.rb', line 8409 def MaxSize @MaxSize end |
#MinSize ⇒ Object
8409 8410 8411 |
# File 'lib/v20170312/models.rb', line 8409 def MinSize @MinSize end |
#Type ⇒ Object
8409 8410 8411 |
# File 'lib/v20170312/models.rb', line 8409 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
8417 8418 8419 8420 8421 |
# File 'lib/v20170312/models.rb', line 8417 def deserialize(params) @Type = params['Type'] @MinSize = params['MinSize'] @MaxSize = params['MaxSize'] end |