Class: TencentCloud::Cws::V20180312::DescribeSitesRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cws::V20180312::DescribeSitesRequest
- Defined in:
- lib/v20180312/models.rb
Overview
DescribeSites请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(siteids = nil, filters = nil, offset = nil, limit = nil) ⇒ DescribeSitesRequest
constructor
A new instance of DescribeSitesRequest.
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
#Filters ⇒ Object
466 467 468 |
# File 'lib/v20180312/models.rb', line 466 def Filters @Filters end |
#Limit ⇒ Object
466 467 468 |
# File 'lib/v20180312/models.rb', line 466 def Limit @Limit end |
#Offset ⇒ Object
466 467 468 |
# File 'lib/v20180312/models.rb', line 466 def Offset @Offset end |
#SiteIds ⇒ Object
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 |