Class: TencentCloud::Ams::V20200608::DescribeAmsListRequest

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

Overview

DescribeAmsList请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#FiltersObject

Parameters:

  • PageToken:

    页码

  • Limit:

    过滤条件

  • PageDirection:

    查询方向

  • Filters:

    过滤条件



504
505
506
# File 'lib/v20200608/models.rb', line 504

def Filters
  @Filters
end

#LimitObject

Parameters:

  • PageToken:

    页码

  • Limit:

    过滤条件

  • PageDirection:

    查询方向

  • Filters:

    过滤条件



504
505
506
# File 'lib/v20200608/models.rb', line 504

def Limit
  @Limit
end

#PageDirectionObject

Parameters:

  • PageToken:

    页码

  • Limit:

    过滤条件

  • PageDirection:

    查询方向

  • Filters:

    过滤条件



504
505
506
# File 'lib/v20200608/models.rb', line 504

def PageDirection
  @PageDirection
end

#PageTokenObject

Parameters:

  • PageToken:

    页码

  • Limit:

    过滤条件

  • PageDirection:

    查询方向

  • Filters:

    过滤条件



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