Class: TencentCloud::Cbs::V20170312::DescribeInstancesDiskNumResponse

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20170312/models.rb

Overview

DescribeInstancesDiskNum返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attachdetail = nil, requestid = nil) ⇒ 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

#AttachDetailObject



1510
1511
1512
# File 'lib/v20170312/models.rb', line 1510

def AttachDetail
  @AttachDetail
end

#RequestIdObject



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