Class: Softlayer::Software::VirtualLicense

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

Defined Under Namespace

Classes: Representer

Constant Summary collapse

SERVICE =
'SoftLayer_Software_VirtualLicense'

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

#accountObject

Returns the value of attribute account.



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

def 
  @account
end

#account_idObject

Returns the value of attribute account_id.



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

def 
  @account_id
end

#billing_itemObject

Returns the value of attribute billing_item.



14
15
16
# File 'lib/softlayer/software/virtual_license.rb', line 14

def billing_item
  @billing_item
end

#host_hardwareObject

Returns the value of attribute host_hardware.



15
16
17
# File 'lib/softlayer/software/virtual_license.rb', line 15

def host_hardware
  @host_hardware
end

#host_hardware_idObject

Returns the value of attribute host_hardware_id.



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

def host_hardware_id
  @host_hardware_id
end

#idObject

Returns the value of attribute id.



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

def id
  @id
end

#ip_addressObject

Returns the value of attribute ip_address.



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

def ip_address
  @ip_address
end

#ip_address_recordObject

Returns the value of attribute ip_address_record.



16
17
18
# File 'lib/softlayer/software/virtual_license.rb', line 16

def ip_address_record
  @ip_address_record
end

#keyObject

Returns the value of attribute key.



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

def key
  @key
end

#notesObject

Returns the value of attribute notes.



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

def notes
  @notes
end

#software_descriptionObject

Returns the value of attribute software_description.



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

def software_description
  @software_description
end

#software_description_idObject

Returns the value of attribute software_description_id.



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

def software_description_id
  @software_description_id
end

#subnetObject

Returns the value of attribute subnet.



18
19
20
# File 'lib/softlayer/software/virtual_license.rb', line 18

def subnet
  @subnet
end

#subnet_idObject

Returns the value of attribute subnet_id.



12
13
14
# File 'lib/softlayer/software/virtual_license.rb', line 12

def subnet_id
  @subnet_id
end

Instance Method Details

#get_accountObject



20
21
22
# File 'lib/softlayer/software/virtual_license.rb', line 20

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

#get_billing_itemObject



24
25
26
# File 'lib/softlayer/software/virtual_license.rb', line 24

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

#get_host_hardwareObject



28
29
30
# File 'lib/softlayer/software/virtual_license.rb', line 28

def get_host_hardware
  request(:get_host_hardware, Softlayer::Hardware::Server)
end

#get_ip_address_recordObject



32
33
34
# File 'lib/softlayer/software/virtual_license.rb', line 32

def get_ip_address_record
  request(:get_ip_address_record, Softlayer::Network::Subnet::IpAddress)
end

#get_license_fileObject



36
37
38
# File 'lib/softlayer/software/virtual_license.rb', line 36

def get_license_file
  request(:get_license_file, Softlayer::Base64Binary)
end

#get_objectObject



40
41
42
# File 'lib/softlayer/software/virtual_license.rb', line 40

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

#get_software_descriptionObject



44
45
46
# File 'lib/softlayer/software/virtual_license.rb', line 44

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

#get_subnetObject



48
49
50
# File 'lib/softlayer/software/virtual_license.rb', line 48

def get_subnet
  request(:get_subnet, Softlayer::Network::Subnet)
end