Class: Softlayer::Network::Subnet::IpAddress::Global

Inherits:
Entity
  • Object
show all
Defined in:
lib/softlayer/network/subnet/ip_address/global.rb

Defined Under Namespace

Classes: Representer

Constant Summary collapse

SERVICE =
'SoftLayer_Network_Subnet_IpAddress_Global'

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.



12
13
14
# File 'lib/softlayer/network/subnet/ip_address/global.rb', line 12

def 
  @account
end

#active_transactionObject

Returns the value of attribute active_transaction.



13
14
15
# File 'lib/softlayer/network/subnet/ip_address/global.rb', line 13

def active_transaction
  @active_transaction
end

#billing_itemObject

Returns the value of attribute billing_item.



14
15
16
# File 'lib/softlayer/network/subnet/ip_address/global.rb', line 14

def billing_item
  @billing_item
end

#descriptionObject

Returns the value of attribute description.



7
8
9
# File 'lib/softlayer/network/subnet/ip_address/global.rb', line 7

def description
  @description
end

#destination_ip_addressObject

Returns the value of attribute destination_ip_address.



15
16
17
# File 'lib/softlayer/network/subnet/ip_address/global.rb', line 15

def destination_ip_address
  @destination_ip_address
end

#destination_ip_address_idObject

Returns the value of attribute destination_ip_address_id.



8
9
10
# File 'lib/softlayer/network/subnet/ip_address/global.rb', line 8

def destination_ip_address_id
  @destination_ip_address_id
end

#idObject

Returns the value of attribute id.



9
10
11
# File 'lib/softlayer/network/subnet/ip_address/global.rb', line 9

def id
  @id
end

#ip_addressObject

Returns the value of attribute ip_address.



16
17
18
# File 'lib/softlayer/network/subnet/ip_address/global.rb', line 16

def ip_address
  @ip_address
end

#ip_address_idObject

Returns the value of attribute ip_address_id.



10
11
12
# File 'lib/softlayer/network/subnet/ip_address/global.rb', line 10

def ip_address_id
  @ip_address_id
end

#type_idObject

Returns the value of attribute type_id.



11
12
13
# File 'lib/softlayer/network/subnet/ip_address/global.rb', line 11

def type_id
  @type_id
end

Instance Method Details

#get_accountObject



18
19
20
# File 'lib/softlayer/network/subnet/ip_address/global.rb', line 18

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

#get_active_transactionObject



22
23
24
# File 'lib/softlayer/network/subnet/ip_address/global.rb', line 22

def get_active_transaction
  request(:get_active_transaction, Softlayer::Provisioning::Version1::Transaction)
end

#get_billing_itemObject



26
27
28
# File 'lib/softlayer/network/subnet/ip_address/global.rb', line 26

def get_billing_item
  request(:get_billing_item, Softlayer::Billing::Item::Network::Subnet::IpAddress::Global)
end

#get_destination_ip_addressObject



30
31
32
# File 'lib/softlayer/network/subnet/ip_address/global.rb', line 30

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

#get_ip_addressObject



34
35
36
# File 'lib/softlayer/network/subnet/ip_address/global.rb', line 34

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

#get_objectObject



38
39
40
# File 'lib/softlayer/network/subnet/ip_address/global.rb', line 38

def get_object
  request(:get_object, Softlayer::Network::Subnet::IpAddress::Global)
end

#route(message) ⇒ Object

new_end_point_ip_address



43
44
45
# File 'lib/softlayer/network/subnet/ip_address/global.rb', line 43

def route(message)
  request(:route, Softlayer::Provisioning::Version1::Transaction, message)
end

#unrouteObject



47
48
49
# File 'lib/softlayer/network/subnet/ip_address/global.rb', line 47

def unroute
  request(:unroute, Softlayer::Provisioning::Version1::Transaction)
end