Class: TencentCloud::Cdn::V20180606::DescribeDomainsConfigRequest

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

Overview

DescribeDomainsConfig请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(offset = nil, limit = nil, filters = nil, sort = nil) ⇒ DescribeDomainsConfigRequest

Returns a new instance of DescribeDomainsConfigRequest.



4343
4344
4345
4346
4347
4348
# File 'lib/v20180606/models.rb', line 4343

def initialize(offset=nil, limit=nil, filters=nil, sort=nil)
  @Offset = offset
  @Limit = limit
  @Filters = filters
  @Sort = sort
end

Instance Attribute Details

#FiltersObject

Parameters:

  • Offset:

    分页查询偏移量,默认为 0

  • Limit:

    分页查询限制数目,默认为 100,最大可设置为 1000

  • Filters:

    查询条件过滤器,复杂类型

  • Sort:

    排序规则



4341
4342
4343
# File 'lib/v20180606/models.rb', line 4341

def Filters
  @Filters
end

#LimitObject

Parameters:

  • Offset:

    分页查询偏移量,默认为 0

  • Limit:

    分页查询限制数目,默认为 100,最大可设置为 1000

  • Filters:

    查询条件过滤器,复杂类型

  • Sort:

    排序规则



4341
4342
4343
# File 'lib/v20180606/models.rb', line 4341

def Limit
  @Limit
end

#OffsetObject

Parameters:

  • Offset:

    分页查询偏移量,默认为 0

  • Limit:

    分页查询限制数目,默认为 100,最大可设置为 1000

  • Filters:

    查询条件过滤器,复杂类型

  • Sort:

    排序规则



4341
4342
4343
# File 'lib/v20180606/models.rb', line 4341

def Offset
  @Offset
end

#SortObject

Parameters:

  • Offset:

    分页查询偏移量,默认为 0

  • Limit:

    分页查询限制数目,默认为 100,最大可设置为 1000

  • Filters:

    查询条件过滤器,复杂类型

  • Sort:

    排序规则



4341
4342
4343
# File 'lib/v20180606/models.rb', line 4341

def Sort
  @Sort
end

Instance Method Details

#deserialize(params) ⇒ Object



4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
# File 'lib/v20180606/models.rb', line 4350

def deserialize(params)
  @Offset = params['Offset']
  @Limit = params['Limit']
  unless params['Filters'].nil?
    @Filters = []
    params['Filters'].each do |i|
      domainfilter_tmp = DomainFilter.new
      domainfilter_tmp.deserialize(i)
      @Filters << domainfilter_tmp
    end
  end
  unless params['Sort'].nil?
    @Sort = Sort.new
    @Sort.deserialize(params['Sort'])
  end
end