Class: TencentCloud::Waf::V20180125::DescribeDomainsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::DescribeDomainsResponse
- Defined in:
- lib/v20180125/models.rb
Overview
DescribeDomains返回参数结构体
Instance Attribute Summary collapse
-
#Domains ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Total ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(total = nil, domains = nil, requestid = nil) ⇒ DescribeDomainsResponse
constructor
A new instance of DescribeDomainsResponse.
Constructor Details
#initialize(total = nil, domains = nil, requestid = nil) ⇒ DescribeDomainsResponse
Returns a new instance of DescribeDomainsResponse.
5125 5126 5127 5128 5129 |
# File 'lib/v20180125/models.rb', line 5125 def initialize(total=nil, domains=nil, requestid=nil) @Total = total @Domains = domains @RequestId = requestid end |
Instance Attribute Details
#Domains ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
5123 5124 5125 |
# File 'lib/v20180125/models.rb', line 5123 def Domains @Domains end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
5123 5124 5125 |
# File 'lib/v20180125/models.rb', line 5123 def RequestId @RequestId end |
#Total ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
5123 5124 5125 |
# File 'lib/v20180125/models.rb', line 5123 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 |
# File 'lib/v20180125/models.rb', line 5131 def deserialize(params) @Total = params['Total'] unless params['Domains'].nil? @Domains = [] params['Domains'].each do |i| domaininfo_tmp = DomainInfo.new domaininfo_tmp.deserialize(i) @Domains << domaininfo_tmp end end @RequestId = params['RequestId'] end |