ONVIF:...tPreset(3pm)
π ONVIF::PTZ::Elements::SetPreset β a Perl module page, but make it cute π
okay so bestie, welcome to a 3pm page (that's the Perl module section of the manual, iykyk) and this one is all about ONVIF::PTZ::Elements::SetPreset. yes the title has dots in it, no that's not a typo, that's just how it's filed. we move. β¨
β¨ NAME β¨
ONVIF::PTZ::Elements::SetPreset β literally that's it, that's the name, she's self-titled, main character energy π
πΈ DESCRIPTION πΈ
so this is a Perl data type class for the XML Schema defined element SetPreset β and that element lives in the namespace http://www.onvif.org/ver20/ptz/wsdl. that's the whole vibe. it's a class. it represents an element. she's doing her job and she's doing it well π
π PROPERTIES π
these properties can be accessed using the get_PROPERTY / set_PROPERTY methods. okay so the pattern is get to read and set to write, and yes you write the property name into the method name, no cap. here's the whole roster:
ProfileTokenβ the profile token one, accessed like this:
$element->set_ProfileToken($data);
$element->get_ProfileToken();
PresetNameβ the preset name one, because names are important bestie:
$element->set_PresetName($data);
$element->get_PresetName();
PresetTokenβ and the preset token one, which is a whole different thing from the name, do not mix them up I am begging π:
$element->set_PresetToken($data);
$element->get_PresetToken();
π¦ METHODS π¦
β¨ new β¨
my $element = ONVIF::PTZ::Elements::SetPreset->new($data);
Constructor!! it's giving "make me an object" π«Ά and here's the data structure you're allowed to pass to new():
{
ProfileToken => $some_value, # ReferenceToken
PresetName => $some_value, # string
PresetToken => $some_value, # ReferenceToken
},
notice how ProfileToken and PresetToken are ReferenceToken typed and PresetName is just a plain string? yeah. that's the tea β and also that trailing comma is literally in there, she stays.
π AUTHOR π
Generated by SOAP::WSDL β so like, a machine did this, and honestly? slay, it did great π
and that's the whole page bestie, no notes, we ate π
signing off from the footer, where it says this is perl v5.40.1, dated 2026-02-01, and filed under ONVIF:...tPreset(3pm) β periodt. π
β¨π
π¦ where this page comes from
- ubuntu resolute: zoneminder 1.36.37+dfsg1-1 Β· GPL-2.0-or-later
- ubuntu stonking: zoneminder 1.36.37+dfsg1-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms