Admin/Elements/DelegateAuthResponse.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  
2 package ZCS::Admin::Elements::DelegateAuthResponse;
3 use strict;
4 use warnings;
5  
6 { # BLOCK to scope variables
7  
8 sub get_xmlns { 'urn:zimbraAdmin' }
9  
10 __PACKAGE__->__set_name('DelegateAuthResponse');
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;
22 undef $XML_ATTRIBUTE_CLASS;
23  
24 sub __get_attr_class {
25 return $XML_ATTRIBUTE_CLASS;
26 }
27  
28 use Class::Std::Fast::Storable constructor => 'none';
29 use base qw(SOAP::WSDL::XSD::Typelib::ComplexType);
30  
31 Class::Std::initialize();
32  
33 { # BLOCK to scope variables
34  
35 my %authToken_of :ATTR(:get<authToken>);
36 my %lifetime_of :ATTR(:get<lifetime>);
37 my %a_of :ATTR(:get<a>);
38  
39 __PACKAGE__->_factory(
40 [ qw( authToken
41 lifetime
42 a
43  
44 ) ],
45 {
46 'authToken' => \%authToken_of,
47 'lifetime' => \%lifetime_of,
48 'a' => \%a_of,
49 },
50 {
51 'authToken' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
52 'lifetime' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
53 'a' => 'ZCS::Admin::Types::ItemAttribute',
54 },
55 {
56  
57 'authToken' => 'authToken',
58 'lifetime' => 'lifetime',
59 'a' => 'a',
60 }
61 );
62  
63 } # end BLOCK
64  
65  
66  
67  
68  
69  
70 } # end of BLOCK
71  
72  
73  
74 1;
75  
76  
77 =pod
78  
79 =head1 NAME
80  
81 ZCS::Admin::Elements::DelegateAuthResponse
82  
83 =head1 DESCRIPTION
84  
85 Perl data type class for the XML Schema defined element
86 DelegateAuthResponse from the namespace urn:zimbraAdmin.
87  
88  
89  
90  
91  
92  
93  
94 =head1 PROPERTIES
95  
96 The following properties may be accessed using get_PROPERTY / set_PROPERTY
97 methods:
98  
99 =over
100  
101 =item * authToken
102  
103 $element->set_authToken($data);
104 $element->get_authToken();
105  
106  
107  
108  
109 =item * lifetime
110  
111 $element->set_lifetime($data);
112 $element->get_lifetime();
113  
114  
115  
116  
117 =item * a
118  
119 $element->set_a($data);
120 $element->get_a();
121  
122  
123  
124  
125  
126 =back
127  
128  
129 =head1 METHODS
130  
131 =head2 new
132  
133 my $element = ZCS::Admin::Elements::DelegateAuthResponse->new($data);
134  
135 Constructor. The following data structure may be passed to new():
136  
137 {
138 authToken => $some_value, # string
139 lifetime => $some_value, # string
140 a => { value => $some_value },
141 },
142  
143 =head1 AUTHOR
144  
145 Generated by SOAP::WSDL
146  
147 =cut
148