Class: TencentCloud::Cws::V20180312::DescribeSitesRequest

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

Overview

DescribeSites请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(siteids = nil, filters = nil, offset = nil, limit = nil) ⇒ DescribeSitesRequest

Returns a new instance of DescribeSitesRequest.



468
469
470
471
472
473
# File 'lib/v20180312/models.rb', line 468

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

Instance Attribute Details

#FiltersObject

Parameters:

  • SiteIds:

    站点ID列表

  • Filters:

    过滤条件

  • Offset:

    偏移量,默认为0

  • Limit:

    返回数量,默认为10,最大值为100



466
467
468
# File 'lib/v20180312/models.rb', line 466

def Filters
  @Filters
end

#LimitObject

Parameters:

  • SiteIds:

    站点ID列表

  • Filters:

    过滤条件

  • Offset:

    偏移量,默认为0

  • Limit:

    返回数量,默认为10,最大值为100



466
467
468
# File 'lib/v20180312/models.rb', line 466

def Limit
  @Limit
end

#OffsetObject

Parameters:

  • SiteIds:

    站点ID列表

  • Filters:

    过滤条件

  • Offset:

    偏移量,默认为0

  • Limit:

    返回数量,默认为10,最大值为100



466
467
468
# File 'lib/v20180312/models.rb', line 466

def Offset
  @Offset
end

#SiteIdsObject

Parameters:

  • SiteIds:

    站点ID列表

  • Filters:

    过滤条件

  • Offset:

    偏移量,默认为0

  • Limit:

    返回数量,默认为10,最大值为100



466
467
468
# File 'lib/v20180312/models.rb', line 466

def SiteIds
  @SiteIds
end

Instance Method Details

#deserialize(params) ⇒ Object



475
476
477
478
479
480
481
482
483
484
485
486
487
# File 'lib/v20180312/models.rb', line 475

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