Class: Softlayer::Dns::Domain::ResourceRecord::SrvType
- Inherits:
-
Softlayer::Dns::Domain::ResourceRecord
- Object
- Model
- Entity
- Softlayer::Dns::Domain::ResourceRecord
- Softlayer::Dns::Domain::ResourceRecord::SrvType
- Defined in:
- lib/softlayer/dns/domain/resource_record/srv_type.rb
Defined Under Namespace
Classes: Representer
Constant Summary collapse
- SERVICE =
'SoftLayer_Dns_Domain_ResourceRecord_SrvType'
Instance Attribute Summary collapse
-
#port ⇒ Object
Returns the value of attribute port.
-
#priority ⇒ Object
Returns the value of attribute priority.
-
#protocol ⇒ Object
Returns the value of attribute protocol.
-
#service ⇒ Object
Returns the value of attribute service.
-
#weight ⇒ Object
Returns the value of attribute weight.
Attributes inherited from Softlayer::Dns::Domain::ResourceRecord
#data, #domain, #domain_id, #expire, #host, #id, #minimum, #mx_priority, #refresh, #responsible_person, #retry, #ttl, #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
#port ⇒ Object
Returns the value of attribute port.
7 8 9 |
# File 'lib/softlayer/dns/domain/resource_record/srv_type.rb', line 7 def port @port end |
#priority ⇒ Object
Returns the value of attribute priority.
8 9 10 |
# File 'lib/softlayer/dns/domain/resource_record/srv_type.rb', line 8 def priority @priority end |
#protocol ⇒ Object
Returns the value of attribute protocol.
9 10 11 |
# File 'lib/softlayer/dns/domain/resource_record/srv_type.rb', line 9 def protocol @protocol end |
#service ⇒ Object
Returns the value of attribute service.
10 11 12 |
# File 'lib/softlayer/dns/domain/resource_record/srv_type.rb', line 10 def service @service end |
#weight ⇒ Object
Returns the value of attribute weight.
11 12 13 |
# File 'lib/softlayer/dns/domain/resource_record/srv_type.rb', line 11 def weight @weight end |
Class Method Details
.create_object(message) ⇒ Object
template_object
14 15 16 |
# File 'lib/softlayer/dns/domain/resource_record/srv_type.rb', line 14 def self.create_object() request(:create_object, Softlayer::Dns::Domain::ResourceRecord::SrvType, ) end |
.create_objects(message) ⇒ Object
template_objects
19 20 21 |
# File 'lib/softlayer/dns/domain/resource_record/srv_type.rb', line 19 def self.create_objects() request(:create_objects, Array[Softlayer::Dns::Domain::ResourceRecord], ) end |
.delete_objects(message) ⇒ Object
template_objects
28 29 30 |
# File 'lib/softlayer/dns/domain/resource_record/srv_type.rb', line 28 def self.delete_objects() request(:delete_objects, Boolean, ) end |
.edit_objects(message) ⇒ Object
template_objects
38 39 40 |
# File 'lib/softlayer/dns/domain/resource_record/srv_type.rb', line 38 def self.edit_objects() request(:edit_objects, Boolean, ) end |
Instance Method Details
#delete_object ⇒ Object
23 24 25 |
# File 'lib/softlayer/dns/domain/resource_record/srv_type.rb', line 23 def delete_object request(:delete_object, Boolean) end |
#edit_object(message) ⇒ Object
template_object
33 34 35 |
# File 'lib/softlayer/dns/domain/resource_record/srv_type.rb', line 33 def edit_object() request(:edit_object, Boolean, ) end |
#get_domain ⇒ Object
42 43 44 |
# File 'lib/softlayer/dns/domain/resource_record/srv_type.rb', line 42 def get_domain request(:get_domain, Softlayer::Dns::Domain) end |
#get_object ⇒ Object
46 47 48 |
# File 'lib/softlayer/dns/domain/resource_record/srv_type.rb', line 46 def get_object request(:get_object, Softlayer::Dns::Domain::ResourceRecord::SrvType) end |