| 1 | |||
| 2 | package XML::SRS::ACL::Entry; | ||
| 3 | |||
| 4 | 1 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 1 | ▶ | use PRANG::Graph; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | 1 | has_attr 'Address' => | |
| 8 | is => "ro", | ||
| 9 | isa => "Str", # actually an IPv4/IPv6 address/network | ||
| 10 | xml_required => 0, | ||
| 11 | ; | ||
| 12 | |||
| 13 | 1 | has_attr 'DomainName' => | |
| 14 | is => "ro", | ||
| 15 | isa => "Str", # actually an valid domain name | ||
| 16 | xml_required => 0, | ||
| 17 | ; | ||
| 18 | |||
| 19 | 1 | has_attr 'RegistrarId' => | |
| 20 | is => "ro", | ||
| 21 | isa => "XML::SRS::RegistrarId", | ||
| 22 | xml_required => 0, | ||
| 23 | ; | ||
| 24 | |||
| 25 | 1 | has_attr 'Comment' => | |
| 26 | is => "ro", | ||
| 27 | isa => "Str", | ||
| 28 | xml_required => 0, | ||
| 29 | ; | ||
| 30 | |||
| 31 | 1 | has_element 'effective' => | |
| 32 | is => "ro", | ||
| 33 | isa => "XML::SRS::TimeStamp", | ||
| 34 | xml_nodeName => "EffectiveDate", | ||
| 35 | predicate => "has_effective", | ||
| 36 | ; | ||
| 37 | |||
| 38 | 1 | with 'XML::SRS::Node'; | |
| 39 | |||
| 40 | 1 | 1; | |