ONVIF:...setTour(3pm)

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

πŸ’– ONVIF:...setTour(3pm) πŸ’–

okay bestie, welcome to the group chat. this one lives in the ONVIF:...setTour(3pm) manual, and it's giving extremely specific Perl data type class energy. let's get into it ✨


πŸŽ€ NAME πŸŽ€

ONVIF::PTZ::Elements::GetPresetTour β€” say it with your chest, it's a mouthful but she's iconic πŸ’…


🌸 DESCRIPTION 🌸

so basically? this is a Perl data type class for the XML Schema defined element GetPresetTour πŸ¦‹

and where does that element come from? from the namespace http://www.onvif.org/ver20/ptz/wsdl β€” no cap, that's the whole origin story 🫢


✨ PROPERTIES ✨

these are the properties you can get to with the get_PROPERTY / set_PROPERTY methods. lowkey the whole personality of this class:

  • ProfileToken
$element->set_ProfileToken($data);
$element->get_ProfileToken();
  • PresetTourToken
$element->set_PresetTourToken($data);
$element->get_PresetTourToken();

πŸ’œ METHODS πŸ’œ

🌈 new 🌈

my $element = ONVIF::PTZ::Elements::GetPresetTour->new($data);

she's the Constructor πŸ‘‘ and here's the data structure you may pass to new(), in all her glory:

{
  ProfileToken => $some_value, # ReferenceToken
  PresetTourToken => $some_value, # ReferenceToken
},

not me being obsessed with how clean that is 😭 two tokens, both ReferenceToken, both just vibing.


🫢 AUTHOR 🫢

Generated by SOAP::WSDL β€” periodt, that's the whole credit ✨


aaaand that's the page, bestie! this little cutie is from the perl v5.40.1 docs, dated 2026-02-01, filed under ONVIF:...setTour(3pm). go forth and set_ProfileToken responsibly πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from