zoneminder/onvif/proxy/lib/ONVIF/Device/Elements/StartFirmwareUpgradeRespons...

150 lines
2.5 KiB
Perl

package ONVIF::Device::Elements::StartFirmwareUpgradeResponse;
use strict;
use warnings;
{ # BLOCK to scope variables
sub get_xmlns { 'http://www.onvif.org/ver10/device/wsdl' }
__PACKAGE__->__set_name('StartFirmwareUpgradeResponse');
__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 %UploadUri_of :ATTR(:get<UploadUri>);
my %UploadDelay_of :ATTR(:get<UploadDelay>);
my %ExpectedDownTime_of :ATTR(:get<ExpectedDownTime>);
__PACKAGE__->_factory(
[ qw( UploadUri
UploadDelay
ExpectedDownTime
) ],
{
'UploadUri' => \%UploadUri_of,
'UploadDelay' => \%UploadDelay_of,
'ExpectedDownTime' => \%ExpectedDownTime_of,
},
{
'UploadUri' => 'SOAP::WSDL::XSD::Typelib::Builtin::anyURI',
'UploadDelay' => 'SOAP::WSDL::XSD::Typelib::Builtin::duration',
'ExpectedDownTime' => 'SOAP::WSDL::XSD::Typelib::Builtin::duration',
},
{
'UploadUri' => 'UploadUri',
'UploadDelay' => 'UploadDelay',
'ExpectedDownTime' => 'ExpectedDownTime',
}
);
} # end BLOCK
} # end of BLOCK
1;
=pod
=head1 NAME
ONVIF::Device::Elements::StartFirmwareUpgradeResponse
=head1 DESCRIPTION
Perl data type class for the XML Schema defined element
StartFirmwareUpgradeResponse from the namespace http://www.onvif.org/ver10/device/wsdl.
=head1 PROPERTIES
The following properties may be accessed using get_PROPERTY / set_PROPERTY
methods:
=over
=item * UploadUri
$element->set_UploadUri($data);
$element->get_UploadUri();
=item * UploadDelay
$element->set_UploadDelay($data);
$element->get_UploadDelay();
=item * ExpectedDownTime
$element->set_ExpectedDownTime($data);
$element->get_ExpectedDownTime();
=back
=head1 METHODS
=head2 new
my $element = ONVIF::Device::Elements::StartFirmwareUpgradeResponse->new($data);
Constructor. The following data structure may be passed to new():
{
UploadUri => $some_value, # anyURI
UploadDelay => $some_value, # duration
ExpectedDownTime => $some_value, # duration
},
=head1 AUTHOR
Generated by SOAP::WSDL
=cut