Class: TencentCloud::Cws::V20180312::DescribeSitesResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cws::V20180312::DescribeSitesResponse
- Defined in:
- lib/v20180312/models.rb
Overview
DescribeSites返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, sites = nil, requestid = nil) ⇒ DescribeSitesResponse
constructor
A new instance of DescribeSitesResponse.
Constructor Details
#initialize(totalcount = nil, sites = nil, requestid = nil) ⇒ DescribeSitesResponse
Returns a new instance of DescribeSitesResponse.
501 502 503 504 505 |
# File 'lib/v20180312/models.rb', line 501 def initialize(totalcount=nil, sites=nil, requestid=nil) @TotalCount = totalcount @Sites = sites @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
499 500 501 |
# File 'lib/v20180312/models.rb', line 499 def RequestId @RequestId end |
#Sites ⇒ Object
499 500 501 |
# File 'lib/v20180312/models.rb', line 499 def Sites @Sites end |
#TotalCount ⇒ Object
499 500 501 |
# File 'lib/v20180312/models.rb', line 499 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
507 508 509 510 511 512 513 514 515 516 517 518 |
# File 'lib/v20180312/models.rb', line 507 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Sites'].nil? @Sites = [] params['Sites'].each do |i| site_tmp = Site.new site_tmp.deserialize(i) @Sites << site_tmp end end @RequestId = params['RequestId'] end |