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.
1512 1513 1514 1515 |
# File 'lib/v20170312/models.rb', line 1512 def initialize(attachdetail=nil, requestid=nil) @AttachDetail = attachdetail @RequestId = requestid end |
Instance Attribute Details
#AttachDetail ⇒ Object
1510 1511 1512 |
# File 'lib/v20170312/models.rb', line 1510 def AttachDetail @AttachDetail end |
#RequestId ⇒ Object
1510 1511 1512 |
# File 'lib/v20170312/models.rb', line 1510 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 |
# File 'lib/v20170312/models.rb', line 1517 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 |