Class: Softlayer::Provisioning::Maintenance::Slots

Inherits:
Entity
  • Object
show all
Defined in:
lib/softlayer/provisioning/maintenance/slots.rb

Defined Under Namespace

Classes: Representer

Constant Summary collapse

SERVICE =
'SoftLayer_Provisioning_Maintenance_Slots'

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

#available_slotsObject

Returns the value of attribute available_slots.



6
7
8
# File 'lib/softlayer/provisioning/maintenance/slots.rb', line 6

def available_slots
  @available_slots
end

Instance Method Details

#get_objectObject



8
9
10
# File 'lib/softlayer/provisioning/maintenance/slots.rb', line 8

def get_object
  request(:get_object, Softlayer::Provisioning::Maintenance::Slots)
end