| 1 | package XML::SRS::Domain::Create; | ||
| 2 | 1 | ▶ | BEGIN { |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 1 | $XML::SRS::Domain::Create::VERSION = '0.09'; | |
| 4 | } | ||
| 5 | |||
| 6 | 1 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | 1 | ▶ | use PRANG::Graph; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | 1 | ▶ | use XML::SRS::Types; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | 0 | ▶ | use XML::SRS::Server::List; |
|
Subroutine
BEGIN: called CC=1 SCAR=2.6
| |||
| 10 | use XML::SRS::DS::List; | ||
| 11 | |||
| 12 | has_attr 'domain_name' => | ||
| 13 | is => "ro", | ||
| 14 | isa => "XML::SRS::DomainName", | ||
| 15 | xml_name => "DomainName", | ||
| 16 | required => 1, | ||
| 17 | ; | ||
| 18 | |||
| 19 | has_attr 'domain_name_unicode' => | ||
| 20 | is => "ro", | ||
| 21 | isa => "Str", | ||
| 22 | xml_name => "DomainNameUnicode", | ||
| 23 | ; | ||
| 24 | |||
| 25 | has_attr 'registrant_ref' => | ||
| 26 | is => "ro", | ||
| 27 | isa => "XML::SRS::UID", | ||
| 28 | xml_name => "RegistrantRef", | ||
| 29 | xml_required => 0, | ||
| 30 | ; | ||
| 31 | |||
| 32 | has_attr 'term' => | ||
| 33 | is => "ro", | ||
| 34 | isa => "XML::SRS::Term", | ||
| 35 | xml_name => "Term", | ||
| 36 | required => 1, | ||
| 37 | ; | ||
| 38 | |||
| 39 | has_attr 'delegate' => | ||
| 40 | is => "ro", | ||
| 41 | isa => "XML::SRS::Boolean", | ||
| 42 | xml_name => "Delegate", | ||
| 43 | xml_required => 0, | ||
| 44 | ; | ||
| 45 | |||
| 46 | has_element 'contact_registrant' => | ||
| 47 | is => "ro", | ||
| 48 | isa => "XML::SRS::Contact", | ||
| 49 | xml_nodeName => "RegistrantContact", | ||
| 50 | required => 1, | ||
| 51 | coerce => 1, | ||
| 52 | ; | ||
| 53 | |||
| 54 | has_element 'contact_admin' => | ||
| 55 | is => "ro", | ||
| 56 | isa => "XML::SRS::Contact", | ||
| 57 | xml_nodeName => "AdminContact", | ||
| 58 | xml_required => 0, | ||
| 59 | coerce => 1, | ||
| 60 | ; | ||
| 61 | |||
| 62 | has_element 'contact_technical' => | ||
| 63 | is => "ro", | ||
| 64 | isa => "XML::SRS::Contact", | ||
| 65 | xml_nodeName => "TechnicalContact", | ||
| 66 | xml_required => 0, | ||
| 67 | coerce => 1, | ||
| 68 | ; | ||
| 69 | |||
| 70 | has_element "nameservers" => | ||
| 71 | is => "rw", | ||
| 72 | isa => "XML::SRS::Server::List", | ||
| 73 | xml_nodeName => "NameServers", | ||
| 74 | xml_required => 0, | ||
| 75 | coerce => 1, | ||
| 76 | ; | ||
| 77 | |||
| 78 | has_element "dns_sec" => | ||
| 79 | is => "rw", | ||
| 80 | isa => "XML::SRS::DS::List", | ||
| 81 | xml_nodeName => "DNSSEC", | ||
| 82 | xml_required => 0, | ||
| 83 | coerce => 1, | ||
| 84 | ; | ||
| 85 | |||
| 86 | with 'XML::SRS::Audit'; | ||
| 87 | |||
| 88 | sub root_element {'DomainCreate'} | ||
| 89 | with 'XML::SRS::Action'; | ||
| 90 | |||
| 91 | 1; | ||
| 92 | |||
| 93 | __END__ | ||