Class: TencentCloud::Antiddos::V20200309::DescribeListSchedulingDomainResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Antiddos::V20200309::DescribeListSchedulingDomainResponse
- Defined in:
- lib/v20200309/models.rb
Overview
DescribeListSchedulingDomain返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(total = nil, domainlist = nil, requestid = nil) ⇒ DescribeListSchedulingDomainResponse
constructor
A new instance of DescribeListSchedulingDomainResponse.
Constructor Details
#initialize(total = nil, domainlist = nil, requestid = nil) ⇒ DescribeListSchedulingDomainResponse
Returns a new instance of DescribeListSchedulingDomainResponse.
5284 5285 5286 5287 5288 |
# File 'lib/v20200309/models.rb', line 5284 def initialize(total=nil, domainlist=nil, requestid=nil) @Total = total @DomainList = domainlist @RequestId = requestid end |
Instance Attribute Details
#DomainList ⇒ Object
5282 5283 5284 |
# File 'lib/v20200309/models.rb', line 5282 def DomainList @DomainList end |
#RequestId ⇒ Object
5282 5283 5284 |
# File 'lib/v20200309/models.rb', line 5282 def RequestId @RequestId end |
#Total ⇒ Object
5282 5283 5284 |
# File 'lib/v20200309/models.rb', line 5282 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 |
# File 'lib/v20200309/models.rb', line 5290 def deserialize(params) @Total = params['Total'] unless params['DomainList'].nil? @DomainList = [] params['DomainList'].each do |i| schedulingdomaininfo_tmp = SchedulingDomainInfo.new schedulingdomaininfo_tmp.deserialize(i) @DomainList << schedulingdomaininfo_tmp end end @RequestId = params['RequestId'] end |