Admin/Elements/GetServerRequest.pm untested

filter: Statementstmt 0.0% 0 / 42 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 8 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 52 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::GetServerRequest;
3 use strict;
4 use warnings;
5  
6 { # BLOCK to scope variables
7  
8 sub get_xmlns { 'urn:zimbraAdmin' }
9  
10 __PACKAGE__->__set_name('GetServerRequest');
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::GetServerRequest::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 %server_of :ATTR(:get<server>);
35  
36 __PACKAGE__->_factory(
37 [ qw( server
38  
39 ) ],
40 {
41 'server' => \%server_of,
42 },
43 {
44 'server' => 'ZCS::Admin::Types::GetServerSpecifier',
45 },
46 {
47  
48 'server' => 'server',
49 }
50 );
51  
52 } # end BLOCK
53  
54  
55  
56  
57 package ZCS::Admin::Elements::GetServerRequest::XmlAttr;
58 use base qw(SOAP::WSDL::XSD::Typelib::AttributeSet);
59  
60 { # BLOCK to scope variables
61  
62 my %applyConfig_of :ATTR(:get<applyConfig>);
63 my %attrs_of :ATTR(:get<attrs>);
64  
65 __PACKAGE__->_factory(
66 [ qw(
67 applyConfig
68 attrs
69 ) ],
70 {
71  
72 applyConfig => \%applyConfig_of,
73  
74 attrs => \%attrs_of,
75 },
76 {
77 applyConfig => 'ZCS::Admin::Types::IntBool',
78 attrs => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
79 }
80 );
81  
82 } # end BLOCK
83  
84  
85 } # end of BLOCK
86  
87  
88  
89 1;
90  
91  
92 =pod
93  
94 =head1 NAME
95  
96 ZCS::Admin::Elements::GetServerRequest
97  
98 =head1 DESCRIPTION
99  
100 Perl data type class for the XML Schema defined element
101 GetServerRequest from the namespace urn:zimbraAdmin.
102  
103  
104  
105  
106  
107  
108  
109 =head1 PROPERTIES
110  
111 The following properties may be accessed using get_PROPERTY / set_PROPERTY
112 methods:
113  
114 =over
115  
116 =item * server
117  
118 $element->set_server($data);
119 $element->get_server();
120  
121  
122  
123  
124  
125 =back
126  
127  
128 =head1 METHODS
129  
130 =head2 new
131  
132 my $element = ZCS::Admin::Elements::GetServerRequest->new($data);
133  
134 Constructor. The following data structure may be passed to new():
135  
136 {
137 server => { value => $some_value },
138 },
139  
140 =head1 AUTHOR
141  
142 Generated by SOAP::WSDL
143  
144 =cut
145