Class: Softlayer::Network::Backbone::Location::Dependent
- Defined in:
- lib/softlayer/network/backbone/location/dependent.rb
Defined Under Namespace
Classes: Representer
Constant Summary collapse
- SERVICE =
'SoftLayer_Network_Backbone_Location_Dependent'
Instance Attribute Summary collapse
-
#dependent_location ⇒ Object
Returns the value of attribute dependent_location.
-
#dependent_location_id ⇒ Object
Returns the value of attribute dependent_location_id.
-
#id ⇒ Object
Returns the value of attribute id.
-
#source_location ⇒ Object
Returns the value of attribute source_location.
-
#source_location_id ⇒ Object
Returns the value of attribute source_location_id.
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Model
all, all_request_for, create, find, #init_headers, parse, request, #request, service_name, #to_hash
Methods included from Model::Operations
extended, #filter, included, #limit, #mask, #request_headers
Instance Attribute Details
#dependent_location ⇒ Object
Returns the value of attribute dependent_location.
10 11 12 |
# File 'lib/softlayer/network/backbone/location/dependent.rb', line 10 def dependent_location @dependent_location end |
#dependent_location_id ⇒ Object
Returns the value of attribute dependent_location_id.
7 8 9 |
# File 'lib/softlayer/network/backbone/location/dependent.rb', line 7 def dependent_location_id @dependent_location_id end |
#id ⇒ Object
Returns the value of attribute id.
8 9 10 |
# File 'lib/softlayer/network/backbone/location/dependent.rb', line 8 def id @id end |
#source_location ⇒ Object
Returns the value of attribute source_location.
11 12 13 |
# File 'lib/softlayer/network/backbone/location/dependent.rb', line 11 def source_location @source_location end |
#source_location_id ⇒ Object
Returns the value of attribute source_location_id.
9 10 11 |
# File 'lib/softlayer/network/backbone/location/dependent.rb', line 9 def source_location_id @source_location_id end |
Class Method Details
.get_all_objects ⇒ Object
13 14 15 |
# File 'lib/softlayer/network/backbone/location/dependent.rb', line 13 def self.get_all_objects request(:get_all_objects, Array[Softlayer::Network::Backbone::Location::Dependent]) end |
.get_source_dependents_by_name(location_name = nil) ⇒ Object
25 26 27 28 |
# File 'lib/softlayer/network/backbone/location/dependent.rb', line 25 def self.get_source_dependents_by_name(location_name = nil) = {location_name: location_name} request(:get_source_dependents_by_name, Softlayer::Location, ) end |
Instance Method Details
#get_dependent_location ⇒ Object
17 18 19 |
# File 'lib/softlayer/network/backbone/location/dependent.rb', line 17 def get_dependent_location request(:get_dependent_location, Softlayer::Location) end |