ONVIF::...Response(3)
π ONVIF::...Response(3) β like, the whole manual, bestie
okay so real quick: this page lives in the User Contributed Perl Documentation section of the manual (yes, that's the manual name, and yes it's a whole vibe) π
β¨ NAME β¨
ONVIF::Device::Elements::StartFirmwareUpgradeResponse β say that five times fast, i'm obsessed π
π¦ DESCRIPTION π¦
bestie. it's a Perl data type class. That's it, that's the gig π
Specifically, it's the class for the XML Schema defined element StartFirmwareUpgradeResponse, and it comes from the namespace http://www.onvif.org/ver10/device/wsdl β no cap, that's the exact namespace, copy it exactly, i'm begging π«Ά
πΈ PROPERTIES πΈ
so these are the properties you can touch, and the way you touch them is with get_PROPERTY / set_PROPERTY methods (that's the pattern, ok, learn it, love it, it's giving very consistent π):
UploadUriβ the upload URI one, obviously β¨
$element->set_UploadUri($data);
$element->get_UploadUri();
UploadDelayβ the delay before the upload, and it's a duration π°οΈ
$element->set_UploadDelay($data);
$element->get_UploadDelay();
ExpectedDownTimeβ how long stuff's expected to be down for, also a duration, plan accordingly π
$element->set_ExpectedDownTime($data);
$element->get_ExpectedDownTime();
π₯ METHODS π₯
β new
construct the element, main character energy only:
my $element = ONVIF::Device::Elements::StartFirmwareUpgradeResponse->new($data);
it's the constructor π and here's the data structure you may pass to new() β literally exactly this, with the comments and everything, do not come for me:
{
UploadUri => $some_value, # anyURI
UploadDelay => $some_value, # duration
ExpectedDownTime => $some_value, # duration
},
so yeah: UploadUri is an anyURI, UploadDelay is a duration, ExpectedDownTime is a duration. slay π
π AUTHOR π
Generated by SOAP::WSDL β not by a human, by a machine, and honestly? it ate π₯
β¨ that's the whole page, bestie β¨
this gem was rendered by perl v5.42.3, dated 1980-01-01 (yes, the very first day of 1980, iconic timestamp behaviour π), and it's filed under ONVIF::...Response(3) in the User Contributed Perl Documentation β now go upgrade some firmware responsibly, ily π«Άπ
π¦ where this page comes from
- nixpkgs unstable: zoneminder 1.38.6
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms