Class: Softlayer::Dns::Domain::Registration
- Inherits:
-
Entity
- Object
- Model
- Entity
- Softlayer::Dns::Domain::Registration
show all
- Defined in:
- lib/softlayer/dns/domain/registration.rb,
lib/softlayer/dns/domain/registration/status.rb,
lib/softlayer/dns/domain/registration/registrant.rb,
lib/softlayer/dns/domain/registration/registrant/verification.rb,
lib/softlayer/dns/domain/registration/registrant/verification/status.rb
Defined Under Namespace
Modules: Registrant
Classes: Representer, Status
Constant Summary
collapse
- SERVICE =
'SoftLayer_Dns_Domain_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, request, #request, service_name, #service_name, #to_hash
extended, #filter, included, #limit, #mask, #request_headers
Instance Attribute Details
#account ⇒ Object
Returns the value of attribute account.
17
18
19
|
# File 'lib/softlayer/dns/domain/registration.rb', line 17
def account
@account
end
|
#create_date ⇒ Object
Returns the value of attribute create_date.
8
9
10
|
# File 'lib/softlayer/dns/domain/registration.rb', line 8
def create_date
@create_date
end
|
#domain_registration_status ⇒ Object
Returns the value of attribute domain_registration_status.
18
19
20
|
# File 'lib/softlayer/dns/domain/registration.rb', line 18
def domain_registration_status
@domain_registration_status
end
|
#domain_registration_status_id ⇒ Object
Returns the value of attribute domain_registration_status_id.
9
10
11
|
# File 'lib/softlayer/dns/domain/registration.rb', line 9
def domain_registration_status_id
@domain_registration_status_id
end
|
#expire_date ⇒ Object
Returns the value of attribute expire_date.
10
11
12
|
# File 'lib/softlayer/dns/domain/registration.rb', line 10
def expire_date
@expire_date
end
|
#id ⇒ Object
Returns the value of attribute id.
11
12
13
|
# File 'lib/softlayer/dns/domain/registration.rb', line 11
def id
@id
end
|
#locked_flag ⇒ Object
Returns the value of attribute locked_flag.
12
13
14
|
# File 'lib/softlayer/dns/domain/registration.rb', line 12
def locked_flag
@locked_flag
end
|
#modify_date ⇒ Object
Returns the value of attribute modify_date.
13
14
15
|
# File 'lib/softlayer/dns/domain/registration.rb', line 13
def modify_date
@modify_date
end
|
#name ⇒ Object
Returns the value of attribute name.
14
15
16
|
# File 'lib/softlayer/dns/domain/registration.rb', line 14
def name
@name
end
|
#registrant_verification_status ⇒ Object
Returns the value of attribute registrant_verification_status.
19
20
21
|
# File 'lib/softlayer/dns/domain/registration.rb', line 19
def registrant_verification_status
@registrant_verification_status
end
|
#registrant_verification_status_id ⇒ Object
Returns the value of attribute registrant_verification_status_id.
15
16
17
|
# File 'lib/softlayer/dns/domain/registration.rb', line 15
def registrant_verification_status_id
@registrant_verification_status_id
end
|
#service_provider ⇒ Object
Returns the value of attribute service_provider.
20
21
22
|
# File 'lib/softlayer/dns/domain/registration.rb', line 20
def service_provider
@service_provider
end
|
#service_provider_id ⇒ Object
Returns the value of attribute service_provider_id.
16
17
18
|
# File 'lib/softlayer/dns/domain/registration.rb', line 16
def service_provider_id
@service_provider_id
end
|
Class Method Details
.get_extended_attributes(domain_name = nil) ⇒ Object
52
53
54
55
|
# File 'lib/softlayer/dns/domain/registration.rb', line 52
def self.get_extended_attributes(domain_name = nil)
message = {domain_name: domain_name}
request(:get_extended_attributes, Array[Softlayer::Container::Dns::Domain::Registration::ExtendedAttribute], message)
end
|
.lookup_domain(domain_name = nil) ⇒ Object
86
87
88
89
|
# File 'lib/softlayer/dns/domain/registration.rb', line 86
def self.lookup_domain(domain_name = nil)
message = {domain_name: domain_name}
request(:lookup_domain, Array[Softlayer::Container::Dns::Domain::Registration::Lookup], message)
end
|
Instance Method Details
#add_nameservers_to_domain(nameservers = nil) ⇒ Object
22
23
24
25
|
# File 'lib/softlayer/dns/domain/registration.rb', line 22
def add_nameservers_to_domain(nameservers = nil)
message = {nameservers: nameservers}
request(:add_nameservers_to_domain, Boolean, message)
end
|
#delete_registered_nameserver(nameserver = nil) ⇒ Object
27
28
29
30
|
# File 'lib/softlayer/dns/domain/registration.rb', line 27
def delete_registered_nameserver(nameserver = nil)
message = {nameserver: nameserver}
request(:delete_registered_nameserver, Boolean, message)
end
|
#get_account ⇒ Object
32
33
34
|
# File 'lib/softlayer/dns/domain/registration.rb', line 32
def get_account
request(:get_account, Softlayer::Account)
end
|
#get_authentication_code ⇒ Object
36
37
38
|
# File 'lib/softlayer/dns/domain/registration.rb', line 36
def get_authentication_code
request(:get_authentication_code, String)
end
|
#get_domain_information ⇒ Object
#get_domain_nameservers ⇒ Object
#get_domain_registration_status ⇒ Object
48
49
50
|
# File 'lib/softlayer/dns/domain/registration.rb', line 48
def get_domain_registration_status
request(:get_domain_registration_status, Softlayer::Dns::Domain::Registration::Status)
end
|
#get_registered_nameserver ⇒ Object
#get_registrant_verification_status ⇒ Object
#get_registrant_verification_status_detail ⇒ Object
#get_service_provider ⇒ Object
73
74
75
|
# File 'lib/softlayer/dns/domain/registration.rb', line 73
def get_service_provider
request(:get_service_provider, Softlayer::Service::Provider)
end
|
#lock_domain ⇒ Object
82
83
84
|
# File 'lib/softlayer/dns/domain/registration.rb', line 82
def lock_domain
request(:lock_domain, Boolean)
end
|
91
92
93
94
|
# File 'lib/softlayer/dns/domain/registration.rb', line 91
def modify_contact(contact = nil)
message = {contact: contact}
request(:modify_contact, Boolean, message)
end
|
#modify_registered_nameserver(old_nameserver = nil, new_nameserver = nil, ip_address = nil) ⇒ Object
96
97
98
99
|
# File 'lib/softlayer/dns/domain/registration.rb', line 96
def modify_registered_nameserver(old_nameserver = nil, new_nameserver = nil, ip_address = nil)
message = {old_nameserver: old_nameserver, new_nameserver: new_nameserver, ip_address: ip_address}
request(:modify_registered_nameserver, Boolean, message)
end
|
#register_nameserver(nameserver = nil, ip_address = nil) ⇒ Object
101
102
103
104
|
# File 'lib/softlayer/dns/domain/registration.rb', line 101
def register_nameserver(nameserver = nil, ip_address = nil)
message = {nameserver: nameserver, ip_address: ip_address}
request(:register_nameserver, Boolean, message)
end
|
#remove_nameservers_from_domain(nameservers = nil) ⇒ Object
106
107
108
109
|
# File 'lib/softlayer/dns/domain/registration.rb', line 106
def remove_nameservers_from_domain(nameservers = nil)
message = {nameservers: nameservers}
request(:remove_nameservers_from_domain, Boolean, message)
end
|
#send_authentication_code ⇒ Object
111
112
113
|
# File 'lib/softlayer/dns/domain/registration.rb', line 111
def send_authentication_code
request(:send_authentication_code, Boolean)
end
|
#send_registrant_verification_email ⇒ Object
115
116
117
|
# File 'lib/softlayer/dns/domain/registration.rb', line 115
def send_registrant_verification_email
request(:send_registrant_verification_email, Boolean)
end
|
#send_transfer_approval_email ⇒ Object
119
120
121
|
# File 'lib/softlayer/dns/domain/registration.rb', line 119
def send_transfer_approval_email
request(:send_transfer_approval_email, Boolean)
end
|
#set_authentication_code(authentication_code = nil) ⇒ Object
123
124
125
126
|
# File 'lib/softlayer/dns/domain/registration.rb', line 123
def set_authentication_code(authentication_code = nil)
message = {authentication_code: authentication_code}
request(:set_authentication_code, Boolean, message)
end
|
#unlock_domain ⇒ Object
128
129
130
|
# File 'lib/softlayer/dns/domain/registration.rb', line 128
def unlock_domain
request(:unlock_domain, Boolean)
end
|