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.
958 959 960 961 |
# File 'lib/v20180808/models.rb', line 958 def initialize(dnsname=nil, ipset=nil) @DnsName = dnsname @IpSet = ipset end |
Instance Attribute Details
#DnsName ⇒ Object
956 957 958 |
# File 'lib/v20180808/models.rb', line 956 def DnsName @DnsName end |
#IpSet ⇒ Object
956 957 958 |
# File 'lib/v20180808/models.rb', line 956 def IpSet @IpSet end |
Instance Method Details
#deserialize(params) ⇒ Object
963 964 965 966 |
# File 'lib/v20180808/models.rb', line 963 def deserialize(params) @DnsName = params['DnsName'] @IpSet = params['IpSet'] end |