Class: TencentCloud::Gaap::V20180529::GlobalDns
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Gaap::V20180529::GlobalDns
- Defined in:
- lib/v20180529/models.rb
Overview
统一域名解析的DNS记录
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(dnsrecordid = nil, countryarealist = nil, accesslist = nil, status = nil) ⇒ GlobalDns
constructor
A new instance of GlobalDns.
Constructor Details
#initialize(dnsrecordid = nil, countryarealist = nil, accesslist = nil, status = nil) ⇒ GlobalDns
Returns a new instance of GlobalDns.
4961 4962 4963 4964 4965 4966 |
# File 'lib/v20180529/models.rb', line 4961 def initialize(dnsrecordid=nil, countryarealist=nil, accesslist=nil, status=nil) @DnsRecordId = dnsrecordid @CountryAreaList = countryarealist @AccessList = accesslist @Status = status end |
Instance Attribute Details
#AccessList ⇒ Object
4959 4960 4961 |
# File 'lib/v20180529/models.rb', line 4959 def AccessList @AccessList end |
#CountryAreaList ⇒ Object
4959 4960 4961 |
# File 'lib/v20180529/models.rb', line 4959 def CountryAreaList @CountryAreaList end |
#DnsRecordId ⇒ Object
4959 4960 4961 |
# File 'lib/v20180529/models.rb', line 4959 def DnsRecordId @DnsRecordId end |
#Status ⇒ Object
4959 4960 4961 |
# File 'lib/v20180529/models.rb', line 4959 def Status @Status end |
Instance Method Details
#deserialize(params) ⇒ Object
4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 |
# File 'lib/v20180529/models.rb', line 4968 def deserialize(params) @DnsRecordId = params['DnsRecordId'] unless params['CountryAreaList'].nil? @CountryAreaList = [] params['CountryAreaList'].each do |i| countryareamap_tmp = CountryAreaMap.new countryareamap_tmp.deserialize(i) @CountryAreaList << countryareamap_tmp end end unless params['AccessList'].nil? @AccessList = [] params['AccessList'].each do |i| proxyaccessinfo_tmp = ProxyAccessInfo.new proxyaccessinfo_tmp.deserialize(i) @AccessList << proxyaccessinfo_tmp end end @Status = params['Status'] end |