Admin/Elements/SearchDirectoryRequest.pm untested

filter: Statementstmt 0.0% 0 / 49 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 8 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 59 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  
2 package ZCS::Admin::Elements::SearchDirectoryRequest;
3 use strict;
4 use warnings;
5  
6 { # BLOCK to scope variables
7  
8 sub get_xmlns { 'urn:zimbraAdmin' }
9  
10 __PACKAGE__->__set_name('SearchDirectoryRequest');
11 __PACKAGE__->__set_nillable();
12 __PACKAGE__->__set_minOccurs();
13 __PACKAGE__->__set_maxOccurs();
14 __PACKAGE__->__set_ref();
15  
16 use base qw(
17 SOAP::WSDL::XSD::Typelib::Element
18 SOAP::WSDL::XSD::Typelib::ComplexType
19 );
20  
21 our $XML_ATTRIBUTE_CLASS = 'ZCS::Admin::Elements::SearchDirectoryRequest::XmlAttr';
22  
23 sub __get_attr_class {
24 return $XML_ATTRIBUTE_CLASS;
25 }
26  
27 use Class::Std::Fast::Storable constructor => 'none';
28 use base qw(SOAP::WSDL::XSD::Typelib::ComplexType);
29  
30 Class::Std::initialize();
31  
32 { # BLOCK to scope variables
33  
34 my %query_of :ATTR(:get<query>);
35  
36 __PACKAGE__->_factory(
37 [ qw( query
38  
39 ) ],
40 {
41 'query' => \%query_of,
42 },
43 {
44 'query' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
45 },
46 {
47  
48 'query' => 'query',
49 }
50 );
51  
52 } # end BLOCK
53  
54  
55  
56  
57 package ZCS::Admin::Elements::SearchDirectoryRequest::XmlAttr;
58 use base qw(SOAP::WSDL::XSD::Typelib::AttributeSet);
59  
60 { # BLOCK to scope variables
61  
62 my %limit_of :ATTR(:get<limit>);
63 my %offset_of :ATTR(:get<offset>);
64 my %domain_of :ATTR(:get<domain>);
65 my %applyCos_of :ATTR(:get<applyCos>);
66 my %maxResults_of :ATTR(:get<maxResults>);
67 my %attrs_of :ATTR(:get<attrs>);
68 my %sortBy_of :ATTR(:get<sortBy>);
69 my %sortAscending_of :ATTR(:get<sortAscending>);
70 my %types_of :ATTR(:get<types>);
71  
72 __PACKAGE__->_factory(
73 [ qw(
74 limit
75 offset
76 domain
77 applyCos
78 maxResults
79 attrs
80 sortBy
81 sortAscending
82 types
83 ) ],
84 {
85  
86 limit => \%limit_of,
87  
88 offset => \%offset_of,
89  
90 domain => \%domain_of,
91  
92 applyCos => \%applyCos_of,
93  
94 maxResults => \%maxResults_of,
95  
96 attrs => \%attrs_of,
97  
98 sortBy => \%sortBy_of,
99  
100 sortAscending => \%sortAscending_of,
101  
102 types => \%types_of,
103 },
104 {
105 limit => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
106 offset => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
107 domain => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
108 applyCos => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
109 maxResults => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
110 attrs => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
111 sortBy => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
112 sortAscending => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
113 types => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
114 }
115 );
116  
117 } # end BLOCK
118  
119  
120 } # end of BLOCK
121  
122  
123  
124 1;
125  
126  
127 =pod
128  
129 =head1 NAME
130  
131 ZCS::Admin::Elements::SearchDirectoryRequest
132  
133 =head1 DESCRIPTION
134  
135 Perl data type class for the XML Schema defined element
136 SearchDirectoryRequest from the namespace urn:zimbraAdmin.
137  
138  
139  
140  
141  
142  
143  
144 =head1 PROPERTIES
145  
146 The following properties may be accessed using get_PROPERTY / set_PROPERTY
147 methods:
148  
149 =over
150  
151 =item * query
152  
153 $element->set_query($data);
154 $element->get_query();
155  
156  
157  
158  
159  
160 =back
161  
162  
163 =head1 METHODS
164  
165 =head2 new
166  
167 my $element = ZCS::Admin::Elements::SearchDirectoryRequest->new($data);
168  
169 Constructor. The following data structure may be passed to new():
170  
171 {
172 query => $some_value, # string
173 },
174  
175 =head1 AUTHOR
176  
177 Generated by SOAP::WSDL
178  
179 =cut
180