SRS/Domain/Update.pm

filter: Statementstmt 83.3% 10 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 87.5% 14 / 16 SCAR 0.0
CC
1
Cov
83%
BEGIN
1.3
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« SRS/Domain/Create.pm ↑ Summary SRS/Handle/Create.pm »
1 package XML::SRS::Domain::Update;
2  
3 1 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use PRANG::Graph;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use XML::SRS::Types;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 1 ▶use XML::SRS::Server::List;
Subroutine BEGIN: called CC=1 SCAR=2.6
7  
8 # attributes
9 has_attr 'udai' =>
10 is => 'ro',
11 isa => 'XML::SRS::UDAI',
12 xml_name => 'UDAI',
13 xml_required => 0;
14  
15 has_attr 'new_udai' =>
16 is => 'ro',
17 isa => 'XML::SRS::UDAI',
18 xml_name => 'NewUDAI',
19 xml_required => 0;
20  
21 has_attr 'registrant_ref' =>
22 is => 'ro',
23 isa => 'XML::SRS::UID',
24 xml_name => 'RegistrantRef',
25 xml_required => 0,
26 ;
27  
28 has_attr 'term' =>
29 is => 'ro',
30 isa => 'XML::SRS::Term',
31 xml_name => 'Term',
32 xml_required => 0,
33 ;
34  
35 has_attr 'delegate' =>
36 is => 'ro',
37 isa => 'XML::SRS::Boolean',
38 xml_name => 'Delegate',
39 xml_required => 0,
40 ;
41  
42 has_attr 'renew' =>
43 is => 'ro',
44 isa => 'XML::SRS::Boolean',
45 xml_name => 'Renew',
46 xml_required => 0,
47 ;
48  
49 has_attr 'no_auto_renew' =>
50 is => 'ro',
51 isa => 'XML::SRS::Boolean',
52 xml_name => 'NoAutoRenew',
53 xml_required => 0,
54 ;
55  
56 has_attr 'lock' =>
57 is => 'ro',
58 isa => 'XML::SRS::Boolean',
59 xml_name => 'Lock',
60 xml_required => 0,
61 ;
62  
63 has_attr 'cancel' =>
64 is => 'ro',
65 isa => 'XML::SRS::Boolean',
66 xml_name => 'Cancel',
67 xml_required => 0,
68 ;
69  
70 has_attr 'release' =>
71 is => 'ro',
72 isa => 'XML::SRS::Boolean',
73 xml_name => 'Release',
74 xml_required => 0,
75 ;
76  
77 has_attr 'full_result' =>
78 is => 'ro',
79 isa => 'XML::SRS::Boolean',
80 xml_name => 'FullResult',
81 xml_required => 0,
82 ;
83  
84 # elements
85 has_element 'filter' =>
86 is => 'ro',
87 isa => 'ArrayRef[Str]',
88 xml_nodeName => 'DomainNameFilter',
89 xml_required => 1,
90 ;
91  
92 has_element 'contact_registrant' =>
93 is => 'ro',
94 isa => 'XML::SRS::Contact',
95 xml_nodeName => 'RegistrantContact',
96 xml_required => 0,
97 ;
98  
99 has_element 'contact_admin' =>
100 is => 'ro',
101 isa => 'XML::SRS::Contact',
102 xml_nodeName => 'AdminContact',
103 xml_required => 0,
104 ;
105  
106 has_element 'contact_technical' =>
107 is => 'ro',
108 isa => 'XML::SRS::Contact',
109 xml_nodeName => 'TechnicalContact',
110 xml_required => 0,
111 ;
112  
113 has_element 'nameservers' =>
114 is => 'ro',
115 isa => 'XML::SRS::Server::List',
116 xml_nodeName => 'NameServers',
117 xml_required => 0,
118 ;
119  
120 with 'XML::SRS::Audit';
121  
122 sub root_element { 'DomainUpdate' }
123 with 'XML::SRS::Action';
124  
125 1;
« SRS/Domain/Create.pm ↑ Summary SRS/Handle/Create.pm »