Class: TencentCloud::Bm::V20180423::DiskInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Bm::V20180423::DiskInfo
- Defined in:
- lib/v20180423/models.rb
Overview
自定义机型磁盘的描述
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(disktypeid = nil, size = nil, diskdescription = nil) ⇒ DiskInfo
constructor
A new instance of DiskInfo.
Constructor Details
#initialize(disktypeid = nil, size = nil, diskdescription = nil) ⇒ DiskInfo
Returns a new instance of DiskInfo.
2792 2793 2794 2795 2796 |
# File 'lib/v20180423/models.rb', line 2792 def initialize(disktypeid=nil, size=nil, diskdescription=nil) @DiskTypeId = disktypeid @Size = size @DiskDescription = diskdescription end |
Instance Attribute Details
#DiskDescription ⇒ Object
2790 2791 2792 |
# File 'lib/v20180423/models.rb', line 2790 def DiskDescription @DiskDescription end |
#DiskTypeId ⇒ Object
2790 2791 2792 |
# File 'lib/v20180423/models.rb', line 2790 def DiskTypeId @DiskTypeId end |
#Size ⇒ Object
2790 2791 2792 |
# File 'lib/v20180423/models.rb', line 2790 def Size @Size end |
Instance Method Details
#deserialize(params) ⇒ Object
2798 2799 2800 2801 2802 |
# File 'lib/v20180423/models.rb', line 2798 def deserialize(params) @DiskTypeId = params['DiskTypeId'] @Size = params['Size'] @DiskDescription = params['DiskDescription'] end |