Class: Softlayer::Network::Backbone::Location::Dependent

Inherits:
Entity
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Model

all, all_request_for, create, find, #init_headers, parse, process_message, #request, request, service_name, #service_name, #to_hash, #to_softlayer

Methods included from Model::Operations

extended, #filter, included, #limit, #mask, #request_headers

Instance Attribute Details

#dependent_locationObject

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_idObject

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

#idObject

Returns the value of attribute id.



8
9
10
# File 'lib/softlayer/network/backbone/location/dependent.rb', line 8

def id
  @id
end

#source_locationObject

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_idObject

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_objectsObject



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(message) ⇒ Object

location_name



26
27
28
# File 'lib/softlayer/network/backbone/location/dependent.rb', line 26

def self.get_source_dependents_by_name(message)
  request(:get_source_dependents_by_name, Softlayer::Location, message)
end

Instance Method Details

#get_dependent_locationObject



17
18
19
# File 'lib/softlayer/network/backbone/location/dependent.rb', line 17

def get_dependent_location
  request(:get_dependent_location, Softlayer::Location)
end

#get_objectObject



21
22
23
# File 'lib/softlayer/network/backbone/location/dependent.rb', line 21

def get_object
  request(:get_object, Softlayer::Network::Backbone::Location::Dependent)
end

#get_source_locationObject



30
31
32
# File 'lib/softlayer/network/backbone/location/dependent.rb', line 30

def get_source_location
  request(:get_source_location, Softlayer::Location)
end