Class: Softlayer::Network::Subnet::Registration
- Defined in:
- lib/softlayer/network/subnet/registration.rb,
lib/softlayer/network/subnet/registration/arin.rb,
lib/softlayer/network/subnet/registration/ripe.rb,
lib/softlayer/network/subnet/registration/apnic.rb,
lib/softlayer/network/subnet/registration/event.rb,
lib/softlayer/network/subnet/registration/status.rb,
lib/softlayer/network/subnet/registration/details.rb,
lib/softlayer/network/subnet/registration/event/type.rb
Defined Under Namespace
Classes: Apnic, Arin, Details, Event, Representer, Ripe, Status
Constant Summary collapse
- SERVICE =
'SoftLayer_Network_Subnet_Registration'
Instance Attribute Summary collapse
-
#account ⇒ Object
Returns the value of attribute account.
-
#account_id ⇒ Object
Returns the value of attribute account_id.
-
#cidr ⇒ Object
Returns the value of attribute cidr.
-
#create_date ⇒ Object
Returns the value of attribute create_date.
-
#detail_reference_count ⇒ Object
Returns the value of attribute detail_reference_count.
-
#detail_references ⇒ Object
Returns the value of attribute detail_references.
-
#event_count ⇒ Object
Returns the value of attribute event_count.
-
#events ⇒ Object
Returns the value of attribute events.
-
#id ⇒ Object
Returns the value of attribute id.
-
#modify_date ⇒ Object
Returns the value of attribute modify_date.
-
#network_detail ⇒ Object
Returns the value of attribute network_detail.
-
#network_handle ⇒ Object
Returns the value of attribute network_handle.
-
#network_identifier ⇒ Object
Returns the value of attribute network_identifier.
-
#person_detail ⇒ Object
Returns the value of attribute person_detail.
-
#regional_internet_registry ⇒ Object
Returns the value of attribute regional_internet_registry.
-
#regional_internet_registry_handle ⇒ Object
Returns the value of attribute regional_internet_registry_handle.
-
#regional_internet_registry_handle_id ⇒ Object
Returns the value of attribute regional_internet_registry_handle_id.
-
#regional_internet_registry_id ⇒ Object
Returns the value of attribute regional_internet_registry_id.
-
#status ⇒ Object
Returns the value of attribute status.
-
#status_id ⇒ Object
Returns the value of attribute status_id.
-
#subnet ⇒ Object
Returns the value of attribute subnet.
Class Method Summary collapse
- .create_object(template_object = nil) ⇒ Object
- .edit_registration_attached_details(person_object_skeleton = nil, network_object_skeleton = nil) ⇒ Object
Instance Method Summary collapse
- #clear_registration ⇒ Object
- #edit_object(template_object = nil) ⇒ Object
- #get_account ⇒ Object
- #get_detail_references ⇒ Object
- #get_events ⇒ Object
- #get_network_detail ⇒ Object
- #get_object ⇒ Object
- #get_person_detail ⇒ Object
- #get_regional_internet_registry ⇒ Object
- #get_regional_internet_registry_handle ⇒ Object
- #get_status ⇒ Object
- #get_subnet ⇒ Object
Methods inherited from Model
all, all_request_for, create, find, #init_headers, parse, request, #request, service_name, #service_name, #to_hash
Methods included from Model::Operations
extended, #filter, included, #limit, #mask, #request_headers
Instance Attribute Details
#account ⇒ Object
Returns the value of attribute account.
24 25 26 |
# File 'lib/softlayer/network/subnet/registration.rb', line 24 def account @account end |
#account_id ⇒ Object
Returns the value of attribute account_id.
12 13 14 |
# File 'lib/softlayer/network/subnet/registration.rb', line 12 def account_id @account_id end |
#cidr ⇒ Object
Returns the value of attribute cidr.
13 14 15 |
# File 'lib/softlayer/network/subnet/registration.rb', line 13 def cidr @cidr end |
#create_date ⇒ Object
Returns the value of attribute create_date.
14 15 16 |
# File 'lib/softlayer/network/subnet/registration.rb', line 14 def create_date @create_date end |
#detail_reference_count ⇒ Object
Returns the value of attribute detail_reference_count.
22 23 24 |
# File 'lib/softlayer/network/subnet/registration.rb', line 22 def detail_reference_count @detail_reference_count end |
#detail_references ⇒ Object
Returns the value of attribute detail_references.
25 26 27 |
# File 'lib/softlayer/network/subnet/registration.rb', line 25 def detail_references @detail_references end |
#event_count ⇒ Object
Returns the value of attribute event_count.
23 24 25 |
# File 'lib/softlayer/network/subnet/registration.rb', line 23 def event_count @event_count end |
#events ⇒ Object
Returns the value of attribute events.
26 27 28 |
# File 'lib/softlayer/network/subnet/registration.rb', line 26 def events @events end |
#id ⇒ Object
Returns the value of attribute id.
15 16 17 |
# File 'lib/softlayer/network/subnet/registration.rb', line 15 def id @id end |
#modify_date ⇒ Object
Returns the value of attribute modify_date.
16 17 18 |
# File 'lib/softlayer/network/subnet/registration.rb', line 16 def modify_date @modify_date end |
#network_detail ⇒ Object
Returns the value of attribute network_detail.
27 28 29 |
# File 'lib/softlayer/network/subnet/registration.rb', line 27 def network_detail @network_detail end |
#network_handle ⇒ Object
Returns the value of attribute network_handle.
17 18 19 |
# File 'lib/softlayer/network/subnet/registration.rb', line 17 def network_handle @network_handle end |
#network_identifier ⇒ Object
Returns the value of attribute network_identifier.
18 19 20 |
# File 'lib/softlayer/network/subnet/registration.rb', line 18 def network_identifier @network_identifier end |
#person_detail ⇒ Object
Returns the value of attribute person_detail.
28 29 30 |
# File 'lib/softlayer/network/subnet/registration.rb', line 28 def person_detail @person_detail end |
#regional_internet_registry ⇒ Object
Returns the value of attribute regional_internet_registry.
29 30 31 |
# File 'lib/softlayer/network/subnet/registration.rb', line 29 def regional_internet_registry @regional_internet_registry end |
#regional_internet_registry_handle ⇒ Object
Returns the value of attribute regional_internet_registry_handle.
30 31 32 |
# File 'lib/softlayer/network/subnet/registration.rb', line 30 def regional_internet_registry_handle @regional_internet_registry_handle end |
#regional_internet_registry_handle_id ⇒ Object
Returns the value of attribute regional_internet_registry_handle_id.
19 20 21 |
# File 'lib/softlayer/network/subnet/registration.rb', line 19 def regional_internet_registry_handle_id @regional_internet_registry_handle_id end |
#regional_internet_registry_id ⇒ Object
Returns the value of attribute regional_internet_registry_id.
20 21 22 |
# File 'lib/softlayer/network/subnet/registration.rb', line 20 def regional_internet_registry_id @regional_internet_registry_id end |
#status ⇒ Object
Returns the value of attribute status.
31 32 33 |
# File 'lib/softlayer/network/subnet/registration.rb', line 31 def status @status end |
#status_id ⇒ Object
Returns the value of attribute status_id.
21 22 23 |
# File 'lib/softlayer/network/subnet/registration.rb', line 21 def status_id @status_id end |
#subnet ⇒ Object
Returns the value of attribute subnet.
32 33 34 |
# File 'lib/softlayer/network/subnet/registration.rb', line 32 def subnet @subnet end |
Class Method Details
.create_object(template_object = nil) ⇒ Object
38 39 40 41 |
# File 'lib/softlayer/network/subnet/registration.rb', line 38 def self.create_object(template_object = nil) = {template_object: template_object} request(:create_object, Softlayer::Network::Subnet::Registration, ) end |
.edit_registration_attached_details(person_object_skeleton = nil, network_object_skeleton = nil) ⇒ Object
48 49 50 51 |
# File 'lib/softlayer/network/subnet/registration.rb', line 48 def self.edit_registration_attached_details(person_object_skeleton = nil, network_object_skeleton = nil) = {person_object_skeleton: person_object_skeleton, network_object_skeleton: network_object_skeleton} request(:edit_registration_attached_details, Boolean, ) end |
Instance Method Details
#clear_registration ⇒ Object
34 35 36 |
# File 'lib/softlayer/network/subnet/registration.rb', line 34 def clear_registration request(:clear_registration, Boolean) end |
#edit_object(template_object = nil) ⇒ Object
43 44 45 46 |
# File 'lib/softlayer/network/subnet/registration.rb', line 43 def edit_object(template_object = nil) = {template_object: template_object} request(:edit_object, Boolean, ) end |
#get_account ⇒ Object
53 54 55 |
# File 'lib/softlayer/network/subnet/registration.rb', line 53 def get_account request(:get_account, Softlayer::Account) end |
#get_detail_references ⇒ Object
57 58 59 |
# File 'lib/softlayer/network/subnet/registration.rb', line 57 def get_detail_references request(:get_detail_references, Array[Softlayer::Network::Subnet::Registration::Details]) end |
#get_events ⇒ Object
61 62 63 |
# File 'lib/softlayer/network/subnet/registration.rb', line 61 def get_events request(:get_events, Array[Softlayer::Network::Subnet::Registration::Event]) end |
#get_network_detail ⇒ Object
65 66 67 |
# File 'lib/softlayer/network/subnet/registration.rb', line 65 def get_network_detail request(:get_network_detail, Softlayer::Account::Regional::Registry::Detail) end |
#get_object ⇒ Object
69 70 71 |
# File 'lib/softlayer/network/subnet/registration.rb', line 69 def get_object request(:get_object, Softlayer::Network::Subnet::Registration) end |
#get_person_detail ⇒ Object
73 74 75 |
# File 'lib/softlayer/network/subnet/registration.rb', line 73 def get_person_detail request(:get_person_detail, Softlayer::Account::Regional::Registry::Detail) end |
#get_regional_internet_registry ⇒ Object
77 78 79 |
# File 'lib/softlayer/network/subnet/registration.rb', line 77 def get_regional_internet_registry request(:get_regional_internet_registry, Softlayer::Network::Regional::Internet::Registry) end |
#get_regional_internet_registry_handle ⇒ Object
81 82 83 |
# File 'lib/softlayer/network/subnet/registration.rb', line 81 def get_regional_internet_registry_handle request(:get_regional_internet_registry_handle, Softlayer::Account::Rwhois::Handle) end |
#get_status ⇒ Object
85 86 87 |
# File 'lib/softlayer/network/subnet/registration.rb', line 85 def get_status request(:get_status, Softlayer::Network::Subnet::Registration::Status) end |