Class: SecondaryDNSStruct
- Inherits:
-
Object
- Object
- SecondaryDNSStruct
- Defined in:
- lib/ovhrb/manager/manager.rb
Overview
http://soapi.ovh.com/managersecondaryDNSStruct
Constant Summary collapse
- @@schema_type =
"secondaryDNSStruct"
- @@schema_ns =
"http://soapi.ovh.com/manager"
- @@schema_element =
[["zone", ["SOAP::SOAPString", XSD::QName.new(nil, "zone")]], ["type", ["SOAP::SOAPString", XSD::QName.new(nil, "type")]], ["nameserver", ["SOAP::SOAPString", XSD::QName.new(nil, "nameserver")]], ["state", ["SOAP::SOAPString", XSD::QName.new(nil, "state")]], ["creation", ["SOAP::SOAPString", XSD::QName.new(nil, "creation")]], ["deactivation", ["SOAP::SOAPString", XSD::QName.new(nil, "deactivation")]]]
Instance Attribute Summary collapse
-
#creation ⇒ Object
Returns the value of attribute creation.
-
#deactivation ⇒ Object
Returns the value of attribute deactivation.
-
#nameserver ⇒ Object
Returns the value of attribute nameserver.
-
#state ⇒ Object
Returns the value of attribute state.
-
#type ⇒ Object
Returns the value of attribute type.
-
#zone ⇒ Object
Returns the value of attribute zone.
Instance Method Summary collapse
-
#initialize(zone = nil, type = nil, nameserver = nil, state = nil, creation = nil, deactivation = nil) ⇒ SecondaryDNSStruct
constructor
A new instance of SecondaryDNSStruct.
Constructor Details
#initialize(zone = nil, type = nil, nameserver = nil, state = nil, creation = nil, deactivation = nil) ⇒ SecondaryDNSStruct
Returns a new instance of SecondaryDNSStruct.
2166 2167 2168 2169 2170 2171 2172 2173 |
# File 'lib/ovhrb/manager/manager.rb', line 2166 def initialize(zone = nil, type = nil, nameserver = nil, state = nil, creation = nil, deactivation = nil) @zone = zone @type = type @nameserver = nameserver @state = state @creation = creation @deactivation = deactivation end |
Instance Attribute Details
#creation ⇒ Object
Returns the value of attribute creation.
2163 2164 2165 |
# File 'lib/ovhrb/manager/manager.rb', line 2163 def creation @creation end |
#deactivation ⇒ Object
Returns the value of attribute deactivation.
2164 2165 2166 |
# File 'lib/ovhrb/manager/manager.rb', line 2164 def deactivation @deactivation end |
#nameserver ⇒ Object
Returns the value of attribute nameserver.
2161 2162 2163 |
# File 'lib/ovhrb/manager/manager.rb', line 2161 def nameserver @nameserver end |
#state ⇒ Object
Returns the value of attribute state.
2162 2163 2164 |
# File 'lib/ovhrb/manager/manager.rb', line 2162 def state @state end |
#type ⇒ Object
Returns the value of attribute type.
2160 2161 2162 |
# File 'lib/ovhrb/manager/manager.rb', line 2160 def type @type end |
#zone ⇒ Object
Returns the value of attribute zone.
2159 2160 2161 |
# File 'lib/ovhrb/manager/manager.rb', line 2159 def zone @zone end |