Class: TencentCloud::Batch::V20170312::LocalDiskType
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Batch::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
2976 2977 2978 2979 2980 2981 2982 |
# File 'lib/v20170312/models.rb', line 2976 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
2974 2975 2976 |
# File 'lib/v20170312/models.rb', line 2974 def MaxSize @MaxSize end |
#MinSize ⇒ Object
2974 2975 2976 |
# File 'lib/v20170312/models.rb', line 2974 def MinSize @MinSize end |
#PartitionType ⇒ Object
2974 2975 2976 |
# File 'lib/v20170312/models.rb', line 2974 def PartitionType @PartitionType end |
#Required ⇒ Object
2974 2975 2976 |
# File 'lib/v20170312/models.rb', line 2974 def Required @Required end |
#Type ⇒ Object
2974 2975 2976 |
# File 'lib/v20170312/models.rb', line 2974 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
2984 2985 2986 2987 2988 2989 2990 |
# File 'lib/v20170312/models.rb', line 2984 def deserialize(params) @Type = params['Type'] @PartitionType = params['PartitionType'] @MinSize = params['MinSize'] @MaxSize = params['MaxSize'] @Required = params['Required'] end |