Class: TencentCloud::Cbs::V20170312::DescribeInstancesDiskNumResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cbs::V20170312::DescribeInstancesDiskNumResponse
- Defined in:
- lib/v20170312/models.rb
Overview
DescribeInstancesDiskNum返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(attachdetail = nil, requestid = nil) ⇒ DescribeInstancesDiskNumResponse
constructor
A new instance of DescribeInstancesDiskNumResponse.
Constructor Details
#initialize(attachdetail = nil, requestid = nil) ⇒ DescribeInstancesDiskNumResponse
Returns a new instance of DescribeInstancesDiskNumResponse.
1557 1558 1559 1560 |
# File 'lib/v20170312/models.rb', line 1557 def initialize(attachdetail=nil, requestid=nil) @AttachDetail = attachdetail @RequestId = requestid end |
Instance Attribute Details
#AttachDetail ⇒ Object
1555 1556 1557 |
# File 'lib/v20170312/models.rb', line 1555 def AttachDetail @AttachDetail end |
#RequestId ⇒ Object
1555 1556 1557 |
# File 'lib/v20170312/models.rb', line 1555 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 |
# File 'lib/v20170312/models.rb', line 1562 def deserialize(params) unless params['AttachDetail'].nil? @AttachDetail = [] params['AttachDetail'].each do |i| attachdetail_tmp = AttachDetail.new attachdetail_tmp.deserialize(i) @AttachDetail << attachdetail_tmp end end @RequestId = params['RequestId'] end |