Class: TencentCloud::Batch::V20170312::StorageBlock
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Batch::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.
3541 3542 3543 3544 3545 |
# File 'lib/v20170312/models.rb', line 3541 def initialize(type=nil, minsize=nil, maxsize=nil) @Type = type @MinSize = minsize @MaxSize = maxsize end |
Instance Attribute Details
#MaxSize ⇒ Object
3539 3540 3541 |
# File 'lib/v20170312/models.rb', line 3539 def MaxSize @MaxSize end |
#MinSize ⇒ Object
3539 3540 3541 |
# File 'lib/v20170312/models.rb', line 3539 def MinSize @MinSize end |
#Type ⇒ Object
3539 3540 3541 |
# File 'lib/v20170312/models.rb', line 3539 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
3547 3548 3549 3550 3551 |
# File 'lib/v20170312/models.rb', line 3547 def deserialize(params) @Type = params['Type'] @MinSize = params['MinSize'] @MaxSize = params['MaxSize'] end |