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