File Coverage

blib/lib/XML/EPP/Contact/Info/Response.pm
Criterion Covered Total %
statement 1 3 33.3
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 2 4 50.0


line stmt bran cond sub pod time code
1             package XML::EPP::Contact::Info::Response;
2              
3 1     1   3614 use Moose;
  0            
  0            
4             use PRANG::Graph;
5              
6             sub root_element { 'infData' }
7              
8             with
9             'XML::EPP::Contact::RS',
10             'XML::EPP::Contact::Node',
11             ;
12              
13             has_element 'id' =>
14             is => 'ro',
15             isa => 'XML::EPP::Common::clIDType',
16             ;
17              
18             has_element 'roid' =>
19             is => 'ro',
20             isa => 'XML::EPP::Common::roidType'
21             ;
22              
23             use XML::EPP::Contact::Status;
24             has_element 'status' =>
25             is => 'ro',
26             isa => 'ArrayRef[XML::EPP::Contact::Status]',
27             xml_min => 0,
28             xml_max => 7,
29             ;
30              
31             use XML::EPP::Contact::PostalInfo;
32             has_element 'postal_info' =>
33             is => 'ro',
34             isa => 'ArrayRef[XML::EPP::Contact::PostalInfo]',
35             xml_nodeName => "postalInfo",
36             xml_min => 0,
37             xml_max => 2,
38             ;
39              
40             has_element 'voice' =>
41             is => 'ro',
42             isa => 'XML::EPP::Contact::E164',
43             xml_required => 0,
44             ;
45              
46             has_element 'fax' =>
47             is => 'ro',
48             isa => 'XML::EPP::Contact::E164',
49             xml_required => 0,
50             ;
51              
52             has_element 'email' =>
53             is => 'ro',
54             isa => 'XML::EPP::Common::minTokenType',
55             ;
56              
57             has_element 'client_id' =>
58             is => 'ro',
59             isa => 'XML::EPP::Common::clIDType',
60             xml_nodeName => 'clID',
61             ;
62              
63             has_element 'creator_id' =>
64             is => 'ro',
65             isa => 'XML::EPP::Common::clIDType',
66             xml_nodeName => "crID",
67             xml_required => 0,
68             ;
69              
70             has_element 'created' =>
71             is => "rw",
72             isa => "PRANG::XMLSchema::dateTime",
73             xml_nodeName => "crDate",
74             xml_required => 0,
75             ;
76              
77             has_element 'updated_by_id' =>
78             is => 'ro',
79             isa => 'XML::EPP::Common::clIDType',
80             xml_nodeName => 'upID',
81             xml_required => 0,
82             ;
83              
84             has_element 'updated' =>
85             is => "rw",
86             isa => "PRANG::XMLSchema::dateTime",
87             xml_nodeName => 'upDate',
88             xml_required => 0,
89             ;
90              
91             has_element 'trDate' =>
92             is => "rw",
93             isa => "PRANG::XMLSchema::dateTime",
94             xml_required => 0,
95             ;
96              
97             has_element 'auth_info' =>
98             is => 'ro',
99             isa => 'XML::EPP::Contact::AuthInfo',
100             xml_required => 0,
101             xml_nodeName => 'authInfo',
102             ;
103              
104             has_element 'disclose' =>
105             is => 'ro',
106             isa => 'XML::EPP::Contact::Disclose',
107             xml_required => 0,
108             ;
109              
110             1;
111              
112             =head1 NAME
113              
114             ? - implement ?
115              
116             =head1 SYNOPSIS
117              
118             TODO
119              
120             =head1 DESCRIPTION
121              
122             ...
123              
124             =head2 XML Schema Definition
125              
126             <!--
127             <info> response elements.
128             -->
129             <complexType name="infDataType">
130             <sequence>
131             <element name="id" type="eppcom:clIDType"/>
132             <element name="roid" type="eppcom:roidType"/>
133             <element name="status" type="contact:statusType"
134             maxOccurs="7"/>
135             <element name="postalInfo" type="contact:postalInfoType"
136             maxOccurs="2"/>
137             <element name="voice" type="contact:e164Type"
138             minOccurs="0"/>
139             <element name="fax" type="contact:e164Type"
140             minOccurs="0"/>
141             <element name="email" type="eppcom:minTokenType"/>
142             <element name="clID" type="eppcom:clIDType"/>
143             <element name="crID" type="eppcom:clIDType"/>
144             <element name="crDate" type="dateTime"/>
145             <element name="upID" type="eppcom:clIDType"
146             minOccurs="0"/>
147             <element name="upDate" type="dateTime"
148             minOccurs="0"/>
149             <element name="trDate" type="dateTime"
150             minOccurs="0"/>
151             <element name="authInfo" type="contact:authInfoType"
152             minOccurs="0"/>
153             <element name="disclose" type="contact:discloseType"
154             minOccurs="0"/>
155             </sequence>
156             </complexType>
157              
158             =cut