Class: Softlayer::Network::Subnet::Swip::Transaction
- Inherits:
-
Entity
- Object
- Model
- Entity
- Softlayer::Network::Subnet::Swip::Transaction
show all
- Defined in:
- lib/softlayer/network/subnet/swip/transaction.rb
Defined Under Namespace
Classes: Representer
Constant Summary
collapse
- SERVICE =
'SoftLayer_Network_Subnet_Swip_Transaction'
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
extended, #filter, included, #limit, #mask, #request_headers
Instance Attribute Details
#account ⇒ Object
Returns the value of attribute account.
10
11
12
|
# File 'lib/softlayer/network/subnet/swip/transaction.rb', line 10
def account
@account
end
|
#id ⇒ Object
Returns the value of attribute id.
7
8
9
|
# File 'lib/softlayer/network/subnet/swip/transaction.rb', line 7
def id
@id
end
|
#status_name ⇒ Object
Returns the value of attribute status_name.
8
9
10
|
# File 'lib/softlayer/network/subnet/swip/transaction.rb', line 8
def status_name
@status_name
end
|
#subnet ⇒ Object
Returns the value of attribute subnet.
11
12
13
|
# File 'lib/softlayer/network/subnet/swip/transaction.rb', line 11
def subnet
@subnet
end
|
#subnet_id ⇒ Object
Returns the value of attribute subnet_id.
9
10
11
|
# File 'lib/softlayer/network/subnet/swip/transaction.rb', line 9
def subnet_id
@subnet_id
end
|
Class Method Details
.find_my_transactions ⇒ Object
.remove_all_subnet_swips ⇒ Object
29
30
31
|
# File 'lib/softlayer/network/subnet/swip/transaction.rb', line 29
def self.remove_all_subnet_swips
request(:remove_all_subnet_swips, Integer)
end
|
.swip_all_subnets ⇒ Object
41
42
43
|
# File 'lib/softlayer/network/subnet/swip/transaction.rb', line 41
def self.swip_all_subnets
request(:swip_all_subnets, Integer)
end
|
.update_all_subnet_swips ⇒ Object
45
46
47
|
# File 'lib/softlayer/network/subnet/swip/transaction.rb', line 45
def self.update_all_subnet_swips
request(:update_all_subnet_swips, Integer)
end
|
Instance Method Details
#get_account ⇒ Object
17
18
19
|
# File 'lib/softlayer/network/subnet/swip/transaction.rb', line 17
def get_account
request(:get_account, Softlayer::Account)
end
|
#get_subnet ⇒ Object
25
26
27
|
# File 'lib/softlayer/network/subnet/swip/transaction.rb', line 25
def get_subnet
request(:get_subnet, Softlayer::Network::Subnet)
end
|
#remove_swip_data ⇒ Object
33
34
35
|
# File 'lib/softlayer/network/subnet/swip/transaction.rb', line 33
def remove_swip_data
request(:remove_swip_data, Boolean)
end
|
#resend_swip_data ⇒ Object
37
38
39
|
# File 'lib/softlayer/network/subnet/swip/transaction.rb', line 37
def resend_swip_data
request(:resend_swip_data, Boolean)
end
|