Admin/Types/Alias.pm untested

filter: Statementstmt 0.0% 0 / 36 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 7 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 45 CC 1 SCAR 6.9
CC
1
Cov
0%
get_xmlns
2.0
__get_attr_class
2.0
BEGIN
2.0
CRAP 2.0
1 package ZCS::Admin::Types::Alias;
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::Alias::_Alias::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::Alias::_Alias::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 my %type_of :ATTR(:get<type>);
54 my %target_of :ATTR(:get<target>);
55  
56 __PACKAGE__->_factory(
57 [ qw(
58 name
59 id
60 type
61 target
62 ) ],
63 {
64  
65 name => \%name_of,
66  
67 id => \%id_of,
68  
69 type => \%type_of,
70  
71 target => \%target_of,
72 },
73 {
74 name => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
75 id => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
76 type => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
77 target => '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::Alias
93  
94 =head1 DESCRIPTION
95  
96 Perl data type class for the XML Schema defined complexType
97 Alias 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  
115  
116 =back
117  
118  
119 =head1 METHODS
120  
121 =head2 new
122  
123 Constructor. The following data structure may be passed to new():
124  
125 { # ZCS::Admin::Types::Alias
126 a => { value => $some_value },
127 },
128  
129  
130  
131 =head2 attr
132  
133 NOTE: Attribute documentation is experimental, and may be inaccurate.
134 See the correspondent WSDL/XML Schema if in question.
135  
136 This class has additional attributes, accessibly via the C<attr()> method.
137  
138 attr() returns an object of the class ZCS::Admin::Types::Alias::_Alias::XmlAttr.
139  
140 The following attributes can be accessed on this object via the corresponding
141 get_/set_ methods:
142  
143 =over
144  
145 =item * name
146  
147  
148  
149 This attribute is of type L<SOAP::WSDL::XSD::Typelib::Builtin::string|SOAP::WSDL::XSD::Typelib::Builtin::string>.
150  
151 =item * id
152  
153  
154  
155 This attribute is of type L<SOAP::WSDL::XSD::Typelib::Builtin::string|SOAP::WSDL::XSD::Typelib::Builtin::string>.
156  
157 =item * type
158  
159  
160  
161 This attribute is of type L<SOAP::WSDL::XSD::Typelib::Builtin::string|SOAP::WSDL::XSD::Typelib::Builtin::string>.
162  
163 =item * target
164  
165  
166  
167 This attribute is of type L<SOAP::WSDL::XSD::Typelib::Builtin::string|SOAP::WSDL::XSD::Typelib::Builtin::string>.
168  
169  
170 =back
171  
172  
173  
174  
175 =head1 AUTHOR
176  
177 Generated by SOAP::WSDL
178  
179 =cut
180