Class: TencentCloud::Cdn::V20180606::DescribeDomainsResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdn::V20180606::DescribeDomainsResponse
- Defined in:
- lib/v20180606/models.rb
Overview
DescribeDomains返回参数结构体
Instance Attribute Summary collapse
-
#Domains ⇒ Object
用于分页查询.
-
#RequestId ⇒ Object
用于分页查询.
-
#TotalNumber ⇒ Object
用于分页查询.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(domains = nil, totalnumber = nil, requestid = nil) ⇒ DescribeDomainsResponse
constructor
A new instance of DescribeDomainsResponse.
Constructor Details
#initialize(domains = nil, totalnumber = nil, requestid = nil) ⇒ DescribeDomainsResponse
Returns a new instance of DescribeDomainsResponse.
4443 4444 4445 4446 4447 |
# File 'lib/v20180606/models.rb', line 4443 def initialize(domains=nil, totalnumber=nil, requestid=nil) @Domains = domains @TotalNumber = totalnumber @RequestId = requestid end |
Instance Attribute Details
#Domains ⇒ Object
用于分页查询
4441 4442 4443 |
# File 'lib/v20180606/models.rb', line 4441 def Domains @Domains end |
#RequestId ⇒ Object
用于分页查询
4441 4442 4443 |
# File 'lib/v20180606/models.rb', line 4441 def RequestId @RequestId end |
#TotalNumber ⇒ Object
用于分页查询
4441 4442 4443 |
# File 'lib/v20180606/models.rb', line 4441 def TotalNumber @TotalNumber end |
Instance Method Details
#deserialize(params) ⇒ Object
4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 |
# File 'lib/v20180606/models.rb', line 4449 def deserialize(params) unless params['Domains'].nil? @Domains = [] params['Domains'].each do |i| briefdomain_tmp = BriefDomain.new briefdomain_tmp.deserialize(i) @Domains << briefdomain_tmp end end @TotalNumber = params['TotalNumber'] @RequestId = params['RequestId'] end |