Class: TencentCloud::Cdn::V20180606::DescribeDomainsRequest

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

Overview

DescribeDomains请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(offset = nil, limit = nil, filters = nil) ⇒ DescribeDomainsRequest

Returns a new instance of DescribeDomainsRequest.



4411
4412
4413
4414
4415
# File 'lib/v20180606/models.rb', line 4411

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

Instance Attribute Details

#FiltersObject

Parameters:

  • Offset:

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

  • Limit:

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

  • Filters:

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



4409
4410
4411
# File 'lib/v20180606/models.rb', line 4409

def Filters
  @Filters
end

#LimitObject

Parameters:

  • Offset:

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

  • Limit:

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

  • Filters:

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



4409
4410
4411
# File 'lib/v20180606/models.rb', line 4409

def Limit
  @Limit
end

#OffsetObject

Parameters:

  • Offset:

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

  • Limit:

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

  • Filters:

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



4409
4410
4411
# File 'lib/v20180606/models.rb', line 4409

def Offset
  @Offset
end

Instance Method Details

#deserialize(params) ⇒ Object



4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
# File 'lib/v20180606/models.rb', line 4417

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
end