zoneminder/onvif/proxy/lib/ONVIF/Media/Elements/GetOSDsResponse.pm

153 lines
2.7 KiB
Perl
Raw Normal View History

2014-07-15 02:36:18 +08:00
package ONVIF::Media::Elements::GetOSDsResponse;
use strict;
use warnings;
{ # BLOCK to scope variables
sub get_xmlns { 'http://www.onvif.org/ver10/media/wsdl' }
__PACKAGE__->__set_name('GetOSDsResponse');
__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 %OSDs_of :ATTR(:get<OSDs>);
__PACKAGE__->_factory(
[ qw( OSDs
) ],
{
'OSDs' => \%OSDs_of,
},
{
'OSDs' => 'ONVIF::Media::Types::OSDConfiguration',
},
{
'OSDs' => 'OSDs',
}
);
} # end BLOCK
} # end of BLOCK
1;
=pod
=head1 NAME
ONVIF::Media::Elements::GetOSDsResponse
=head1 DESCRIPTION
Perl data type class for the XML Schema defined element
GetOSDsResponse from the namespace http://www.onvif.org/ver10/media/wsdl.
=head1 PROPERTIES
The following properties may be accessed using get_PROPERTY / set_PROPERTY
methods:
=over
=item * OSDs
$element->set_OSDs($data);
$element->get_OSDs();
=back
=head1 METHODS
=head2 new
my $element = ONVIF::Media::Elements::GetOSDsResponse->new($data);
Constructor. The following data structure may be passed to new():
{
OSDs => { # ONVIF::Media::Types::OSDConfiguration
VideoSourceConfigurationToken => { value => $some_value },
Type => $some_value, # OSDType
Position => { # ONVIF::Media::Types::OSDPosConfiguration
Type => $some_value, # string
Pos => ,
Extension => { # ONVIF::Media::Types::OSDPosConfigurationExtension
},
},
TextString => { # ONVIF::Media::Types::OSDTextConfiguration
Type => $some_value, # string
DateFormat => $some_value, # string
TimeFormat => $some_value, # string
FontSize => $some_value, # int
FontColor => { # ONVIF::Media::Types::OSDColor
Color => ,
},
BackgroundColor => { # ONVIF::Media::Types::OSDColor
Color => ,
},
PlainText => $some_value, # string
Extension => { # ONVIF::Media::Types::OSDTextConfigurationExtension
},
},
Image => { # ONVIF::Media::Types::OSDImgConfiguration
ImgPath => $some_value, # anyURI
Extension => { # ONVIF::Media::Types::OSDImgConfigurationExtension
},
},
Extension => { # ONVIF::Media::Types::OSDConfigurationExtension
},
},
},
=head1 AUTHOR
Generated by SOAP::WSDL
=cut