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.
3537 3538 3539 3540 3541 |
# File 'lib/v20170312/models.rb', line 3537 def initialize(type=nil, minsize=nil, maxsize=nil) @Type = type @MinSize = minsize @MaxSize = maxsize end |
Instance Attribute Details
#MaxSize ⇒ Object
3535 3536 3537 |
# File 'lib/v20170312/models.rb', line 3535 def MaxSize @MaxSize end |
#MinSize ⇒ Object
3535 3536 3537 |
# File 'lib/v20170312/models.rb', line 3535 def MinSize @MinSize end |
#Type ⇒ Object
3535 3536 3537 |
# File 'lib/v20170312/models.rb', line 3535 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
3543 3544 3545 3546 3547 |
# File 'lib/v20170312/models.rb', line 3543 def deserialize(params) @Type = params['Type'] @MinSize = params['MinSize'] @MaxSize = params['MaxSize'] end |