Class: TencentCloud::Cvm::V20170312::LocalDiskType
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cvm::V20170312::LocalDiskType
- Defined in:
- lib/v20170312/models.rb
Overview
本地磁盘规格
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(type = nil, partitiontype = nil, minsize = nil, maxsize = nil, required = nil) ⇒ LocalDiskType
constructor
A new instance of LocalDiskType.
Constructor Details
#initialize(type = nil, partitiontype = nil, minsize = nil, maxsize = nil, required = nil) ⇒ LocalDiskType
Returns a new instance of LocalDiskType.
6107 6108 6109 6110 6111 6112 6113 |
# File 'lib/v20170312/models.rb', line 6107 def initialize(type=nil, partitiontype=nil, minsize=nil, maxsize=nil, required=nil) @Type = type @PartitionType = partitiontype @MinSize = minsize @MaxSize = maxsize @Required = required end |
Instance Attribute Details
#MaxSize ⇒ Object
6105 6106 6107 |
# File 'lib/v20170312/models.rb', line 6105 def MaxSize @MaxSize end |
#MinSize ⇒ Object
6105 6106 6107 |
# File 'lib/v20170312/models.rb', line 6105 def MinSize @MinSize end |
#PartitionType ⇒ Object
6105 6106 6107 |
# File 'lib/v20170312/models.rb', line 6105 def PartitionType @PartitionType end |
#Required ⇒ Object
6105 6106 6107 |
# File 'lib/v20170312/models.rb', line 6105 def Required @Required end |
#Type ⇒ Object
6105 6106 6107 |
# File 'lib/v20170312/models.rb', line 6105 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
6115 6116 6117 6118 6119 6120 6121 |
# File 'lib/v20170312/models.rb', line 6115 def deserialize(params) @Type = params['Type'] @PartitionType = params['PartitionType'] @MinSize = params['MinSize'] @MaxSize = params['MaxSize'] @Required = params['Required'] end |