Class: SecondaryDNSStruct

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#creationObject

Returns the value of attribute creation.



2163
2164
2165
# File 'lib/ovhrb/manager/manager.rb', line 2163

def creation
  @creation
end

#deactivationObject

Returns the value of attribute deactivation.



2164
2165
2166
# File 'lib/ovhrb/manager/manager.rb', line 2164

def deactivation
  @deactivation
end

#nameserverObject

Returns the value of attribute nameserver.



2161
2162
2163
# File 'lib/ovhrb/manager/manager.rb', line 2161

def nameserver
  @nameserver
end

#stateObject

Returns the value of attribute state.



2162
2163
2164
# File 'lib/ovhrb/manager/manager.rb', line 2162

def state
  @state
end

#typeObject

Returns the value of attribute type.



2160
2161
2162
# File 'lib/ovhrb/manager/manager.rb', line 2160

def type
  @type
end

#zoneObject

Returns the value of attribute zone.



2159
2160
2161
# File 'lib/ovhrb/manager/manager.rb', line 2159

def zone
  @zone
end