Class: TencentCloud::Domain::V20180808::CustomDnsHost
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Domain::V20180808::CustomDnsHost
- Defined in:
- lib/v20180808/models.rb
Overview
自定义DNS Host
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(dnsname = nil, ipset = nil) ⇒ CustomDnsHost
constructor
A new instance of CustomDnsHost.
Constructor Details
#initialize(dnsname = nil, ipset = nil) ⇒ CustomDnsHost
Returns a new instance of CustomDnsHost.
963 964 965 966 |
# File 'lib/v20180808/models.rb', line 963 def initialize(dnsname=nil, ipset=nil) @DnsName = dnsname @IpSet = ipset end |
Instance Attribute Details
#DnsName ⇒ Object
961 962 963 |
# File 'lib/v20180808/models.rb', line 961 def DnsName @DnsName end |
#IpSet ⇒ Object
961 962 963 |
# File 'lib/v20180808/models.rb', line 961 def IpSet @IpSet end |
Instance Method Details
#deserialize(params) ⇒ Object
968 969 970 971 |
# File 'lib/v20180808/models.rb', line 968 def deserialize(params) @DnsName = params['DnsName'] @IpSet = params['IpSet'] end |