| 1 | package XML::SRS::Domain::Update; | ||
| 2 | 1 | ▶ | BEGIN { |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 1 | $XML::SRS::Domain::Update::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 PRANG::XMLSchema::Types; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | 1 | ▶ | use XML::SRS::Types; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | 1 | ▶ | use Moose::Util::TypeConstraints; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | 1 | ▶ | use PRANG::Coerce; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 12 | 0 | ▶ | use XML::SRS::Server::List; |
|
Subroutine
BEGIN: called CC=1 SCAR=2.6
| |||
| 13 | use XML::SRS::DS::List; | ||
| 14 | use MooseX::Aliases; | ||
| 15 | use MooseX::Aliases::Meta::Trait::Attribute; | ||
| 16 | |||
| 17 | |||
| 18 | # attributes | ||
| 19 | has_attr 'udai' => | ||
| 20 | is => 'ro', | ||
| 21 | isa => 'XML::SRS::UDAI', | ||
| 22 | xml_name => 'UDAI', | ||
| 23 | xml_required => 0; | ||
| 24 | |||
| 25 | has_attr 'new_udai' => | ||
| 26 | is => 'rw', | ||
| 27 | isa => 'XML::SRS::Boolean', | ||
| 28 | xml_name => 'NewUDAI', | ||
| 29 | xml_required => 0; | ||
| 30 | |||
| 31 | has_attr 'registrant_ref' => | ||
| 32 | is => 'ro', | ||
| 33 | isa => 'XML::SRS::UID', | ||
| 34 | xml_name => 'RegistrantRef', | ||
| 35 | xml_required => 0, | ||
| 36 | ; | ||
| 37 | |||
| 38 | has_attr 'term' => | ||
| 39 | is => 'ro', | ||
| 40 | isa => 'XML::SRS::Term', | ||
| 41 | xml_name => 'Term', | ||
| 42 | xml_required => 0, | ||
| 43 | ; | ||
| 44 | |||
| 45 | has_attr 'delegate' => | ||
| 46 | is => 'rw', | ||
| 47 | isa => 'XML::SRS::Boolean', | ||
| 48 | xml_name => 'Delegate', | ||
| 49 | xml_required => 0, | ||
| 50 | ; | ||
| 51 | |||
| 52 | has_attr 'renew' => | ||
| 53 | is => 'ro', | ||
| 54 | isa => 'XML::SRS::Boolean', | ||
| 55 | xml_name => 'Renew', | ||
| 56 | xml_required => 0, | ||
| 57 | ; | ||
| 58 | |||
| 59 | has_attr 'no_auto_renew' => | ||
| 60 | is => 'ro', | ||
| 61 | isa => 'XML::SRS::Boolean', | ||
| 62 | xml_name => 'NoAutoRenew', | ||
| 63 | xml_required => 0, | ||
| 64 | ; | ||
| 65 | |||
| 66 | has_attr 'lock' => | ||
| 67 | is => 'ro', | ||
| 68 | isa => 'XML::SRS::Boolean', | ||
| 69 | xml_name => 'Lock', | ||
| 70 | xml_required => 0, | ||
| 71 | ; | ||
| 72 | |||
| 73 | has_attr 'cancel' => | ||
| 74 | is => 'ro', | ||
| 75 | isa => 'XML::SRS::Boolean', | ||
| 76 | xml_name => 'Cancel', | ||
| 77 | xml_required => 0, | ||
| 78 | ; | ||
| 79 | |||
| 80 | has_attr 'release' => | ||
| 81 | is => 'ro', | ||
| 82 | isa => 'XML::SRS::Boolean', | ||
| 83 | xml_name => 'Release', | ||
| 84 | xml_required => 0, | ||
| 85 | ; | ||
| 86 | |||
| 87 | has_attr 'full_result' => | ||
| 88 | is => 'ro', | ||
| 89 | isa => 'XML::SRS::Boolean', | ||
| 90 | xml_name => 'FullResult', | ||
| 91 | xml_required => 0, | ||
| 92 | ; | ||
| 93 | |||
| 94 | has_attr 'convert_contacts_to_handles' => | ||
| 95 | is => 'ro', | ||
| 96 | isa => 'XML::SRS::Boolean', | ||
| 97 | xml_name => 'ConvertContactsToHandles', | ||
| 98 | xml_required => 0, | ||
| 99 | ; | ||
| 100 | |||
| 101 | # elements | ||
| 102 | has_element 'domain_name_filter' => | ||
| 103 | is => 'ro', | ||
| 104 | isa => 'PRANG::Coerce::ArrayRefOfStrs', | ||
| 105 | xml_nodeName => 'DomainNameFilter', | ||
| 106 | xml_required => 1, | ||
| 107 | coerce => 1, | ||
| 108 | traits => [qw(Aliased)], | ||
| 109 | alias => 'filter', | ||
| 110 | ; | ||
| 111 | |||
| 112 | has_element 'contact_registrant' => | ||
| 113 | is => 'ro', | ||
| 114 | isa => 'XML::SRS::Contact', | ||
| 115 | xml_nodeName => 'RegistrantContact', | ||
| 116 | xml_required => 0, | ||
| 117 | coerce => 1, | ||
| 118 | ; | ||
| 119 | |||
| 120 | has_element 'contact_admin' => | ||
| 121 | is => 'ro', | ||
| 122 | isa => 'XML::SRS::Contact', | ||
| 123 | xml_nodeName => 'AdminContact', | ||
| 124 | xml_required => 0, | ||
| 125 | coerce => 1, | ||
| 126 | ; | ||
| 127 | |||
| 128 | has_element 'contact_technical' => | ||
| 129 | is => 'ro', | ||
| 130 | isa => 'XML::SRS::Contact', | ||
| 131 | xml_nodeName => 'TechnicalContact', | ||
| 132 | xml_required => 0, | ||
| 133 | coerce => 1, | ||
| 134 | ; | ||
| 135 | |||
| 136 | has_element 'nameservers' => | ||
| 137 | is => 'ro', | ||
| 138 | isa => 'XML::SRS::Server::List', | ||
| 139 | xml_nodeName => 'NameServers', | ||
| 140 | xml_required => 0, | ||
| 141 | coerce => 1, | ||
| 142 | ; | ||
| 143 | |||
| 144 | has_element "dns_sec" => | ||
| 145 | is => "rw", | ||
| 146 | isa => "XML::SRS::DS::List", | ||
| 147 | xml_nodeName => "DNSSEC", | ||
| 148 | xml_required => 0, | ||
| 149 | coerce => 1, | ||
| 150 | ; | ||
| 151 | |||
| 152 | with 'XML::SRS::Audit'; | ||
| 153 | |||
| 154 | sub root_element {'DomainUpdate'} | ||
| 155 | with 'XML::SRS::Action'; | ||
| 156 | |||
| 157 | 1; | ||
| 158 | |||
| 159 | __END__ | ||