Class: TencentCloud::Bm::V20180423::PartitionInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Bm::V20180423::PartitionInfo
- Defined in:
- lib/v20180423/models.rb
Overview
描述设备分区信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, size = nil) ⇒ PartitionInfo
constructor
A new instance of PartitionInfo.
Constructor Details
#initialize(name = nil, size = nil) ⇒ PartitionInfo
Returns a new instance of PartitionInfo.
3239 3240 3241 3242 |
# File 'lib/v20180423/models.rb', line 3239 def initialize(name=nil, size=nil) @Name = name @Size = size end |
Instance Attribute Details
#Name ⇒ Object
3237 3238 3239 |
# File 'lib/v20180423/models.rb', line 3237 def Name @Name end |
#Size ⇒ Object
3237 3238 3239 |
# File 'lib/v20180423/models.rb', line 3237 def Size @Size end |
Instance Method Details
#deserialize(params) ⇒ Object
3244 3245 3246 3247 |
# File 'lib/v20180423/models.rb', line 3244 def deserialize(params) @Name = params['Name'] @Size = params['Size'] end |