| 1 | |||
| 2 | package XML::SRS::Registrar::Update; | ||
| 3 | 1 | ▶ | BEGIN { |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 1 | $XML::SRS::Registrar::Update::VERSION = '0.09'; | |
| 5 | } | ||
| 6 | |||
| 7 | 1 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | 1 | ▶ | use PRANG::Graph; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | |||
| 10 | has_attr 'name' => | ||
| 11 | is => "ro", | ||
| 12 | isa => "Str", | ||
| 13 | xml_name => "Name", | ||
| 14 | xml_required => 0, | ||
| 15 | ; | ||
| 16 | |||
| 17 | has_attr 'account_reference' => | ||
| 18 | is => "ro", | ||
| 19 | isa => "Str", | ||
| 20 | xml_name => "AccRef", | ||
| 21 | xml_required => 0, | ||
| 22 | ; | ||
| 23 | |||
| 24 | has_attr 'url' => | ||
| 25 | is => "ro", | ||
| 26 | isa => "Str", | ||
| 27 | xml_name => "URL", | ||
| 28 | xml_required => 0, | ||
| 29 | ; | ||
| 30 | |||
| 31 | has_element 'contact_public' => | ||
| 32 | is => "rw", | ||
| 33 | isa => "XML::SRS::Contact", | ||
| 34 | xml_nodeName => "RegistrarPublicContact", | ||
| 35 | coerce => 1, | ||
| 36 | xml_required => 0, | ||
| 37 | ; | ||
| 38 | |||
| 39 | has_element 'contact_private' => | ||
| 40 | is => "rw", | ||
| 41 | isa => "XML::SRS::Contact", | ||
| 42 | xml_nodeName => "RegistrarSRSContact", | ||
| 43 | coerce => 1, | ||
| 44 | xml_required => 0, | ||
| 45 | ; | ||
| 46 | |||
| 47 | has_element 'contact_technical' => | ||
| 48 | is => "rw", | ||
| 49 | isa => "XML::SRS::Contact", | ||
| 50 | xml_nodeName => "DefaultTechnicalContact", | ||
| 51 | coerce => 1, | ||
| 52 | xml_required => 0, | ||
| 53 | ; | ||
| 54 | |||
| 55 | has_element 'keyring' => | ||
| 56 | is => "rw", | ||
| 57 | isa => "XML::SRS::Keyring", | ||
| 58 | xml_nodeName => "EncryptKeys", | ||
| 59 | xml_required => 0, | ||
| 60 | ; | ||
| 61 | |||
| 62 | 0 | ▶ | use XML::SRS::Password; |
|
Subroutine
BEGIN: called CC=1 SCAR=2.6
| |||
| 63 | has_element 'epp_auth' => | ||
| 64 | is => "rw", | ||
| 65 | isa => "XML::SRS::Password", | ||
| 66 | xml_nodeName => "EPPAuth", | ||
| 67 | coerce => 1, | ||
| 68 | predicate => "has_epp_auth", | ||
| 69 | xml_required => 0, | ||
| 70 | ; | ||
| 71 | |||
| 72 | has_element 'allowed_zones' => | ||
| 73 | is => "rw", | ||
| 74 | isa => "XML::SRS::Zone::List", | ||
| 75 | xml_nodeName => "Allowed2LDs", | ||
| 76 | predicate => "has_allowed_zones", | ||
| 77 | xml_required => 0, | ||
| 78 | ; | ||
| 79 | |||
| 80 | has_element 'roles' => | ||
| 81 | is => "rw", | ||
| 82 | isa => "XML::SRS::Role::List", | ||
| 83 | xml_nodeName => "Roles", | ||
| 84 | predicate => "has_roles", | ||
| 85 | xml_required => 0, | ||
| 86 | ; | ||
| 87 | |||
| 88 | has_element 'audit' => | ||
| 89 | is => "rw", | ||
| 90 | isa => "XML::SRS::AuditDetails", | ||
| 91 | xml_nodeName => "AuditDetails", | ||
| 92 | predicate => "has_audit", | ||
| 93 | xml_required => 0, | ||
| 94 | ; | ||
| 95 | |||
| 96 | sub root_element {"RegistrarUpdate"} | ||
| 97 | with 'XML::SRS::Action'; | ||
| 98 | |||
| 99 | 1; | ||