Class: Softlayer::Software::AccountLicense

Inherits:
Entity
  • Object
show all
Defined in:
lib/softlayer/software/account_license.rb

Defined Under Namespace

Classes: Representer

Constant Summary collapse

SERVICE =
'SoftLayer_Software_AccountLicense'

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

#accountObject

Returns the value of attribute account.



9
10
11
# File 'lib/softlayer/software/account_license.rb', line 9

def 
  @account
end

#account_idObject

Returns the value of attribute account_id.



5
6
7
# File 'lib/softlayer/software/account_license.rb', line 5

def 
  @account_id
end

#billing_itemObject

Returns the value of attribute billing_item.



10
11
12
# File 'lib/softlayer/software/account_license.rb', line 10

def billing_item
  @billing_item
end

#capacityObject

Returns the value of attribute capacity.



6
7
8
# File 'lib/softlayer/software/account_license.rb', line 6

def capacity
  @capacity
end

#keyObject

Returns the value of attribute key.



7
8
9
# File 'lib/softlayer/software/account_license.rb', line 7

def key
  @key
end

#software_descriptionObject

Returns the value of attribute software_description.



11
12
13
# File 'lib/softlayer/software/account_license.rb', line 11

def software_description
  @software_description
end

#unitsObject

Returns the value of attribute units.



8
9
10
# File 'lib/softlayer/software/account_license.rb', line 8

def units
  @units
end

Class Method Details

.get_all_objectsObject



17
18
19
# File 'lib/softlayer/software/account_license.rb', line 17

def self.get_all_objects
  request(:get_all_objects, Array[Softlayer::Software::AccountLicense])
end

Instance Method Details

#get_accountObject



13
14
15
# File 'lib/softlayer/software/account_license.rb', line 13

def 
  request(:get_account, Softlayer::Account)
end

#get_billing_itemObject



21
22
23
# File 'lib/softlayer/software/account_license.rb', line 21

def get_billing_item
  request(:get_billing_item, Softlayer::Billing::Item)
end

#get_objectObject



25
26
27
# File 'lib/softlayer/software/account_license.rb', line 25

def get_object
  request(:get_object, Softlayer::Software::AccountLicense)
end

#get_software_descriptionObject



29
30
31
# File 'lib/softlayer/software/account_license.rb', line 29

def get_software_description
  request(:get_software_description, Softlayer::Software::Description)
end