Class: NsStruct

Inherits:
Object
  • Object
show all
Defined in:
lib/ovhrb/manager/manager.rb

Overview

Constant Summary collapse

@@schema_type =
"nsStruct"
@@schema_ns =
"http://soapi.ovh.com/manager"
@@schema_element =
[["name", ["SOAP::SOAPString", XSD::QName.new(nil, "name")]], ["ip", ["SOAP::SOAPString", XSD::QName.new(nil, "ip")]]]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, ip = nil) ⇒ NsStruct

Returns a new instance of NsStruct.



4864
4865
4866
4867
# File 'lib/ovhrb/manager/manager.rb', line 4864

def initialize(name = nil, ip = nil)
  @name = name
  @ip = ip
end

Instance Attribute Details

#ipObject

Returns the value of attribute ip.



4862
4863
4864
# File 'lib/ovhrb/manager/manager.rb', line 4862

def ip
  @ip
end

#nameObject

Returns the value of attribute name.



4861
4862
4863
# File 'lib/ovhrb/manager/manager.rb', line 4861

def name
  @name
end