Class: TencentCloud::Teo::V20220901::DescribeDnsRecordsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Teo::V20220901::DescribeDnsRecordsResponse
- Defined in:
- lib/v20220901/models.rb
Overview
DescribeDnsRecords返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, dnsrecords = nil, requestid = nil) ⇒ DescribeDnsRecordsResponse
constructor
A new instance of DescribeDnsRecordsResponse.
Constructor Details
#initialize(totalcount = nil, dnsrecords = nil, requestid = nil) ⇒ DescribeDnsRecordsResponse
Returns a new instance of DescribeDnsRecordsResponse.
8553 8554 8555 8556 8557 |
# File 'lib/v20220901/models.rb', line 8553 def initialize(totalcount=nil, dnsrecords=nil, requestid=nil) @TotalCount = totalcount @DnsRecords = dnsrecords @RequestId = requestid end |
Instance Attribute Details
#DnsRecords ⇒ Object
8551 8552 8553 |
# File 'lib/v20220901/models.rb', line 8551 def DnsRecords @DnsRecords end |
#RequestId ⇒ Object
8551 8552 8553 |
# File 'lib/v20220901/models.rb', line 8551 def RequestId @RequestId end |
#TotalCount ⇒ Object
8551 8552 8553 |
# File 'lib/v20220901/models.rb', line 8551 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
8559 8560 8561 8562 8563 8564 8565 8566 8567 8568 8569 8570 |
# File 'lib/v20220901/models.rb', line 8559 def deserialize(params) @TotalCount = params['TotalCount'] unless params['DnsRecords'].nil? @DnsRecords = [] params['DnsRecords'].each do |i| dnsrecord_tmp = DnsRecord.new dnsrecord_tmp.deserialize(i) @DnsRecords << dnsrecord_tmp end end @RequestId = params['RequestId'] end |