Class: TencentCloud::Ams::V20200608::DescribeAmsListRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ams::V20200608::DescribeAmsListRequest
- Defined in:
- lib/v20200608/models.rb
Overview
DescribeAmsList请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(pagetoken = nil, limit = nil, pagedirection = nil, filters = nil) ⇒ DescribeAmsListRequest
constructor
A new instance of DescribeAmsListRequest.
Constructor Details
#initialize(pagetoken = nil, limit = nil, pagedirection = nil, filters = nil) ⇒ DescribeAmsListRequest
Returns a new instance of DescribeAmsListRequest.
506 507 508 509 510 511 |
# File 'lib/v20200608/models.rb', line 506 def initialize(pagetoken=nil, limit=nil, pagedirection=nil, filters=nil) @PageToken = pagetoken @Limit = limit @PageDirection = pagedirection @Filters = filters end |
Instance Attribute Details
#Filters ⇒ Object
504 505 506 |
# File 'lib/v20200608/models.rb', line 504 def Filters @Filters end |
#Limit ⇒ Object
504 505 506 |
# File 'lib/v20200608/models.rb', line 504 def Limit @Limit end |
#PageDirection ⇒ Object
504 505 506 |
# File 'lib/v20200608/models.rb', line 504 def PageDirection @PageDirection end |
#PageToken ⇒ Object
504 505 506 |
# File 'lib/v20200608/models.rb', line 504 def PageToken @PageToken end |
Instance Method Details
#deserialize(params) ⇒ Object
513 514 515 516 517 518 519 520 521 522 523 524 525 |
# File 'lib/v20200608/models.rb', line 513 def deserialize(params) @PageToken = params['PageToken'] @Limit = params['Limit'] @PageDirection = params['PageDirection'] unless params['Filters'].nil? @Filters = [] params['Filters'].each do |i| filter_tmp = Filter.new filter_tmp.deserialize(i) @Filters << filter_tmp end end end |