Class: PopStruct

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

Overview

Constant Summary collapse

@@schema_type =
"popStruct"
@@schema_ns =
"http://soapi.ovh.com/manager"
@@schema_element =
[["nic", ["SOAP::SOAPString", XSD::QName.new(nil, "nic")]], ["domain", ["SOAP::SOAPString", XSD::QName.new(nil, "domain")]], ["name", ["SOAP::SOAPString", XSD::QName.new(nil, "name")]], ["description", ["SOAP::SOAPString", XSD::QName.new(nil, "description")]], ["size", ["SOAP::SOAPString", XSD::QName.new(nil, "size")]]]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(nic = nil, domain = nil, name = nil, description = nil, size = nil) ⇒ PopStruct

Returns a new instance of PopStruct.



5116
5117
5118
5119
5120
5121
5122
# File 'lib/ovhrb/manager/manager.rb', line 5116

def initialize(nic = nil, domain = nil, name = nil, description = nil, size = nil)
  @nic = nic
  @domain = domain
  @name = name
  @description = description
  @size = size
end

Instance Attribute Details

#descriptionObject

Returns the value of attribute description.



5113
5114
5115
# File 'lib/ovhrb/manager/manager.rb', line 5113

def description
  @description
end

#domainObject

Returns the value of attribute domain.



5111
5112
5113
# File 'lib/ovhrb/manager/manager.rb', line 5111

def domain
  @domain
end

#nameObject

Returns the value of attribute name.



5112
5113
5114
# File 'lib/ovhrb/manager/manager.rb', line 5112

def name
  @name
end

#nicObject

Returns the value of attribute nic.



5110
5111
5112
# File 'lib/ovhrb/manager/manager.rb', line 5110

def nic
  @nic
end

#sizeObject

Returns the value of attribute size.



5114
5115
5116
# File 'lib/ovhrb/manager/manager.rb', line 5114

def size
  @size
end