| 1 | package ZCS::Admin::Types::Account; | ||
| 2 | use strict; | ||
| 3 | use warnings; | ||
| 4 | |||
| 5 | |||
| 6 | __PACKAGE__->_set_element_form_qualified(1); | ||
| 7 | |||
| 8 | sub get_xmlns { 'urn:zimbraAdmin' }; | ||
| 9 | |||
| 10 | our $XML_ATTRIBUTE_CLASS = 'ZCS::Admin::Types::Account::_Account::XmlAttr'; | ||
| 11 | |||
| 12 | sub __get_attr_class { | ||
| 13 | return $XML_ATTRIBUTE_CLASS; | ||
| 14 | } | ||
| 15 | |||
| 16 | use Class::Std::Fast::Storable constructor => 'none'; | ||
| 17 | use base qw(SOAP::WSDL::XSD::Typelib::ComplexType); | ||
| 18 | |||
| 19 | Class::Std::initialize(); | ||
| 20 | |||
| 21 | { # BLOCK to scope variables | ||
| 22 | |||
| 23 | my %a_of :ATTR(:get<a>); | ||
| 24 | |||
| 25 | __PACKAGE__->_factory( | ||
| 26 | [ qw( a | ||
| 27 | |||
| 28 | ) ], | ||
| 29 | { | ||
| 30 | 'a' => \%a_of, | ||
| 31 | }, | ||
| 32 | { | ||
| 33 | 'a' => 'ZCS::Admin::Types::ItemAttribute', | ||
| 34 | }, | ||
| 35 | { | ||
| 36 | |||
| 37 | 'a' => 'a', | ||
| 38 | } | ||
| 39 | ); | ||
| 40 | |||
| 41 | } # end BLOCK | ||
| 42 | |||
| 43 | |||
| 44 | |||
| 45 | |||
| 46 | package ZCS::Admin::Types::Account::_Account::XmlAttr; | ||
| 47 | use base qw(SOAP::WSDL::XSD::Typelib::AttributeSet); | ||
| 48 | |||
| 49 | { # BLOCK to scope variables | ||
| 50 | |||
| 51 | my %name_of :ATTR(:get<name>); | ||
| 52 | my %id_of :ATTR(:get<id>); | ||
| 53 | |||
| 54 | __PACKAGE__->_factory( | ||
| 55 | [ qw( | ||
| 56 | name | ||
| 57 | id | ||
| 58 | ) ], | ||
| 59 | { | ||
| 60 | |||
| 61 | name => \%name_of, | ||
| 62 | |||
| 63 | id => \%id_of, | ||
| 64 | }, | ||
| 65 | { | ||
| 66 | name => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 67 | id => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 68 | } | ||
| 69 | ); | ||
| 70 | |||
| 71 | } # end BLOCK | ||
| 72 | |||
| 73 | |||
| 74 | |||
| 75 | 1; | ||
| 76 | |||
| 77 | |||
| 78 | =pod | ||
| 79 | |||
| 80 | =head1 NAME | ||
| 81 | |||
| 82 | ZCS::Admin::Types::Account | ||
| 83 | |||
| 84 | =head1 DESCRIPTION | ||
| 85 | |||
| 86 | Perl data type class for the XML Schema defined complexType | ||
| 87 | Account from the namespace urn:zimbraAdmin. | ||
| 88 | |||
| 89 | |||
| 90 | |||
| 91 | |||
| 92 | |||
| 93 | |||
| 94 | =head2 PROPERTIES | ||
| 95 | |||
| 96 | The following properties may be accessed using get_PROPERTY / set_PROPERTY | ||
| 97 | methods: | ||
| 98 | |||
| 99 | =over | ||
| 100 | |||
| 101 | =item * a | ||
| 102 | |||
| 103 | |||
| 104 | |||
| 105 | |||
| 106 | =back | ||
| 107 | |||
| 108 | |||
| 109 | =head1 METHODS | ||
| 110 | |||
| 111 | =head2 new | ||
| 112 | |||
| 113 | Constructor. The following data structure may be passed to new(): | ||
| 114 | |||
| 115 | { # ZCS::Admin::Types::Account | ||
| 116 | a => { value => $some_value }, | ||
| 117 | }, | ||
| 118 | |||
| 119 | |||
| 120 | |||
| 121 | =head2 attr | ||
| 122 | |||
| 123 | NOTE: Attribute documentation is experimental, and may be inaccurate. | ||
| 124 | See the correspondent WSDL/XML Schema if in question. | ||
| 125 | |||
| 126 | This class has additional attributes, accessibly via the C<attr()> method. | ||
| 127 | |||
| 128 | attr() returns an object of the class ZCS::Admin::Types::Account::_Account::XmlAttr. | ||
| 129 | |||
| 130 | The following attributes can be accessed on this object via the corresponding | ||
| 131 | get_/set_ methods: | ||
| 132 | |||
| 133 | =over | ||
| 134 | |||
| 135 | =item * name | ||
| 136 | |||
| 137 | |||
| 138 | |||
| 139 | This attribute is of type L<SOAP::WSDL::XSD::Typelib::Builtin::string|SOAP::WSDL::XSD::Typelib::Builtin::string>. | ||
| 140 | |||
| 141 | =item * id | ||
| 142 | |||
| 143 | |||
| 144 | |||
| 145 | This attribute is of type L<SOAP::WSDL::XSD::Typelib::Builtin::string|SOAP::WSDL::XSD::Typelib::Builtin::string>. | ||
| 146 | |||
| 147 | |||
| 148 | =back | ||
| 149 | |||
| 150 | |||
| 151 | |||
| 152 | |||
| 153 | =head1 AUTHOR | ||
| 154 | |||
| 155 | Generated by SOAP::WSDL | ||
| 156 | |||
| 157 | =cut | ||
| 158 |