| 1 | package ZCS::Admin::Types::Dl; | ||
| 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::Dl::_Dl::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 | my %dlm_of :ATTR(:get<dlm>); | ||
| 25 | |||
| 26 | __PACKAGE__->_factory( | ||
| 27 | [ qw( a | ||
| 28 | dlm | ||
| 29 | |||
| 30 | ) ], | ||
| 31 | { | ||
| 32 | 'a' => \%a_of, | ||
| 33 | 'dlm' => \%dlm_of, | ||
| 34 | }, | ||
| 35 | { | ||
| 36 | 'a' => 'ZCS::Admin::Types::ItemAttribute', | ||
| 37 | 'dlm' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 38 | }, | ||
| 39 | { | ||
| 40 | |||
| 41 | 'a' => 'a', | ||
| 42 | 'dlm' => 'dlm', | ||
| 43 | } | ||
| 44 | ); | ||
| 45 | |||
| 46 | } # end BLOCK | ||
| 47 | |||
| 48 | |||
| 49 | |||
| 50 | |||
| 51 | package ZCS::Admin::Types::Dl::_Dl::XmlAttr; | ||
| 52 | use base qw(SOAP::WSDL::XSD::Typelib::AttributeSet); | ||
| 53 | |||
| 54 | { # BLOCK to scope variables | ||
| 55 | |||
| 56 | my %name_of :ATTR(:get<name>); | ||
| 57 | my %id_of :ATTR(:get<id>); | ||
| 58 | my %via_of :ATTR(:get<via>); | ||
| 59 | |||
| 60 | __PACKAGE__->_factory( | ||
| 61 | [ qw( | ||
| 62 | name | ||
| 63 | id | ||
| 64 | via | ||
| 65 | ) ], | ||
| 66 | { | ||
| 67 | |||
| 68 | name => \%name_of, | ||
| 69 | |||
| 70 | id => \%id_of, | ||
| 71 | |||
| 72 | via => \%via_of, | ||
| 73 | }, | ||
| 74 | { | ||
| 75 | name => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 76 | id => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 77 | via => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 78 | } | ||
| 79 | ); | ||
| 80 | |||
| 81 | } # end BLOCK | ||
| 82 | |||
| 83 | |||
| 84 | |||
| 85 | 1; | ||
| 86 | |||
| 87 | |||
| 88 | =pod | ||
| 89 | |||
| 90 | =head1 NAME | ||
| 91 | |||
| 92 | ZCS::Admin::Types::Dl | ||
| 93 | |||
| 94 | =head1 DESCRIPTION | ||
| 95 | |||
| 96 | Perl data type class for the XML Schema defined complexType | ||
| 97 | Dl from the namespace urn:zimbraAdmin. | ||
| 98 | |||
| 99 | |||
| 100 | |||
| 101 | |||
| 102 | |||
| 103 | |||
| 104 | =head2 PROPERTIES | ||
| 105 | |||
| 106 | The following properties may be accessed using get_PROPERTY / set_PROPERTY | ||
| 107 | methods: | ||
| 108 | |||
| 109 | =over | ||
| 110 | |||
| 111 | =item * a | ||
| 112 | |||
| 113 | |||
| 114 | =item * dlm | ||
| 115 | |||
| 116 | |||
| 117 | |||
| 118 | |||
| 119 | =back | ||
| 120 | |||
| 121 | |||
| 122 | =head1 METHODS | ||
| 123 | |||
| 124 | =head2 new | ||
| 125 | |||
| 126 | Constructor. The following data structure may be passed to new(): | ||
| 127 | |||
| 128 | { # ZCS::Admin::Types::Dl | ||
| 129 | a => { value => $some_value }, | ||
| 130 | dlm => $some_value, # string | ||
| 131 | }, | ||
| 132 | |||
| 133 | |||
| 134 | |||
| 135 | =head2 attr | ||
| 136 | |||
| 137 | NOTE: Attribute documentation is experimental, and may be inaccurate. | ||
| 138 | See the correspondent WSDL/XML Schema if in question. | ||
| 139 | |||
| 140 | This class has additional attributes, accessibly via the C<attr()> method. | ||
| 141 | |||
| 142 | attr() returns an object of the class ZCS::Admin::Types::Dl::_Dl::XmlAttr. | ||
| 143 | |||
| 144 | The following attributes can be accessed on this object via the corresponding | ||
| 145 | get_/set_ methods: | ||
| 146 | |||
| 147 | =over | ||
| 148 | |||
| 149 | =item * name | ||
| 150 | |||
| 151 | |||
| 152 | |||
| 153 | This attribute is of type L<SOAP::WSDL::XSD::Typelib::Builtin::string|SOAP::WSDL::XSD::Typelib::Builtin::string>. | ||
| 154 | |||
| 155 | =item * id | ||
| 156 | |||
| 157 | |||
| 158 | |||
| 159 | This attribute is of type L<SOAP::WSDL::XSD::Typelib::Builtin::string|SOAP::WSDL::XSD::Typelib::Builtin::string>. | ||
| 160 | |||
| 161 | =item * via | ||
| 162 | |||
| 163 | |||
| 164 | |||
| 165 | This attribute is of type L<SOAP::WSDL::XSD::Typelib::Builtin::string|SOAP::WSDL::XSD::Typelib::Builtin::string>. | ||
| 166 | |||
| 167 | |||
| 168 | =back | ||
| 169 | |||
| 170 | |||
| 171 | |||
| 172 | |||
| 173 | =head1 AUTHOR | ||
| 174 | |||
| 175 | Generated by SOAP::WSDL | ||
| 176 | |||
| 177 | =cut | ||
| 178 |