ONVIF:...tPreset(3pm)

πŸ“¦
version 1.36.37 Β· 5 versions
, in ubuntu resolute, ubuntu stonking

πŸ’– 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