EPP/Host/Info/Response.pm

filter: Statementstmt 70.0% 7 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 3 / 4 Podpod n/a totaltotal 71.4% 10 / 14 CC 1 SCAR 2.8
CC
1
Cov
70%
root_element
2.0
BEGIN
1.3
BEGIN
1.0
CRAP 1.3
« EPP/Host/Create.pm ↑ Summary EPP/Host/Notification.pm »
1 package XML::EPP::Host::Info::Response;
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 0 ▶sub root_element { "infData" }
Subroutine root_element: not called CC=1 SCAR=6.9
6  
7 with
8 'XML::EPP::Host::RS',
9 'XML::EPP::Host::Node',
10 ;
11  
12 has_element 'name' =>
13 is => "ro",
14 isa => "XML::EPP::Common::labelType",
15 ;
16  
17 has_element 'roid' =>
18 is => "ro",
19 isa => "XML::EPP::Common::roidType",
20 ;
21  
22 0 ▶use XML::EPP::Host::Status;
Subroutine BEGIN: called CC=1 SCAR=2.6
23 has_element 'status' =>
24 is => "ro",
25 isa => "ArrayRef[XML::EPP::Host::Status]",
26 xml_max => 7,
27 required => 1,
28 ;
29  
30 use XML::EPP::Host::Address;
31 has_element 'addresses' =>
32 is => "ro",
33 isa => "ArrayRef[XML::EPP::Host::Address]",
34 xml_min => 0,
35 xml_nodeName => "addr",
36 ;
37  
38 has_element 'client_id' =>
39 is => "ro",
40 isa => "XML::EPP::Common::clIDType",
41 xml_nodeName => "clID",
42 ;
43  
44 has_element 'creator_id' =>
45 is => "ro",
46 isa => "XML::EPP::Common::clIDType",
47 xml_nodeName => "crID",
48 ;
49  
50 has_element 'created' =>
51 is => "ro",
52 isa => "PRANG::XMLSchema::dateTime",
53 xml_nodeName => "crDate",
54 ;
55  
56 has_element 'updated_by_id' =>
57 is => "ro",
58 isa => "XML::EPP::Common::clIDType",
59 xml_nodeName => "upID",
60 xml_min => 0,
61 ;
62  
63 has_element 'updated' =>
64 is => "ro",
65 isa => "PRANG::XMLSchema::dateTime",
66 xml_nodeName => "upDate", # lol... see also man date
67 predicate => "has_updated",
68 ;
69  
70 has_element 'transferred' =>
71 is => "ro",
72 isa => "PRANG::XMLSchema::dateTime",
73 xml_nodeName => "trDate",
74 xml_min => 1,
75 ;
76  
77 1;
78  
79 =head1 NAME
80  
81 ? - implement ?
82  
83 =head1 SYNOPSIS
84  
85 TODO
86  
87 =head1 DESCRIPTION
88  
89 ...
90  
91 =head2 XML Schema Definition
92  
93 <!--
94 <info> response elements.
95 -->
96 <complexType name="infDataType">
97 <sequence>
98 <element name="name" type="eppcom:labelType"/>
99 <element name="roid" type="eppcom:roidType"/>
100 <element name="status" type="host:statusType"
101 maxOccurs="7"/>
102 <element name="addr" type="host:addrType"
103 minOccurs="0" maxOccurs="unbounded"/>
104 <element name="clID" type="eppcom:clIDType"/>
105 <element name="crID" type="eppcom:clIDType"/>
106 <element name="crDate" type="dateTime"/>
107 <element name="upID" type="eppcom:clIDType"
108 minOccurs="0"/>
109 <element name="upDate" type="dateTime"
110 minOccurs="0"/>
111 <element name="trDate" type="dateTime"
112 minOccurs="0"/>
113 </sequence>
114 </complexType>
115  
116 =cut
« EPP/Host/Create.pm ↑ Summary EPP/Host/Notification.pm »