Class: TencentCloud::Lighthouse::V20200324::DescribeInstancesDiskNumResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Lighthouse::V20200324::DescribeInstancesDiskNumResponse
- Defined in:
- lib/v20200324/models.rb
Overview
DescribeInstancesDiskNum返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(attachdetailset = nil, totalcount = nil, requestid = nil) ⇒ DescribeInstancesDiskNumResponse
constructor
A new instance of DescribeInstancesDiskNumResponse.
Constructor Details
#initialize(attachdetailset = nil, totalcount = nil, requestid = nil) ⇒ DescribeInstancesDiskNumResponse
Returns a new instance of DescribeInstancesDiskNumResponse.
3299 3300 3301 3302 3303 |
# File 'lib/v20200324/models.rb', line 3299 def initialize(attachdetailset=nil, totalcount=nil, requestid=nil) @AttachDetailSet = attachdetailset @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#AttachDetailSet ⇒ Object
3297 3298 3299 |
# File 'lib/v20200324/models.rb', line 3297 def AttachDetailSet @AttachDetailSet end |
#RequestId ⇒ Object
3297 3298 3299 |
# File 'lib/v20200324/models.rb', line 3297 def RequestId @RequestId end |
#TotalCount ⇒ Object
3297 3298 3299 |
# File 'lib/v20200324/models.rb', line 3297 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 |
# File 'lib/v20200324/models.rb', line 3305 def deserialize(params) unless params['AttachDetailSet'].nil? @AttachDetailSet = [] params['AttachDetailSet'].each do |i| attachdetail_tmp = AttachDetail.new attachdetail_tmp.deserialize(i) @AttachDetailSet << attachdetail_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |