| 1 | |||
| 2 | package ZCS::Admin::Elements::DelegateAuthRequest; | ||
| 3 | use strict; | ||
| 4 | use warnings; | ||
| 5 | |||
| 6 | { # BLOCK to scope variables | ||
| 7 | |||
| 8 | sub get_xmlns { 'urn:zimbraAdmin' } | ||
| 9 | |||
| 10 | __PACKAGE__->__set_name('DelegateAuthRequest'); | ||
| 11 | __PACKAGE__->__set_nillable(); | ||
| 12 | __PACKAGE__->__set_minOccurs(); | ||
| 13 | __PACKAGE__->__set_maxOccurs(); | ||
| 14 | __PACKAGE__->__set_ref(); | ||
| 15 | |||
| 16 | use base qw( | ||
| 17 | SOAP::WSDL::XSD::Typelib::Element | ||
| 18 | SOAP::WSDL::XSD::Typelib::ComplexType | ||
| 19 | ); | ||
| 20 | |||
| 21 | our $XML_ATTRIBUTE_CLASS = 'ZCS::Admin::Elements::DelegateAuthRequest::XmlAttr'; | ||
| 22 | |||
| 23 | sub __get_attr_class { | ||
| 24 | return $XML_ATTRIBUTE_CLASS; | ||
| 25 | } | ||
| 26 | |||
| 27 | use Class::Std::Fast::Storable constructor => 'none'; | ||
| 28 | use base qw(SOAP::WSDL::XSD::Typelib::ComplexType); | ||
| 29 | |||
| 30 | Class::Std::initialize(); | ||
| 31 | |||
| 32 | { # BLOCK to scope variables | ||
| 33 | |||
| 34 | my %account_of :ATTR(:get<account>); | ||
| 35 | |||
| 36 | __PACKAGE__->_factory( | ||
| 37 | [ qw( account | ||
| 38 | |||
| 39 | ) ], | ||
| 40 | { | ||
| 41 | 'account' => \%account_of, | ||
| 42 | }, | ||
| 43 | { | ||
| 44 | 'account' => 'ZCS::Admin::Types::GetAccountSpecifier', | ||
| 45 | }, | ||
| 46 | { | ||
| 47 | |||
| 48 | 'account' => 'account', | ||
| 49 | } | ||
| 50 | ); | ||
| 51 | |||
| 52 | } # end BLOCK | ||
| 53 | |||
| 54 | |||
| 55 | |||
| 56 | |||
| 57 | package ZCS::Admin::Elements::DelegateAuthRequest::XmlAttr; | ||
| 58 | use base qw(SOAP::WSDL::XSD::Typelib::AttributeSet); | ||
| 59 | |||
| 60 | { # BLOCK to scope variables | ||
| 61 | |||
| 62 | my %duration_of :ATTR(:get<duration>); | ||
| 63 | |||
| 64 | __PACKAGE__->_factory( | ||
| 65 | [ qw( | ||
| 66 | duration | ||
| 67 | ) ], | ||
| 68 | { | ||
| 69 | |||
| 70 | duration => \%duration_of, | ||
| 71 | }, | ||
| 72 | { | ||
| 73 | duration => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 74 | } | ||
| 75 | ); | ||
| 76 | |||
| 77 | } # end BLOCK | ||
| 78 | |||
| 79 | |||
| 80 | } # end of BLOCK | ||
| 81 | |||
| 82 | |||
| 83 | |||
| 84 | 1; | ||
| 85 | |||
| 86 | |||
| 87 | =pod | ||
| 88 | |||
| 89 | =head1 NAME | ||
| 90 | |||
| 91 | ZCS::Admin::Elements::DelegateAuthRequest | ||
| 92 | |||
| 93 | =head1 DESCRIPTION | ||
| 94 | |||
| 95 | Perl data type class for the XML Schema defined element | ||
| 96 | DelegateAuthRequest from the namespace urn:zimbraAdmin. | ||
| 97 | |||
| 98 | |||
| 99 | |||
| 100 | |||
| 101 | |||
| 102 | |||
| 103 | |||
| 104 | =head1 PROPERTIES | ||
| 105 | |||
| 106 | The following properties may be accessed using get_PROPERTY / set_PROPERTY | ||
| 107 | methods: | ||
| 108 | |||
| 109 | =over | ||
| 110 | |||
| 111 | =item * account | ||
| 112 | |||
| 113 | $element->set_account($data); | ||
| 114 | $element->get_account(); | ||
| 115 | |||
| 116 | |||
| 117 | |||
| 118 | |||
| 119 | |||
| 120 | =back | ||
| 121 | |||
| 122 | |||
| 123 | =head1 METHODS | ||
| 124 | |||
| 125 | =head2 new | ||
| 126 | |||
| 127 | my $element = ZCS::Admin::Elements::DelegateAuthRequest->new($data); | ||
| 128 | |||
| 129 | Constructor. The following data structure may be passed to new(): | ||
| 130 | |||
| 131 | { | ||
| 132 | account => { value => $some_value }, | ||
| 133 | }, | ||
| 134 | |||
| 135 | =head1 AUTHOR | ||
| 136 | |||
| 137 | Generated by SOAP::WSDL | ||
| 138 | |||
| 139 | =cut | ||
| 140 |