initial commit
[Geo-EZLocate.git] / EZLocate / Elements / getServiceDescriptionResponse.pm
1
2 package Geo::EZLocate::Elements::getServiceDescriptionResponse;
3 use strict;
4 use warnings;
5
6 { # BLOCK to scope variables
7
8 sub get_xmlns { 'http://ezlocate.na.teleatlas.com/Geocoding.xsd1' }
9
10 __PACKAGE__->__set_name('getServiceDescriptionResponse');
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 %resultCode_of :ATTR(:get<resultCode>);
36 my %description_of :ATTR(:get<description>);
37 my %countryCode_of :ATTR(:get<countryCode>);
38 my %inputs_of :ATTR(:get<inputs>);
39 my %outputs_of :ATTR(:get<outputs>);
40 my %matchTypes_of :ATTR(:get<matchTypes>);
41 my %matchTypeName_of :ATTR(:get<matchTypeName>);
42
43 __PACKAGE__->_factory(
44     [ qw(        resultCode
45         description
46         countryCode
47         inputs
48         outputs
49         matchTypes
50         matchTypeName
51
52     ) ],
53     {
54         'resultCode' => \%resultCode_of,
55         'description' => \%description_of,
56         'countryCode' => \%countryCode_of,
57         'inputs' => \%inputs_of,
58         'outputs' => \%outputs_of,
59         'matchTypes' => \%matchTypes_of,
60         'matchTypeName' => \%matchTypeName_of,
61     },
62     {
63         'resultCode' => 'SOAP::WSDL::XSD::Typelib::Builtin::int',
64         'description' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
65         'countryCode' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
66         'inputs' => 'Geo::EZLocate::Types::Record',
67         'outputs' => 'Geo::EZLocate::Types::OutputFieldSequence',
68         'matchTypes' => 'Geo::EZLocate::Types::MatchTypeSequence',
69         'matchTypeName' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
70     },
71     {
72
73         'resultCode' => 'resultCode',
74         'description' => 'description',
75         'countryCode' => 'countryCode',
76         'inputs' => 'inputs',
77         'outputs' => 'outputs',
78         'matchTypes' => 'matchTypes',
79         'matchTypeName' => 'matchTypeName',
80     }
81 );
82
83 } # end BLOCK
84
85
86
87
88
89
90 } # end of BLOCK
91
92
93
94 1;
95
96
97 =pod
98
99 =head1 NAME
100
101 Geo::EZLocate::Elements::getServiceDescriptionResponse
102
103 =head1 DESCRIPTION
104
105 Perl data type class for the XML Schema defined element
106 getServiceDescriptionResponse from the namespace http://ezlocate.na.teleatlas.com/Geocoding.xsd1.
107
108
109
110
111
112
113
114 =head1 PROPERTIES
115
116 The following properties may be accessed using get_PROPERTY / set_PROPERTY
117 methods:
118
119 =over
120
121 =item * resultCode
122
123  $element->set_resultCode($data);
124  $element->get_resultCode();
125
126
127
128
129 =item * description
130
131  $element->set_description($data);
132  $element->get_description();
133
134
135
136
137 =item * countryCode
138
139  $element->set_countryCode($data);
140  $element->get_countryCode();
141
142
143
144
145 =item * inputs
146
147  $element->set_inputs($data);
148  $element->get_inputs();
149
150
151
152
153 =item * outputs
154
155  $element->set_outputs($data);
156  $element->get_outputs();
157
158
159
160
161 =item * matchTypes
162
163  $element->set_matchTypes($data);
164  $element->get_matchTypes();
165
166
167
168
169 =item * matchTypeName
170
171  $element->set_matchTypeName($data);
172  $element->get_matchTypeName();
173
174
175
176
177
178 =back
179
180
181 =head1 METHODS
182
183 =head2 new
184
185  my $element = Geo::EZLocate::Elements::getServiceDescriptionResponse->new($data);
186
187 Constructor. The following data structure may be passed to new():
188
189  {
190    resultCode =>  $some_value, # int
191    description =>  $some_value, # string
192    countryCode =>  $some_value, # string
193    inputs =>  { # Geo::EZLocate::Types::Record
194      nv =>  { # Geo::EZLocate::Types::NameValue
195        name =>  $some_value, # string
196        value =>  $some_value, # string
197      },
198    },
199    outputs =>  { # Geo::EZLocate::Types::OutputFieldSequence
200      fields =>  { # Geo::EZLocate::Types::OutputField
201        name =>  $some_value, # string
202        description =>  $some_value, # string
203        type =>  $some_value, # int
204      },
205    },
206    matchTypes =>  { # Geo::EZLocate::Types::MatchTypeSequence
207      types =>  { # Geo::EZLocate::Types::MatchType
208        name =>  $some_value, # string
209        description =>  $some_value, # string
210        id =>  $some_value, # int
211      },
212    },
213    matchTypeName =>  $some_value, # string
214  },
215
216 =head1 AUTHOR
217
218 Generated by SOAP::WSDL
219
220 =cut
221