| 1 | package XML::EPP::Host::Update; | ||
| 2 | 1 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 1 | ▶ | use PRANG::Graph; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 0 | ▶ | sub root_element { "update" } |
|
Subroutine
root_element: not called CC=1 SCAR=6.9
| |||
| 5 | |||
| 6 | with | ||
| 7 | 'XML::EPP::Host::RQ', | ||
| 8 | 'XML::EPP::Host::Node', | ||
| 9 | ; | ||
| 10 | |||
| 11 | has_element 'name' => | ||
| 12 | is => "ro", | ||
| 13 | isa => "XML::EPP::Common::labelType", | ||
| 14 | ; | ||
| 15 | |||
| 16 | 0 | ▶ | use XML::EPP::Host::Delta; |
|
Subroutine
BEGIN: called CC=1 SCAR=2.6
| |||
| 17 | has_element 'add' => | ||
| 18 | is => "ro", | ||
| 19 | isa => "XML::EPP::Host::Delta", | ||
| 20 | predicate => "has_add", | ||
| 21 | coerce => 1, | ||
| 22 | ; | ||
| 23 | |||
| 24 | has_element 'remove' => | ||
| 25 | is => "ro", | ||
| 26 | isa => "XML::EPP::Host::Delta", | ||
| 27 | predicate => "has_remove", | ||
| 28 | xml_nodeName => "rem", | ||
| 29 | coerce => 1, | ||
| 30 | ; | ||
| 31 | |||
| 32 | use XML::EPP::Host::Rename; | ||
| 33 | has_element 'rename' => | ||
| 34 | is => "ro", | ||
| 35 | isa => "XML::EPP::Host::Rename", | ||
| 36 | xml_nodeName => "chg", | ||
| 37 | predicate => "has_rename", | ||
| 38 | coerce => 1, | ||
| 39 | ; | ||
| 40 | |||
| 41 | use Moose::Util::TypeConstraints; | ||
| 42 | subtype "XML::EPP::Host::updateType" => as __PACKAGE__; | ||
| 43 | |||
| 44 | 1; | ||
| 45 | |||
| 46 | =head1 NAME | ||
| 47 | |||
| 48 | XML::EPP::Host::Update - implement ? | ||
| 49 | |||
| 50 | =head1 SYNOPSIS | ||
| 51 | |||
| 52 | TODO | ||
| 53 | |||
| 54 | =head1 DESCRIPTION | ||
| 55 | |||
| 56 | ... | ||
| 57 | |||
| 58 | =head2 XML Schema Definition | ||
| 59 | |||
| 60 | <!-- | ||
| 61 | Child elements of the <update> command. | ||
| 62 | --> | ||
| 63 | <complexType name="updateType"> | ||
| 64 | <sequence> | ||
| 65 | <element name="name" type="eppcom:labelType"/> | ||
| 66 | <element name="add" type="host:addRemType" | ||
| 67 | minOccurs="0"/> | ||
| 68 | <element name="rem" type="host:addRemType" | ||
| 69 | minOccurs="0"/> | ||
| 70 | <element name="chg" type="host:chgType" | ||
| 71 | minOccurs="0"/> | ||
| 72 | </sequence> | ||
| 73 | </complexType> | ||
| 74 | |||
| 75 | =cut | ||