Class: DatabaseStruct
- Inherits:
-
Object
- Object
- DatabaseStruct
- Defined in:
- lib/ovhrb/manager/manager.rb
Overview
http://soapi.ovh.com/managerdatabaseStruct
Constant Summary collapse
- @@schema_type =
"databaseStruct"
- @@schema_ns =
"http://soapi.ovh.com/manager"
- @@schema_element =
[["db", ["SOAP::SOAPString", XSD::QName.new(nil, "db")]], ["quota", ["SOAP::SOAPFloat", XSD::QName.new(nil, "quota")]], ["limit", ["SOAP::SOAPFloat", XSD::QName.new(nil, "limit")]], ["version", ["SOAP::SOAPString", XSD::QName.new(nil, "version")]], ["date", ["SOAP::SOAPString", XSD::QName.new(nil, "date")]], ["state", ["SOAP::SOAPString", XSD::QName.new(nil, "state")]], ["type", ["SOAP::SOAPString", XSD::QName.new(nil, "type")]], ["server", ["SOAP::SOAPString", XSD::QName.new(nil, "server")]], ["todo", ["SOAP::SOAPBoolean", XSD::QName.new(nil, "todo")]], ["quota_warning", ["SOAP::SOAPBoolean", XSD::QName.new(nil, "quota_warning")]]]
Instance Attribute Summary collapse
-
#date ⇒ Object
Returns the value of attribute date.
-
#db ⇒ Object
Returns the value of attribute db.
-
#limit ⇒ Object
Returns the value of attribute limit.
-
#quota ⇒ Object
Returns the value of attribute quota.
-
#quota_warning ⇒ Object
Returns the value of attribute quota_warning.
-
#server ⇒ Object
Returns the value of attribute server.
-
#state ⇒ Object
Returns the value of attribute state.
-
#todo ⇒ Object
Returns the value of attribute todo.
-
#type ⇒ Object
Returns the value of attribute type.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize(db = nil, quota = nil, limit = nil, version = nil, date = nil, state = nil, type = nil, server = nil, todo = nil, quota_warning = nil) ⇒ DatabaseStruct
constructor
A new instance of DatabaseStruct.
Constructor Details
#initialize(db = nil, quota = nil, limit = nil, version = nil, date = nil, state = nil, type = nil, server = nil, todo = nil, quota_warning = nil) ⇒ DatabaseStruct
Returns a new instance of DatabaseStruct.
4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 |
# File 'lib/ovhrb/manager/manager.rb', line 4347 def initialize(db = nil, quota = nil, limit = nil, version = nil, date = nil, state = nil, type = nil, server = nil, todo = nil, quota_warning = nil) @db = db @quota = quota @limit = limit @version = version @date = date @state = state @type = type @server = server @todo = todo @quota_warning = quota_warning end |
Instance Attribute Details
#date ⇒ Object
Returns the value of attribute date.
4340 4341 4342 |
# File 'lib/ovhrb/manager/manager.rb', line 4340 def date @date end |
#db ⇒ Object
Returns the value of attribute db.
4336 4337 4338 |
# File 'lib/ovhrb/manager/manager.rb', line 4336 def db @db end |
#limit ⇒ Object
Returns the value of attribute limit.
4338 4339 4340 |
# File 'lib/ovhrb/manager/manager.rb', line 4338 def limit @limit end |
#quota ⇒ Object
Returns the value of attribute quota.
4337 4338 4339 |
# File 'lib/ovhrb/manager/manager.rb', line 4337 def quota @quota end |
#quota_warning ⇒ Object
Returns the value of attribute quota_warning.
4345 4346 4347 |
# File 'lib/ovhrb/manager/manager.rb', line 4345 def quota_warning @quota_warning end |
#server ⇒ Object
Returns the value of attribute server.
4343 4344 4345 |
# File 'lib/ovhrb/manager/manager.rb', line 4343 def server @server end |
#state ⇒ Object
Returns the value of attribute state.
4341 4342 4343 |
# File 'lib/ovhrb/manager/manager.rb', line 4341 def state @state end |
#todo ⇒ Object
Returns the value of attribute todo.
4344 4345 4346 |
# File 'lib/ovhrb/manager/manager.rb', line 4344 def todo @todo end |
#type ⇒ Object
Returns the value of attribute type.
4342 4343 4344 |
# File 'lib/ovhrb/manager/manager.rb', line 4342 def type @type end |
#version ⇒ Object
Returns the value of attribute version.
4339 4340 4341 |
# File 'lib/ovhrb/manager/manager.rb', line 4339 def version @version end |