Class: TencentCloud::Lighthouse::V20200324::AttachDetail
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Lighthouse::V20200324::AttachDetail
- Defined in:
- lib/v20200324/models.rb
Overview
挂载信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, attacheddiskcount = nil, maxattachcount = nil) ⇒ AttachDetail
constructor
A new instance of AttachDetail.
Constructor Details
#initialize(instanceid = nil, attacheddiskcount = nil, maxattachcount = nil) ⇒ AttachDetail
Returns a new instance of AttachDetail.
218 219 220 221 222 |
# File 'lib/v20200324/models.rb', line 218 def initialize(instanceid=nil, attacheddiskcount=nil, maxattachcount=nil) @InstanceId = instanceid @AttachedDiskCount = attacheddiskcount @MaxAttachCount = maxattachcount end |
Instance Attribute Details
#AttachedDiskCount ⇒ Object
216 217 218 |
# File 'lib/v20200324/models.rb', line 216 def AttachedDiskCount @AttachedDiskCount end |
#InstanceId ⇒ Object
216 217 218 |
# File 'lib/v20200324/models.rb', line 216 def InstanceId @InstanceId end |
#MaxAttachCount ⇒ Object
216 217 218 |
# File 'lib/v20200324/models.rb', line 216 def MaxAttachCount @MaxAttachCount end |
Instance Method Details
#deserialize(params) ⇒ Object
224 225 226 227 228 |
# File 'lib/v20200324/models.rb', line 224 def deserialize(params) @InstanceId = params['InstanceId'] @AttachedDiskCount = params['AttachedDiskCount'] @MaxAttachCount = params['MaxAttachCount'] end |