Admin/Types/Cos.pm untested

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