| 1 | package XML::EPP::Domain::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 | ▶ | use XML::EPP::Domain; |
|
Subroutine
BEGIN: called CC=1 SCAR=2.6
| |||
| 6 | |||
| 7 | sub root_element { 'infData' } | ||
| 8 | |||
| 9 | with | ||
| 10 | 'XML::EPP::Domain::RS', | ||
| 11 | 'XML::EPP::Domain::Node', | ||
| 12 | ; | ||
| 13 | |||
| 14 | has_element 'name' => | ||
| 15 | is => 'ro', | ||
| 16 | isa => 'XML::EPP::Common::labelType', | ||
| 17 | ; | ||
| 18 | |||
| 19 | has_element 'roid' => | ||
| 20 | is => 'ro', | ||
| 21 | isa => 'XML::EPP::Common::roidType' | ||
| 22 | ; | ||
| 23 | |||
| 24 | use XML::EPP::Domain::Status; | ||
| 25 | has_element 'status' => | ||
| 26 | is => 'ro', | ||
| 27 | isa => 'ArrayRef[XML::EPP::Domain::Status]', | ||
| 28 | xml_min => 0, | ||
| 29 | xml_max => 11, | ||
| 30 | ; | ||
| 31 | |||
| 32 | has_element 'registrant' => | ||
| 33 | is => 'ro', | ||
| 34 | isa => 'XML::EPP::Common::clIDType', | ||
| 35 | xml_required => 0, | ||
| 36 | ; | ||
| 37 | |||
| 38 | has_element 'contact' => | ||
| 39 | is => 'ro', | ||
| 40 | isa => 'ArrayRef[XML::EPP::Domain::Contact]', | ||
| 41 | xml_min => 0, | ||
| 42 | ; | ||
| 43 | |||
| 44 | use XML::EPP::Domain::NS::List; | ||
| 45 | has_element 'ns' => | ||
| 46 | is => 'ro', | ||
| 47 | isa => 'XML::EPP::Domain::NS::List', | ||
| 48 | xml_required => 0, | ||
| 49 | ; | ||
| 50 | |||
| 51 | has_element 'host' => | ||
| 52 | is => 'ro', | ||
| 53 | isa => 'ArrayRef[XML::EPP::Common::labelType]', | ||
| 54 | xml_min => 0, | ||
| 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 | coerce => 1, | ||
| 74 | xml_nodeName => "crDate", | ||
| 75 | xml_required => 0, | ||
| 76 | ; | ||
| 77 | |||
| 78 | has_element 'updated_by_id' => | ||
| 79 | is => 'ro', | ||
| 80 | isa => 'XML::EPP::Common::clIDType', | ||
| 81 | xml_nodeName => 'upID', | ||
| 82 | xml_required => 0, | ||
| 83 | ; | ||
| 84 | |||
| 85 | has_element 'updated' => | ||
| 86 | is => "rw", | ||
| 87 | isa => "PRANG::XMLSchema::dateTime", | ||
| 88 | coerce => 1, | ||
| 89 | xml_nodeName => 'upDate', | ||
| 90 | xml_required => 0, | ||
| 91 | ; | ||
| 92 | |||
| 93 | has_element 'expiry_date' => | ||
| 94 | is => "rw", | ||
| 95 | isa => "PRANG::XMLSchema::dateTime", | ||
| 96 | coerce => 1, | ||
| 97 | xml_required => 0, | ||
| 98 | xml_nodeName => 'exDate', | ||
| 99 | ; | ||
| 100 | |||
| 101 | has_element 'transfer_date' => | ||
| 102 | is => "rw", | ||
| 103 | isa => "PRANG::XMLSchema::dateTime", | ||
| 104 | coerce => 1, | ||
| 105 | xml_required => 0, | ||
| 106 | xml_nodeName => "trDate", | ||
| 107 | ; | ||
| 108 | |||
| 109 | has_element 'auth_info' => | ||
| 110 | is => 'ro', | ||
| 111 | isa => 'XML::EPP::Domain::AuthInfo', | ||
| 112 | xml_required => 0, | ||
| 113 | xml_nodeName => 'authInfo', | ||
| 114 | ; | ||
| 115 | |||
| 116 | 1; | ||
| 117 | |||
| 118 | =head1 NAME | ||
| 119 | |||
| 120 | ? - implement ? | ||
| 121 | |||
| 122 | =head1 SYNOPSIS | ||
| 123 | |||
| 124 | TODO | ||
| 125 | |||
| 126 | =head1 DESCRIPTION | ||
| 127 | |||
| 128 | ... | ||
| 129 | |||
| 130 | =head2 XML Schema Definition | ||
| 131 | |||
| 132 | <!-- | ||
| 133 | <info> response elements. | ||
| 134 | --> | ||
| 135 | <complexType name="infDataType"> | ||
| 136 | <sequence> | ||
| 137 | <element name="name" type="eppcom:labelType"/> | ||
| 138 | <element name="roid" type="eppcom:roidType"/> | ||
| 139 | <element name="status" type="domain:statusType" | ||
| 140 | minOccurs="0" maxOccurs="11"/> | ||
| 141 | <element name="registrant" type="eppcom:clIDType" | ||
| 142 | minOccurs="0"/> | ||
| 143 | <element name="contact" type="domain:contactType" | ||
| 144 | minOccurs="0" maxOccurs="unbounded"/> | ||
| 145 | <element name="ns" type="domain:nsType" | ||
| 146 | minOccurs="0"/> | ||
| 147 | <element name="host" type="eppcom:labelType" | ||
| 148 | minOccurs="0" maxOccurs="unbounded"/> | ||
| 149 | <element name="clID" type="eppcom:clIDType"/> | ||
| 150 | <element name="crID" type="eppcom:clIDType" | ||
| 151 | minOccurs="0"/> | ||
| 152 | <element name="crDate" type="dateTime" | ||
| 153 | minOccurs="0"/> | ||
| 154 | <element name="upID" type="eppcom:clIDType" | ||
| 155 | minOccurs="0"/> | ||
| 156 | <element name="upDate" type="dateTime" | ||
| 157 | minOccurs="0"/> | ||
| 158 | <element name="exDate" type="dateTime" | ||
| 159 | minOccurs="0"/> | ||
| 160 | <element name="trDate" type="dateTime" | ||
| 161 | minOccurs="0"/> | ||
| 162 | <element name="authInfo" type="domain:authInfoType" | ||
| 163 | minOccurs="0"/> | ||
| 164 | </sequence> | ||
| 165 | </complexType> | ||
| 166 | |||
| 167 | =cut | ||