initial import
[Net-DashCS.git] / lib / Net / DashCS / Elements / addLocation.pm
1
2 package Net::DashCS::Elements::addLocation;
3 use strict;
4 use warnings;
5
6 { # BLOCK to scope variables
7
8 sub get_xmlns { 'http://dashcs.com/api/v1/emergency' }
9
10 __PACKAGE__->__set_name('addLocation');
11 __PACKAGE__->__set_nillable();
12 __PACKAGE__->__set_minOccurs();
13 __PACKAGE__->__set_maxOccurs();
14 __PACKAGE__->__set_ref();
15 use base qw(
16     SOAP::WSDL::XSD::Typelib::Element
17     Net::DashCS::Types::addLocation
18 );
19
20 }
21
22 1;
23
24
25 =pod
26
27 =head1 NAME
28
29 Net::DashCS::Elements::addLocation
30
31 =head1 DESCRIPTION
32
33 Perl data type class for the XML Schema defined element
34 addLocation from the namespace http://dashcs.com/api/v1/emergency.
35
36
37
38
39
40
41
42 =head1 METHODS
43
44 =head2 new
45
46  my $element = Net::DashCS::Elements::addLocation->new($data);
47
48 Constructor. The following data structure may be passed to new():
49
50  { # Net::DashCS::Types::addLocation
51    uri =>  { # Net::DashCS::Types::uri
52      callername =>  $some_value, # string
53      uri =>  $some_value, # string
54    },
55    location =>  { # Net::DashCS::Types::location
56      activatedtime =>  $some_value, # dateTime
57      address1 =>  $some_value, # string
58      address2 =>  $some_value, # string
59      callername =>  $some_value, # string
60      comments =>  $some_value, # string
61      community =>  $some_value, # string
62      customerorderid =>  $some_value, # string
63      latitude =>  $some_value, # double
64      legacydata =>  { # Net::DashCS::Types::legacyLocationData
65        housenumber =>  $some_value, # string
66        predirectional =>  $some_value, # string
67        streetname =>  $some_value, # string
68        suite =>  $some_value, # string
69      },
70      locationid =>  $some_value, # string
71      longitude =>  $some_value, # double
72      plusfour =>  $some_value, # string
73      postalcode =>  $some_value, # string
74      state =>  $some_value, # string
75      status =>  { # Net::DashCS::Types::locationStatus
76        code => $some_value, # locationStatusCode
77        description =>  $some_value, # string
78      },
79      type => $some_value, # locationType
80      updatetime =>  $some_value, # dateTime
81    },
82  },
83
84 =head1 AUTHOR
85
86 Generated by SOAP::WSDL
87
88 =cut
89