Class: TencentCloud::Ams::V20200608::DescribeAmsListResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ams::V20200608::DescribeAmsListResponse
- Defined in:
- lib/v20200608/models.rb
Overview
DescribeAmsList返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(amsdetailset = nil, total = nil, pagetoken = nil, requestid = nil) ⇒ DescribeAmsListResponse
constructor
A new instance of DescribeAmsListResponse.
Constructor Details
#initialize(amsdetailset = nil, total = nil, pagetoken = nil, requestid = nil) ⇒ DescribeAmsListResponse
Returns a new instance of DescribeAmsListResponse.
541 542 543 544 545 546 |
# File 'lib/v20200608/models.rb', line 541 def initialize(amsdetailset=nil, total=nil, pagetoken=nil, requestid=nil) @AmsDetailSet = amsdetailset @Total = total @PageToken = pagetoken @RequestId = requestid end |
Instance Attribute Details
#AmsDetailSet ⇒ Object
539 540 541 |
# File 'lib/v20200608/models.rb', line 539 def AmsDetailSet @AmsDetailSet end |
#PageToken ⇒ Object
539 540 541 |
# File 'lib/v20200608/models.rb', line 539 def PageToken @PageToken end |
#RequestId ⇒ Object
539 540 541 |
# File 'lib/v20200608/models.rb', line 539 def RequestId @RequestId end |
#Total ⇒ Object
539 540 541 |
# File 'lib/v20200608/models.rb', line 539 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
548 549 550 551 552 553 554 555 556 557 558 559 560 |
# File 'lib/v20200608/models.rb', line 548 def deserialize(params) unless params['AmsDetailSet'].nil? @AmsDetailSet = [] params['AmsDetailSet'].each do |i| amsdetailinfo_tmp = AmsDetailInfo.new amsdetailinfo_tmp.deserialize(i) @AmsDetailSet << amsdetailinfo_tmp end end @Total = params['Total'] @PageToken = params['PageToken'] @RequestId = params['RequestId'] end |