initial import
[Net-DashCS.git] / lib / Net / DashCS / Types / location.pm
1 package Net::DashCS::Types::location;
2 use strict;
3 use warnings;
4
5
6 __PACKAGE__->_set_element_form_qualified(0);
7
8 sub get_xmlns { 'http://dashcs.com/api/v1/emergency' };
9
10 our $XML_ATTRIBUTE_CLASS;
11 undef $XML_ATTRIBUTE_CLASS;
12
13 sub __get_attr_class {
14     return $XML_ATTRIBUTE_CLASS;
15 }
16
17 use Class::Std::Fast::Storable constructor => 'none';
18 use base qw(SOAP::WSDL::XSD::Typelib::ComplexType);
19
20 Class::Std::initialize();
21
22 { # BLOCK to scope variables
23
24 my %activatedtime_of :ATTR(:get<activatedtime>);
25 my %address1_of :ATTR(:get<address1>);
26 my %address2_of :ATTR(:get<address2>);
27 my %callername_of :ATTR(:get<callername>);
28 my %comments_of :ATTR(:get<comments>);
29 my %community_of :ATTR(:get<community>);
30 my %customerorderid_of :ATTR(:get<customerorderid>);
31 my %latitude_of :ATTR(:get<latitude>);
32 my %legacydata_of :ATTR(:get<legacydata>);
33 my %locationid_of :ATTR(:get<locationid>);
34 my %longitude_of :ATTR(:get<longitude>);
35 my %plusfour_of :ATTR(:get<plusfour>);
36 my %postalcode_of :ATTR(:get<postalcode>);
37 my %state_of :ATTR(:get<state>);
38 my %status_of :ATTR(:get<status>);
39 my %type_of :ATTR(:get<type>);
40 my %updatetime_of :ATTR(:get<updatetime>);
41
42 __PACKAGE__->_factory(
43     [ qw(        activatedtime
44         address1
45         address2
46         callername
47         comments
48         community
49         customerorderid
50         latitude
51         legacydata
52         locationid
53         longitude
54         plusfour
55         postalcode
56         state
57         status
58         type
59         updatetime
60
61     ) ],
62     {
63         'activatedtime' => \%activatedtime_of,
64         'address1' => \%address1_of,
65         'address2' => \%address2_of,
66         'callername' => \%callername_of,
67         'comments' => \%comments_of,
68         'community' => \%community_of,
69         'customerorderid' => \%customerorderid_of,
70         'latitude' => \%latitude_of,
71         'legacydata' => \%legacydata_of,
72         'locationid' => \%locationid_of,
73         'longitude' => \%longitude_of,
74         'plusfour' => \%plusfour_of,
75         'postalcode' => \%postalcode_of,
76         'state' => \%state_of,
77         'status' => \%status_of,
78         'type' => \%type_of,
79         'updatetime' => \%updatetime_of,
80     },
81     {
82         'activatedtime' => 'SOAP::WSDL::XSD::Typelib::Builtin::dateTime',
83         'address1' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
84         'address2' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
85         'callername' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
86         'comments' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
87         'community' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
88         'customerorderid' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
89         'latitude' => 'SOAP::WSDL::XSD::Typelib::Builtin::double',
90         'legacydata' => 'Net::DashCS::Types::legacyLocationData',
91         'locationid' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
92         'longitude' => 'SOAP::WSDL::XSD::Typelib::Builtin::double',
93         'plusfour' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
94         'postalcode' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
95         'state' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
96         'status' => 'Net::DashCS::Types::locationStatus',
97         'type' => 'Net::DashCS::Types::locationType',
98         'updatetime' => 'SOAP::WSDL::XSD::Typelib::Builtin::dateTime',
99     },
100     {
101
102         'activatedtime' => 'activatedtime',
103         'address1' => 'address1',
104         'address2' => 'address2',
105         'callername' => 'callername',
106         'comments' => 'comments',
107         'community' => 'community',
108         'customerorderid' => 'customerorderid',
109         'latitude' => 'latitude',
110         'legacydata' => 'legacydata',
111         'locationid' => 'locationid',
112         'longitude' => 'longitude',
113         'plusfour' => 'plusfour',
114         'postalcode' => 'postalcode',
115         'state' => 'state',
116         'status' => 'status',
117         'type' => 'type',
118         'updatetime' => 'updatetime',
119     }
120 );
121
122 } # end BLOCK
123
124
125
126
127
128
129
130 1;
131
132
133 =pod
134
135 =head1 NAME
136
137 Net::DashCS::Types::location
138
139 =head1 DESCRIPTION
140
141 Perl data type class for the XML Schema defined complexType
142 location from the namespace http://dashcs.com/api/v1/emergency.
143
144
145
146
147
148
149 =head2 PROPERTIES
150
151 The following properties may be accessed using get_PROPERTY / set_PROPERTY
152 methods:
153
154 =over
155
156 =item * activatedtime
157
158
159 =item * address1
160
161
162 =item * address2
163
164
165 =item * callername
166
167
168 =item * comments
169
170
171 =item * community
172
173
174 =item * customerorderid
175
176
177 =item * latitude
178
179
180 =item * legacydata
181
182
183 =item * locationid
184
185
186 =item * longitude
187
188
189 =item * plusfour
190
191
192 =item * postalcode
193
194
195 =item * state
196
197
198 =item * status
199
200
201 =item * type
202
203
204 =item * updatetime
205
206
207
208
209 =back
210
211
212 =head1 METHODS
213
214 =head2 new
215
216 Constructor. The following data structure may be passed to new():
217
218  { # Net::DashCS::Types::location
219    activatedtime =>  $some_value, # dateTime
220    address1 =>  $some_value, # string
221    address2 =>  $some_value, # string
222    callername =>  $some_value, # string
223    comments =>  $some_value, # string
224    community =>  $some_value, # string
225    customerorderid =>  $some_value, # string
226    latitude =>  $some_value, # double
227    legacydata =>  { # Net::DashCS::Types::legacyLocationData
228      housenumber =>  $some_value, # string
229      predirectional =>  $some_value, # string
230      streetname =>  $some_value, # string
231      suite =>  $some_value, # string
232    },
233    locationid =>  $some_value, # string
234    longitude =>  $some_value, # double
235    plusfour =>  $some_value, # string
236    postalcode =>  $some_value, # string
237    state =>  $some_value, # string
238    status =>  { # Net::DashCS::Types::locationStatus
239      code => $some_value, # locationStatusCode
240      description =>  $some_value, # string
241    },
242    type => $some_value, # locationType
243    updatetime =>  $some_value, # dateTime
244  },
245
246
247
248
249 =head1 AUTHOR
250
251 Generated by SOAP::WSDL
252
253 =cut
254