Class: Latitude::API::Resources::VirtualMachine::Spec
- Inherits:
-
APIObject
- Object
- APIObject
- Latitude::API::Resources::VirtualMachine::Spec
show all
- Defined in:
- lib/latitude/api/resources/virtual_machine.rb
Constant Summary
Constants inherited
from APIObject
APIObject::RESERVED
Instance Attribute Summary collapse
Attributes inherited from APIObject
#raw
Method Summary
Methods inherited from APIObject
#==, #[], #as_json, #each, #hash, #initialize, #inspect, #key?, #keys, #method_missing, #respond_to_missing?, #to_h, wrap
#attribute, #attribute_specs
#attribute_spec, #read_attribute, #wrap_attribute
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
in the class Latitude::API::APIObject
Instance Attribute Details
#gpu ⇒ String
92
93
94
95
96
97
98
|
# File 'lib/latitude/api/resources/virtual_machine.rb', line 92
class Spec < APIObject
attribute :vcpu, :integer, read_only: true
attribute :ram, :string, read_only: true
attribute :storage, :string, read_only: true
attribute :nic, :string, read_only: true
attribute :gpu, :string, read_only: true
end
|
#nic ⇒ String
92
93
94
95
96
97
98
|
# File 'lib/latitude/api/resources/virtual_machine.rb', line 92
class Spec < APIObject
attribute :vcpu, :integer, read_only: true
attribute :ram, :string, read_only: true
attribute :storage, :string, read_only: true
attribute :nic, :string, read_only: true
attribute :gpu, :string, read_only: true
end
|
#ram ⇒ String
92
93
94
95
96
97
98
|
# File 'lib/latitude/api/resources/virtual_machine.rb', line 92
class Spec < APIObject
attribute :vcpu, :integer, read_only: true
attribute :ram, :string, read_only: true
attribute :storage, :string, read_only: true
attribute :nic, :string, read_only: true
attribute :gpu, :string, read_only: true
end
|
#storage ⇒ String
92
93
94
95
96
97
98
|
# File 'lib/latitude/api/resources/virtual_machine.rb', line 92
class Spec < APIObject
attribute :vcpu, :integer, read_only: true
attribute :ram, :string, read_only: true
attribute :storage, :string, read_only: true
attribute :nic, :string, read_only: true
attribute :gpu, :string, read_only: true
end
|
#vcpu ⇒ Integer
92
93
94
95
96
97
98
|
# File 'lib/latitude/api/resources/virtual_machine.rb', line 92
class Spec < APIObject
attribute :vcpu, :integer, read_only: true
attribute :ram, :string, read_only: true
attribute :storage, :string, read_only: true
attribute :nic, :string, read_only: true
attribute :gpu, :string, read_only: true
end
|