summaryrefslogtreecommitdiff
path: root/lib/Net/DashCS/Types/addLocation.pm
blob: 26634ed7bfa5425f0b128b2dc5c22f50c622d46b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
package Net::DashCS::Types::addLocation;
use strict;
use warnings;


__PACKAGE__->_set_element_form_qualified(0);

sub get_xmlns { 'http://dashcs.com/api/v1/emergency' };

our $XML_ATTRIBUTE_CLASS;
undef $XML_ATTRIBUTE_CLASS;

sub __get_attr_class {
    return $XML_ATTRIBUTE_CLASS;
}

use Class::Std::Fast::Storable constructor => 'none';
use base qw(SOAP::WSDL::XSD::Typelib::ComplexType);

Class::Std::initialize();

{ # BLOCK to scope variables

my %uri_of :ATTR(:get<uri>);
my %location_of :ATTR(:get<location>);

__PACKAGE__->_factory(
    [ qw(        uri
        location

    ) ],
    {
        'uri' => \%uri_of,
        'location' => \%location_of,
    },
    {
        'uri' => 'Net::DashCS::Types::uri',
        'location' => 'Net::DashCS::Types::location',
    },
    {

        'uri' => 'uri',
        'location' => 'location',
    }
);

} # end BLOCK







1;


=pod

=head1 NAME

Net::DashCS::Types::addLocation

=head1 DESCRIPTION

Perl data type class for the XML Schema defined complexType
addLocation from the namespace http://dashcs.com/api/v1/emergency.






=head2 PROPERTIES

The following properties may be accessed using get_PROPERTY / set_PROPERTY
methods:

=over

=item * uri


=item * location




=back


=head1 METHODS

=head2 new

Constructor. The following data structure may be passed to new():

 { # Net::DashCS::Types::addLocation
   uri =>  { # Net::DashCS::Types::uri
     callername =>  $some_value, # string
     uri =>  $some_value, # string
   },
   location =>  { # Net::DashCS::Types::location
     activatedtime =>  $some_value, # dateTime
     address1 =>  $some_value, # string
     address2 =>  $some_value, # string
     callername =>  $some_value, # string
     comments =>  $some_value, # string
     community =>  $some_value, # string
     customerorderid =>  $some_value, # string
     latitude =>  $some_value, # double
     legacydata =>  { # Net::DashCS::Types::legacyLocationData
       housenumber =>  $some_value, # string
       predirectional =>  $some_value, # string
       streetname =>  $some_value, # string
       suite =>  $some_value, # string
     },
     locationid =>  $some_value, # string
     longitude =>  $some_value, # double
     plusfour =>  $some_value, # string
     postalcode =>  $some_value, # string
     state =>  $some_value, # string
     status =>  { # Net::DashCS::Types::locationStatus
       code => $some_value, # locationStatusCode
       description =>  $some_value, # string
     },
     type => $some_value, # locationType
     updatetime =>  $some_value, # dateTime
   },
 },




=head1 AUTHOR

Generated by SOAP::WSDL

=cut