Class: Softlayer::Location::Reservation::Rack::Member

Inherits:
Entity
  • Object
show all
Defined in:
lib/softlayer/location/reservation/rack/member.rb

Defined Under Namespace

Classes: Representer

Constant Summary collapse

SERVICE =
'SoftLayer_Location_Reservation_Rack_Member'

Instance Attribute 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

#idObject

Returns the value of attribute id.



7
8
9
# File 'lib/softlayer/location/reservation/rack/member.rb', line 7

def id
  @id
end

#locationObject

Returns the value of attribute location.



9
10
11
# File 'lib/softlayer/location/reservation/rack/member.rb', line 9

def location
  @location
end

#location_idObject

Returns the value of attribute location_id.



8
9
10
# File 'lib/softlayer/location/reservation/rack/member.rb', line 8

def location_id
  @location_id
end

#location_reservation_rackObject

Returns the value of attribute location_reservation_rack.



10
11
12
# File 'lib/softlayer/location/reservation/rack/member.rb', line 10

def location_reservation_rack
  @location_reservation_rack
end

Instance Method Details

#get_locationObject



12
13
14
# File 'lib/softlayer/location/reservation/rack/member.rb', line 12

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

#get_location_reservation_rackObject



16
17
18
# File 'lib/softlayer/location/reservation/rack/member.rb', line 16

def get_location_reservation_rack
  request(:get_location_reservation_rack, Softlayer::Location::Reservation)
end

#get_objectObject



20
21
22
# File 'lib/softlayer/location/reservation/rack/member.rb', line 20

def get_object
  request(:get_object, Softlayer::Location::Reservation::Rack::Member)
end