initial import
[Net-DashCS.git] / lib / Net / DashCS / Types / addLocation.pm
1 package Net::DashCS::Types::addLocation;
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 %uri_of :ATTR(:get<uri>);
25 my %location_of :ATTR(:get<location>);
26
27 __PACKAGE__->_factory(
28     [ qw(        uri
29         location
30
31     ) ],
32     {
33         'uri' => \%uri_of,
34         'location' => \%location_of,
35     },
36     {
37         'uri' => 'Net::DashCS::Types::uri',
38         'location' => 'Net::DashCS::Types::location',
39     },
40     {
41
42         'uri' => 'uri',
43         'location' => 'location',
44     }
45 );
46
47 } # end BLOCK
48
49
50
51
52
53
54
55 1;
56
57
58 =pod
59
60 =head1 NAME
61
62 Net::DashCS::Types::addLocation
63
64 =head1 DESCRIPTION
65
66 Perl data type class for the XML Schema defined complexType
67 addLocation from the namespace http://dashcs.com/api/v1/emergency.
68
69
70
71
72
73
74 =head2 PROPERTIES
75
76 The following properties may be accessed using get_PROPERTY / set_PROPERTY
77 methods:
78
79 =over
80
81 =item * uri
82
83
84 =item * location
85
86
87
88
89 =back
90
91
92 =head1 METHODS
93
94 =head2 new
95
96 Constructor. The following data structure may be passed to new():
97
98  { # Net::DashCS::Types::addLocation
99    uri =>  { # Net::DashCS::Types::uri
100      callername =>  $some_value, # string
101      uri =>  $some_value, # string
102    },
103    location =>  { # Net::DashCS::Types::location
104      activatedtime =>  $some_value, # dateTime
105      address1 =>  $some_value, # string
106      address2 =>  $some_value, # string
107      callername =>  $some_value, # string
108      comments =>  $some_value, # string
109      community =>  $some_value, # string
110      customerorderid =>  $some_value, # string
111      latitude =>  $some_value, # double
112      legacydata =>  { # Net::DashCS::Types::legacyLocationData
113        housenumber =>  $some_value, # string
114        predirectional =>  $some_value, # string
115        streetname =>  $some_value, # string
116        suite =>  $some_value, # string
117      },
118      locationid =>  $some_value, # string
119      longitude =>  $some_value, # double
120      plusfour =>  $some_value, # string
121      postalcode =>  $some_value, # string
122      state =>  $some_value, # string
123      status =>  { # Net::DashCS::Types::locationStatus
124        code => $some_value, # locationStatusCode
125        description =>  $some_value, # string
126      },
127      type => $some_value, # locationType
128      updatetime =>  $some_value, # dateTime
129    },
130  },
131
132
133
134
135 =head1 AUTHOR
136
137 Generated by SOAP::WSDL
138
139 =cut
140