Class: Softlayer::Network::Subnet::Registration

Inherits:
Entity
  • Object
show all
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

Direct Known Subclasses

Apnic, Arin, Ripe

Defined Under Namespace

Classes: Apnic, Arin, Details, Event, Representer, Ripe, Status

Constant Summary collapse

SERVICE =
'SoftLayer_Network_Subnet_Registration'

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.



24
25
26
# File 'lib/softlayer/network/subnet/registration.rb', line 24

def 
  @account
end

#account_idObject

Returns the value of attribute account_id.



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

def 
  @account_id
end

#cidrObject

Returns the value of attribute cidr.



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

def cidr
  @cidr
end

#create_dateObject

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_countObject

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_referencesObject

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_countObject

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

#eventsObject

Returns the value of attribute events.



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

def events
  @events
end

#idObject

Returns the value of attribute id.



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

def id
  @id
end

#modify_dateObject

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_detailObject

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_handleObject

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_identifierObject

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_detailObject

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_registryObject

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_handleObject

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_idObject

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_idObject

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

#statusObject

Returns the value of attribute status.



31
32
33
# File 'lib/softlayer/network/subnet/registration.rb', line 31

def status
  @status
end

#status_idObject

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

#subnetObject

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(message) ⇒ Object

template_object



39
40
41
# File 'lib/softlayer/network/subnet/registration.rb', line 39

def self.create_object(message)
  request(:create_object, Softlayer::Network::Subnet::Registration, message)
end

.edit_registration_attached_details(message) ⇒ Object

person_object_skeleton network_object_skeleton



50
51
52
# File 'lib/softlayer/network/subnet/registration.rb', line 50

def self.edit_registration_attached_details(message)
  request(:edit_registration_attached_details, Boolean, message)
end

Instance Method Details

#clear_registrationObject



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

def clear_registration
  request(:clear_registration, Boolean)
end

#edit_object(message) ⇒ Object

template_object



44
45
46
# File 'lib/softlayer/network/subnet/registration.rb', line 44

def edit_object(message)
  request(:edit_object, Boolean, message)
end

#get_accountObject



54
55
56
# File 'lib/softlayer/network/subnet/registration.rb', line 54

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

#get_detail_referencesObject



58
59
60
# File 'lib/softlayer/network/subnet/registration.rb', line 58

def get_detail_references
  request(:get_detail_references, Array[Softlayer::Network::Subnet::Registration::Details])
end

#get_eventsObject



62
63
64
# File 'lib/softlayer/network/subnet/registration.rb', line 62

def get_events
  request(:get_events, Array[Softlayer::Network::Subnet::Registration::Event])
end

#get_network_detailObject



66
67
68
# File 'lib/softlayer/network/subnet/registration.rb', line 66

def get_network_detail
  request(:get_network_detail, Softlayer::Account::Regional::Registry::Detail)
end

#get_objectObject



70
71
72
# File 'lib/softlayer/network/subnet/registration.rb', line 70

def get_object
  request(:get_object, Softlayer::Network::Subnet::Registration)
end

#get_person_detailObject



74
75
76
# File 'lib/softlayer/network/subnet/registration.rb', line 74

def get_person_detail
  request(:get_person_detail, Softlayer::Account::Regional::Registry::Detail)
end

#get_regional_internet_registryObject



78
79
80
# File 'lib/softlayer/network/subnet/registration.rb', line 78

def get_regional_internet_registry
  request(:get_regional_internet_registry, Softlayer::Network::Regional::Internet::Registry)
end

#get_regional_internet_registry_handleObject



82
83
84
# File 'lib/softlayer/network/subnet/registration.rb', line 82

def get_regional_internet_registry_handle
  request(:get_regional_internet_registry_handle, Softlayer::Account::Rwhois::Handle)
end

#get_statusObject



86
87
88
# File 'lib/softlayer/network/subnet/registration.rb', line 86

def get_status
  request(:get_status, Softlayer::Network::Subnet::Registration::Status)
end

#get_subnetObject



90
91
92
# File 'lib/softlayer/network/subnet/registration.rb', line 90

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