#include <DomainCreateCmd.H>
Inheritance diagram for DomainCreateCmd:
Public Member Functions | |
DomainCreateCmd (bool reset=true) | |
Default constructor. | |
void | set_name (string name) |
Sets domain name. | |
string | get_name () |
Returns domain name. | |
void | set_period (int time, string unit) |
Sets domain registration period. | |
Period | get_period () |
Returns domain registration period. | |
void | insert_nameserver (const struct NameServer &nameserver) |
Inserts a nameserver to the list of nameservers. | |
vector< struct NameServer > | get_nameservers () |
Returns a list of nameservers. | |
void | set_registrant (string registrant) |
Sets registrant. | |
string | get_registrant () |
Returns registrant. | |
void | insert_contact (string type, string identification) |
Inserts a contact in the map of other contacts. | |
map< string, string, less< string > > | get_contacts () |
Returns map of other contacts. | |
void | set_authInfo (const AuthInfo &authInfo) |
Sets authorization information. | |
AuthInfo | get_authInfo () |
Returns authorization information. | |
void | reset () |
Reset object attributes. | |
Protected Attributes | |
string | _name |
fully qualified domain name | |
Period | _period |
initial registration period of the domain object | |
vector< struct NameServer > | _nameservers |
name servers associated with domain object | |
string | _registrant |
registrant | |
map< string, string, less< string > > | _contacts |
other contact objects | |
AuthInfo | _authInfo |
Authorization information. | |
Classes | |
struct | Period |
|
Returns authorization information.
|
|
Returns map of other contacts.
|
|
Returns domain name.
|
|
Returns a list of nameservers.
|
|
Returns domain registration period.
|
|
Returns registrant.
|
|
Inserts a contact in the map of other contacts.
|
|
Inserts a nameserver to the list of nameservers.
|
|
Sets authorization information.
|
|
Sets domain name.
|
|
Sets domain registration period.
|
|
Sets registrant.
|