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