| 1 | package XML::EPP::Contact::Disclose; | ||
| 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 Moose::Util::TypeConstraints; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | with 'XML::EPP::Contact::Node'; | ||
| 8 | |||
| 9 | my $PKG = __PACKAGE__; | ||
| 10 | |||
| 11 | has_element 'name' => | ||
| 12 | is => 'ro', | ||
| 13 | isa => 'ArrayRef[XML::EPP::Contact::Location]', | ||
| 14 | xml_min => 0, | ||
| 15 | xml_max => 2, | ||
| 16 | ; | ||
| 17 | |||
| 18 | has_element 'org' => | ||
| 19 | is => 'ro', | ||
| 20 | isa => 'ArrayRef[XML::EPP::Contact::Location]', | ||
| 21 | xml_min => 0, | ||
| 22 | xml_max => 2, | ||
| 23 | ; | ||
| 24 | |||
| 25 | has_element 'addr' => | ||
| 26 | is => 'ro', | ||
| 27 | isa => 'ArrayRef[XML::EPP::Contact::Location]', | ||
| 28 | xml_min => 0, | ||
| 29 | xml_max => 2, | ||
| 30 | ; | ||
| 31 | |||
| 32 | has_element 'voice' => | ||
| 33 | is => 'ro', | ||
| 34 | isa => 'Bool', | ||
| 35 | required => 0, | ||
| 36 | ; | ||
| 37 | |||
| 38 | has_element 'fax' => | ||
| 39 | is => 'ro', | ||
| 40 | isa => 'Bool', | ||
| 41 | required => 0, | ||
| 42 | ; | ||
| 43 | |||
| 44 | has_element 'email' => | ||
| 45 | is => 'ro', | ||
| 46 | isa => 'Bool', | ||
| 47 | required => 0, | ||
| 48 | ; | ||
| 49 | |||
| 50 | has_attr 'flag' => | ||
| 51 | is => 'ro', | ||
| 52 | isa => 'PRANG::XMLSchema::boolean' | ||
| 53 | ; | ||
| 54 | |||
| 55 | =head1 NAME | ||
| 56 | |||
| 57 | ? - implement ? | ||
| 58 | |||
| 59 | =head1 SYNOPSIS | ||
| 60 | |||
| 61 | TODO | ||
| 62 | |||
| 63 | =head1 DESCRIPTION | ||
| 64 | |||
| 65 | ... | ||
| 66 | |||
| 67 | =head2 XML Schema Definition | ||
| 68 | |||
| 69 | <complexType name="discloseType"> | ||
| 70 | <sequence> | ||
| 71 | <element name="name" type="contact:intLocType" | ||
| 72 | minOccurs="0" maxOccurs="2"/> | ||
| 73 | <element name="org" type="contact:intLocType" | ||
| 74 | minOccurs="0" maxOccurs="2"/> | ||
| 75 | <element name="addr" type="contact:intLocType" | ||
| 76 | minOccurs="0" maxOccurs="2"/> | ||
| 77 | <element name="voice" minOccurs="0"/> | ||
| 78 | <element name="fax" minOccurs="0"/> | ||
| 79 | <element name="email" minOccurs="0"/> | ||
| 80 | </sequence> | ||
| 81 | <attribute name="flag" type="boolean" use="required"/> | ||
| 82 | </complexType> | ||
| 83 | |||
| 84 | =cut | ||