Class: Softlayer::Dns::Secondary
- Defined in:
- lib/softlayer/dns/secondary.rb
Defined Under Namespace
Classes: Representer
Constant Summary collapse
- SERVICE =
'SoftLayer_Dns_Secondary'
Instance Attribute Summary collapse
-
#account ⇒ Object
Returns the value of attribute account.
-
#create_date ⇒ Object
Returns the value of attribute create_date.
-
#domain ⇒ Object
Returns the value of attribute domain.
-
#error_message_count ⇒ Object
Returns the value of attribute error_message_count.
-
#error_messages ⇒ Object
Returns the value of attribute error_messages.
-
#id ⇒ Object
Returns the value of attribute id.
-
#last_update ⇒ Object
Returns the value of attribute last_update.
-
#master_ip_address ⇒ Object
Returns the value of attribute master_ip_address.
-
#status ⇒ Object
Returns the value of attribute status.
-
#status_id ⇒ Object
Returns the value of attribute status_id.
-
#status_text ⇒ Object
Returns the value of attribute status_text.
-
#transfer_frequency ⇒ Object
Returns the value of attribute transfer_frequency.
-
#zone_name ⇒ Object
Returns the value of attribute zone_name.
Class Method Summary collapse
-
.create_object(message) ⇒ Object
template_object.
-
.create_objects(message) ⇒ Object
template_objects.
-
.get_by_domain_name(message) ⇒ Object
name.
Instance Method Summary collapse
- #convert_to_primary ⇒ Object
- #delete_object ⇒ Object
-
#edit_object(message) ⇒ Object
template_object.
- #get_account ⇒ Object
- #get_domain ⇒ Object
- #get_error_messages ⇒ Object
- #get_object ⇒ Object
- #get_status ⇒ Object
- #transfer_now ⇒ Object
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
#account ⇒ Object
Returns the value of attribute account.
14 15 16 |
# File 'lib/softlayer/dns/secondary.rb', line 14 def account @account end |
#create_date ⇒ Object
Returns the value of attribute create_date.
5 6 7 |
# File 'lib/softlayer/dns/secondary.rb', line 5 def create_date @create_date end |
#domain ⇒ Object
Returns the value of attribute domain.
15 16 17 |
# File 'lib/softlayer/dns/secondary.rb', line 15 def domain @domain end |
#error_message_count ⇒ Object
Returns the value of attribute error_message_count.
13 14 15 |
# File 'lib/softlayer/dns/secondary.rb', line 13 def @error_message_count end |
#error_messages ⇒ Object
Returns the value of attribute error_messages.
16 17 18 |
# File 'lib/softlayer/dns/secondary.rb', line 16 def @error_messages end |
#id ⇒ Object
Returns the value of attribute id.
6 7 8 |
# File 'lib/softlayer/dns/secondary.rb', line 6 def id @id end |
#last_update ⇒ Object
Returns the value of attribute last_update.
7 8 9 |
# File 'lib/softlayer/dns/secondary.rb', line 7 def last_update @last_update end |
#master_ip_address ⇒ Object
Returns the value of attribute master_ip_address.
8 9 10 |
# File 'lib/softlayer/dns/secondary.rb', line 8 def master_ip_address @master_ip_address end |
#status ⇒ Object
Returns the value of attribute status.
17 18 19 |
# File 'lib/softlayer/dns/secondary.rb', line 17 def status @status end |
#status_id ⇒ Object
Returns the value of attribute status_id.
9 10 11 |
# File 'lib/softlayer/dns/secondary.rb', line 9 def status_id @status_id end |
#status_text ⇒ Object
Returns the value of attribute status_text.
10 11 12 |
# File 'lib/softlayer/dns/secondary.rb', line 10 def status_text @status_text end |
#transfer_frequency ⇒ Object
Returns the value of attribute transfer_frequency.
11 12 13 |
# File 'lib/softlayer/dns/secondary.rb', line 11 def transfer_frequency @transfer_frequency end |
#zone_name ⇒ Object
Returns the value of attribute zone_name.
12 13 14 |
# File 'lib/softlayer/dns/secondary.rb', line 12 def zone_name @zone_name end |
Class Method Details
.create_object(message) ⇒ Object
template_object
24 25 26 |
# File 'lib/softlayer/dns/secondary.rb', line 24 def self.create_object() request(:create_object, Softlayer::Dns::Secondary, ) end |
Instance Method Details
#convert_to_primary ⇒ Object
19 20 21 |
# File 'lib/softlayer/dns/secondary.rb', line 19 def convert_to_primary request(:convert_to_primary, Boolean) end |
#delete_object ⇒ Object
33 34 35 |
# File 'lib/softlayer/dns/secondary.rb', line 33 def delete_object request(:delete_object, Boolean) end |
#edit_object(message) ⇒ Object
template_object
38 39 40 |
# File 'lib/softlayer/dns/secondary.rb', line 38 def edit_object() request(:edit_object, Boolean, ) end |
#get_account ⇒ Object
42 43 44 |
# File 'lib/softlayer/dns/secondary.rb', line 42 def get_account request(:get_account, Softlayer::Account) end |
#get_domain ⇒ Object
51 52 53 |
# File 'lib/softlayer/dns/secondary.rb', line 51 def get_domain request(:get_domain, Softlayer::Dns::Domain) end |
#get_error_messages ⇒ Object
55 56 57 |
# File 'lib/softlayer/dns/secondary.rb', line 55 def request(:get_error_messages, Array[Softlayer::Dns::Message]) end |
#get_object ⇒ Object
59 60 61 |
# File 'lib/softlayer/dns/secondary.rb', line 59 def get_object request(:get_object, Softlayer::Dns::Secondary) end |
#get_status ⇒ Object
63 64 65 |
# File 'lib/softlayer/dns/secondary.rb', line 63 def get_status request(:get_status, Softlayer::Dns::Status) end |
#transfer_now ⇒ Object
67 68 69 |
# File 'lib/softlayer/dns/secondary.rb', line 67 def transfer_now request(:transfer_now, Boolean) end |