Class: TelephonyPhonebookStruct

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

Overview

http://soapi.ovh.com/managertelephonyPhonebookStruct

Constant Summary collapse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, name = nil, mode = nil) ⇒ TelephonyPhonebookStruct

Returns a new instance of TelephonyPhonebookStruct.



761
762
763
764
765
# File 'lib/ovhrb/manager/manager.rb', line 761

def initialize(id = nil, name = nil, mode = nil)
  @id = id
  @name = name
  @mode = mode
end

Instance Attribute Details

#idObject

Returns the value of attribute id.



757
758
759
# File 'lib/ovhrb/manager/manager.rb', line 757

def id
  @id
end

#modeObject

Returns the value of attribute mode.



759
760
761
# File 'lib/ovhrb/manager/manager.rb', line 759

def mode
  @mode
end

#nameObject

Returns the value of attribute name.



758
759
760
# File 'lib/ovhrb/manager/manager.rb', line 758

def name
  @name
end