Class: Softlayer::Dns::Domain::ResourceRecord
- Defined in:
- lib/softlayer/dns/domain/resource_record.rb,
lib/softlayer/dns/domain/resource_record/a_type.rb,
lib/softlayer/dns/domain/resource_record/mx_type.rb,
lib/softlayer/dns/domain/resource_record/ns_type.rb,
lib/softlayer/dns/domain/resource_record/ptr_type.rb,
lib/softlayer/dns/domain/resource_record/soa_type.rb,
lib/softlayer/dns/domain/resource_record/spf_type.rb,
lib/softlayer/dns/domain/resource_record/srv_type.rb,
lib/softlayer/dns/domain/resource_record/txt_type.rb,
lib/softlayer/dns/domain/resource_record/aaaa_type.rb,
lib/softlayer/dns/domain/resource_record/cname_type.rb
Direct Known Subclasses
AType, AaaaType, CnameType, MxType, NsType, PtrType, SoaType, SrvType, TxtType
Defined Under Namespace
Classes: AType, AaaaType, CnameType, MxType, NsType, PtrType, Representer, SoaType, SpfType, SrvType, TxtType
Constant Summary collapse
- SERVICE =
'SoftLayer_Dns_Domain_ResourceRecord'
Instance Attribute Summary collapse
-
#data ⇒ Object
Returns the value of attribute data.
-
#domain ⇒ Object
Returns the value of attribute domain.
-
#domain_id ⇒ Object
Returns the value of attribute domain_id.
-
#expire ⇒ Object
Returns the value of attribute expire.
-
#host ⇒ Object
Returns the value of attribute host.
-
#id ⇒ Object
Returns the value of attribute id.
-
#minimum ⇒ Object
Returns the value of attribute minimum.
-
#mx_priority ⇒ Object
Returns the value of attribute mx_priority.
-
#refresh ⇒ Object
Returns the value of attribute refresh.
-
#responsible_person ⇒ Object
Returns the value of attribute responsible_person.
-
#retry ⇒ Object
Returns the value of attribute retry.
-
#ttl ⇒ Object
Returns the value of attribute ttl.
-
#type ⇒ Object
Returns the value of attribute type.
Class Method Summary collapse
-
.create_object(message) ⇒ Object
template_object.
-
.create_objects(message) ⇒ Object
template_objects.
-
.delete_objects(message) ⇒ Object
template_objects.
-
.edit_objects(message) ⇒ Object
template_objects.
Instance Method Summary collapse
- #delete_object ⇒ Object
-
#edit_object(message) ⇒ Object
template_object.
- #get_domain ⇒ Object
- #get_object ⇒ 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
#data ⇒ Object
Returns the value of attribute data.
16 17 18 |
# File 'lib/softlayer/dns/domain/resource_record.rb', line 16 def data @data end |
#domain ⇒ Object
Returns the value of attribute domain.
28 29 30 |
# File 'lib/softlayer/dns/domain/resource_record.rb', line 28 def domain @domain end |
#domain_id ⇒ Object
Returns the value of attribute domain_id.
17 18 19 |
# File 'lib/softlayer/dns/domain/resource_record.rb', line 17 def domain_id @domain_id end |
#expire ⇒ Object
Returns the value of attribute expire.
18 19 20 |
# File 'lib/softlayer/dns/domain/resource_record.rb', line 18 def expire @expire end |
#host ⇒ Object
Returns the value of attribute host.
19 20 21 |
# File 'lib/softlayer/dns/domain/resource_record.rb', line 19 def host @host end |
#id ⇒ Object
Returns the value of attribute id.
20 21 22 |
# File 'lib/softlayer/dns/domain/resource_record.rb', line 20 def id @id end |
#minimum ⇒ Object
Returns the value of attribute minimum.
21 22 23 |
# File 'lib/softlayer/dns/domain/resource_record.rb', line 21 def minimum @minimum end |
#mx_priority ⇒ Object
Returns the value of attribute mx_priority.
22 23 24 |
# File 'lib/softlayer/dns/domain/resource_record.rb', line 22 def mx_priority @mx_priority end |
#refresh ⇒ Object
Returns the value of attribute refresh.
23 24 25 |
# File 'lib/softlayer/dns/domain/resource_record.rb', line 23 def refresh @refresh end |
#responsible_person ⇒ Object
Returns the value of attribute responsible_person.
24 25 26 |
# File 'lib/softlayer/dns/domain/resource_record.rb', line 24 def responsible_person @responsible_person end |
#retry ⇒ Object
Returns the value of attribute retry.
25 26 27 |
# File 'lib/softlayer/dns/domain/resource_record.rb', line 25 def retry @retry end |
#ttl ⇒ Object
Returns the value of attribute ttl.
26 27 28 |
# File 'lib/softlayer/dns/domain/resource_record.rb', line 26 def ttl @ttl end |
#type ⇒ Object
Returns the value of attribute type.
27 28 29 |
# File 'lib/softlayer/dns/domain/resource_record.rb', line 27 def type @type end |
Class Method Details
.create_object(message) ⇒ Object
template_object
31 32 33 |
# File 'lib/softlayer/dns/domain/resource_record.rb', line 31 def self.create_object() request(:create_object, Softlayer::Dns::Domain::ResourceRecord, ) end |
.create_objects(message) ⇒ Object
template_objects
36 37 38 |
# File 'lib/softlayer/dns/domain/resource_record.rb', line 36 def self.create_objects() request(:create_objects, Array[Softlayer::Dns::Domain::ResourceRecord], ) end |
.delete_objects(message) ⇒ Object
template_objects
45 46 47 |
# File 'lib/softlayer/dns/domain/resource_record.rb', line 45 def self.delete_objects() request(:delete_objects, Boolean, ) end |
.edit_objects(message) ⇒ Object
template_objects
55 56 57 |
# File 'lib/softlayer/dns/domain/resource_record.rb', line 55 def self.edit_objects() request(:edit_objects, Boolean, ) end |
Instance Method Details
#delete_object ⇒ Object
40 41 42 |
# File 'lib/softlayer/dns/domain/resource_record.rb', line 40 def delete_object request(:delete_object, Boolean) end |
#edit_object(message) ⇒ Object
template_object
50 51 52 |
# File 'lib/softlayer/dns/domain/resource_record.rb', line 50 def edit_object() request(:edit_object, Boolean, ) end |
#get_domain ⇒ Object
59 60 61 |
# File 'lib/softlayer/dns/domain/resource_record.rb', line 59 def get_domain request(:get_domain, Softlayer::Dns::Domain) end |
#get_object ⇒ Object
63 64 65 |
# File 'lib/softlayer/dns/domain/resource_record.rb', line 63 def get_object request(:get_object, Softlayer::Dns::Domain::ResourceRecord) end |