diff options
author | Mark Wells <mark@freeside.biz> | 2012-11-02 14:28:31 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2012-11-02 14:28:31 -0700 |
commit | 7be09bed7f9acdf8a20362c49831dfb39fc4e7a4 (patch) | |
tree | 51ed1f3337fd567897a12553fe6a6ae2ced3ce7c /EZLocate/Elements/findAddressResponse.pm |
initial commit
Diffstat (limited to 'EZLocate/Elements/findAddressResponse.pm')
-rw-r--r-- | EZLocate/Elements/findAddressResponse.pm | 142 |
1 files changed, 142 insertions, 0 deletions
diff --git a/EZLocate/Elements/findAddressResponse.pm b/EZLocate/Elements/findAddressResponse.pm new file mode 100644 index 0000000..4904c4a --- /dev/null +++ b/EZLocate/Elements/findAddressResponse.pm @@ -0,0 +1,142 @@ + +package Geo::EZLocate::Elements::findAddressResponse; +use strict; +use warnings; + +{ # BLOCK to scope variables + +sub get_xmlns { 'http://ezlocate.na.teleatlas.com/Geocoding.xsd1' } + +__PACKAGE__->__set_name('findAddressResponse'); +__PACKAGE__->__set_nillable(); +__PACKAGE__->__set_minOccurs(); +__PACKAGE__->__set_maxOccurs(); +__PACKAGE__->__set_ref(); + +use base qw( + SOAP::WSDL::XSD::Typelib::Element + SOAP::WSDL::XSD::Typelib::ComplexType +); + +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 %resultCode_of :ATTR(:get<resultCode>); +my %result_of :ATTR(:get<result>); + +__PACKAGE__->_factory( + [ qw( resultCode + result + + ) ], + { + 'resultCode' => \%resultCode_of, + 'result' => \%result_of, + }, + { + 'resultCode' => 'SOAP::WSDL::XSD::Typelib::Builtin::int', + 'result' => 'Geo::EZLocate::Types::Geocode', + }, + { + + 'resultCode' => 'resultCode', + 'result' => 'result', + } +); + +} # end BLOCK + + + + + + +} # end of BLOCK + + + +1; + + +=pod + +=head1 NAME + +Geo::EZLocate::Elements::findAddressResponse + +=head1 DESCRIPTION + +Perl data type class for the XML Schema defined element +findAddressResponse from the namespace http://ezlocate.na.teleatlas.com/Geocoding.xsd1. + + + + + + + +=head1 PROPERTIES + +The following properties may be accessed using get_PROPERTY / set_PROPERTY +methods: + +=over + +=item * resultCode + + $element->set_resultCode($data); + $element->get_resultCode(); + + + + +=item * result + + $element->set_result($data); + $element->get_result(); + + + + + +=back + + +=head1 METHODS + +=head2 new + + my $element = Geo::EZLocate::Elements::findAddressResponse->new($data); + +Constructor. The following data structure may be passed to new(): + + { + resultCode => $some_value, # int + result => { # Geo::EZLocate::Types::Geocode + resultCode => $some_value, # int + mAttributes => { # Geo::EZLocate::Types::Record + nv => { # Geo::EZLocate::Types::NameValue + name => $some_value, # string + value => $some_value, # string + }, + }, + }, + }, + +=head1 AUTHOR + +Generated by SOAP::WSDL + +=cut + |