Class: Latitude::API::Resources::Server::Interface
- Defined in:
- lib/latitude/api/resources/server.rb
Constant Summary
Constants inherited from APIObject
Instance Attribute Summary collapse
- #description ⇒ String readonly
- #mac_address ⇒ String readonly
- #name ⇒ String readonly
- #role ⇒ String readonly
Attributes inherited from APIObject
Method Summary
Methods inherited from APIObject
#==, #[], #as_json, #each, #hash, #initialize, #inspect, #key?, #keys, #method_missing, #respond_to_missing?, #to_h, wrap
Methods included from Attributes::ClassMethods
Methods included from Attributes::InstanceMethods
#attribute_spec, #read_attribute, #wrap_attribute
Constructor Details
This class inherits a constructor from Latitude::API::APIObject
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Latitude::API::APIObject
Instance Attribute Details
#description ⇒ String (readonly)
100 101 102 103 104 105 |
# File 'lib/latitude/api/resources/server.rb', line 100 class Interface < APIObject attribute :role, :string, read_only: true attribute :name, :string, read_only: true attribute :mac_address, :string, read_only: true attribute :description, :string, read_only: true end |
#mac_address ⇒ String (readonly)
100 101 102 103 104 105 |
# File 'lib/latitude/api/resources/server.rb', line 100 class Interface < APIObject attribute :role, :string, read_only: true attribute :name, :string, read_only: true attribute :mac_address, :string, read_only: true attribute :description, :string, read_only: true end |
#name ⇒ String (readonly)
100 101 102 103 104 105 |
# File 'lib/latitude/api/resources/server.rb', line 100 class Interface < APIObject attribute :role, :string, read_only: true attribute :name, :string, read_only: true attribute :mac_address, :string, read_only: true attribute :description, :string, read_only: true end |
#role ⇒ String (readonly)
100 101 102 103 104 105 |
# File 'lib/latitude/api/resources/server.rb', line 100 class Interface < APIObject attribute :role, :string, read_only: true attribute :name, :string, read_only: true attribute :mac_address, :string, read_only: true attribute :description, :string, read_only: true end |