zoneminder/onvif/proxy/lib/ONVIF/PTZ/Elements/AbsoluteMove.pm

156 lines
2.3 KiB
Perl

package ONVIF::PTZ::Elements::AbsoluteMove;
use strict;
use warnings;
{ # BLOCK to scope variables
sub get_xmlns { 'http://www.onvif.org/ver20/ptz/wsdl' }
__PACKAGE__->__set_name('AbsoluteMove');
__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 %ProfileToken_of :ATTR(:get<ProfileToken>);
my %Position_of :ATTR(:get<Position>);
my %Speed_of :ATTR(:get<Speed>);
__PACKAGE__->_factory(
[ qw( ProfileToken
Position
Speed
) ],
{
'ProfileToken' => \%ProfileToken_of,
'Position' => \%Position_of,
'Speed' => \%Speed_of,
},
{
'ProfileToken' => 'ONVIF::PTZ::Types::ReferenceToken',
'Position' => 'ONVIF::PTZ::Types::PTZVector',
'Speed' => 'ONVIF::PTZ::Types::PTZSpeed',
},
{
'ProfileToken' => 'ProfileToken',
'Position' => 'Position',
'Speed' => 'Speed',
}
);
} # end BLOCK
} # end of BLOCK
1;
=pod
=head1 NAME
ONVIF::PTZ::Elements::AbsoluteMove
=head1 DESCRIPTION
Perl data type class for the XML Schema defined element
AbsoluteMove from the namespace http://www.onvif.org/ver20/ptz/wsdl.
=head1 PROPERTIES
The following properties may be accessed using get_PROPERTY / set_PROPERTY
methods:
=over
=item * ProfileToken
$element->set_ProfileToken($data);
$element->get_ProfileToken();
=item * Position
$element->set_Position($data);
$element->get_Position();
=item * Speed
$element->set_Speed($data);
$element->get_Speed();
=back
=head1 METHODS
=head2 new
my $element = ONVIF::PTZ::Elements::AbsoluteMove->new($data);
Constructor. The following data structure may be passed to new():
{
ProfileToken => $some_value, # ReferenceToken
Position => { # ONVIF::PTZ::Types::PTZVector
PanTilt => ,
Zoom => ,
},
Speed => { # ONVIF::PTZ::Types::PTZSpeed
PanTilt => ,
Zoom => ,
},
},
=head1 AUTHOR
Generated by SOAP::WSDL
=cut