Class: DedicatedNetbootStruct

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

Overview

http://soapi.ovh.com/managerdedicatedNetbootStruct

Constant Summary collapse

@@schema_type =
"dedicatedNetbootStruct"
@@schema_ns =
"http://soapi.ovh.com/manager"
@@schema_element =
[["kernel", ["SOAP::SOAPString", XSD::QName.new(nil, "kernel")]], ["cpufamily", ["SOAP::SOAPString", XSD::QName.new(nil, "cpufamily")]], ["root", ["SOAP::SOAPString", XSD::QName.new(nil, "root")]], ["smp", ["SOAP::SOAPBoolean", XSD::QName.new(nil, "smp")]], ["ipv6", ["SOAP::SOAPBoolean", XSD::QName.new(nil, "ipv6")]], ["grsec", ["SOAP::SOAPBoolean", XSD::QName.new(nil, "grsec")]], ["hz", ["SOAP::SOAPString", XSD::QName.new(nil, "hz")]], ["id", ["SOAP::SOAPInt", XSD::QName.new(nil, "id")]], ["state", ["SOAP::SOAPString", XSD::QName.new(nil, "state")]]]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(kernel = nil, cpufamily = nil, root = nil, smp = nil, ipv6 = nil, grsec = nil, hz = nil, id = nil, state = nil) ⇒ DedicatedNetbootStruct

Returns a new instance of DedicatedNetbootStruct.



2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
# File 'lib/ovhrb/manager/manager.rb', line 2123

def initialize(kernel = nil, cpufamily = nil, root = nil, smp = nil, ipv6 = nil, grsec = nil, hz = nil, id = nil, state = nil)
  @kernel = kernel
  @cpufamily = cpufamily
  @root = root
  @smp = smp
  @ipv6 = ipv6
  @grsec = grsec
  @hz = hz
  @id = id
  @state = state
end

Instance Attribute Details

#cpufamilyObject

Returns the value of attribute cpufamily.



2114
2115
2116
# File 'lib/ovhrb/manager/manager.rb', line 2114

def cpufamily
  @cpufamily
end

#grsecObject

Returns the value of attribute grsec.



2118
2119
2120
# File 'lib/ovhrb/manager/manager.rb', line 2118

def grsec
  @grsec
end

#hzObject

Returns the value of attribute hz.



2119
2120
2121
# File 'lib/ovhrb/manager/manager.rb', line 2119

def hz
  @hz
end

#idObject

Returns the value of attribute id.



2120
2121
2122
# File 'lib/ovhrb/manager/manager.rb', line 2120

def id
  @id
end

#ipv6Object

Returns the value of attribute ipv6.



2117
2118
2119
# File 'lib/ovhrb/manager/manager.rb', line 2117

def ipv6
  @ipv6
end

#kernelObject

Returns the value of attribute kernel.



2113
2114
2115
# File 'lib/ovhrb/manager/manager.rb', line 2113

def kernel
  @kernel
end

#rootObject

Returns the value of attribute root.



2115
2116
2117
# File 'lib/ovhrb/manager/manager.rb', line 2115

def root
  @root
end

#smpObject

Returns the value of attribute smp.



2116
2117
2118
# File 'lib/ovhrb/manager/manager.rb', line 2116

def smp
  @smp
end

#stateObject

Returns the value of attribute state.



2121
2122
2123
# File 'lib/ovhrb/manager/manager.rb', line 2121

def state
  @state
end