Class: TencentCloud::Teo::V20220901::VanityNameServers
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Teo::V20220901::VanityNameServers
- Defined in:
- lib/v20220901/models.rb
Overview
自定义 nameservers
Instance Attribute Summary collapse
-
#Servers ⇒ Object
<li> on:开启;</li> <li> off:关闭。</li>.
-
#Switch ⇒ Object
<li> on:开启;</li> <li> off:关闭。</li>.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(switch = nil, servers = nil) ⇒ VanityNameServers
constructor
A new instance of VanityNameServers.
Constructor Details
#initialize(switch = nil, servers = nil) ⇒ VanityNameServers
22811 22812 22813 22814 |
# File 'lib/v20220901/models.rb', line 22811 def initialize(switch=nil, servers=nil) @Switch = switch @Servers = servers end |
Instance Attribute Details
#Servers ⇒ Object
<li> on:开启;</li> <li> off:关闭。</li>
22809 22810 22811 |
# File 'lib/v20220901/models.rb', line 22809 def Servers @Servers end |
#Switch ⇒ Object
<li> on:开启;</li> <li> off:关闭。</li>
22809 22810 22811 |
# File 'lib/v20220901/models.rb', line 22809 def Switch @Switch end |
Instance Method Details
#deserialize(params) ⇒ Object
22816 22817 22818 22819 |
# File 'lib/v20220901/models.rb', line 22816 def deserialize(params) @Switch = params['Switch'] @Servers = params['Servers'] end |