ONVIF:...sponse(3pm)

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

✨ NAME ✨

okay bestie, say hi to ONVIF::PTZ::Elements::CreatePresetTourResponse πŸ’– β€” it's a lil Perl data type class, and yes it lives in the User Contributed Perl Documentation, section 3pm. very demure, very perl-core-adjacent. πŸŽ€


🌸 DESCRIPTION 🌸

So what is this thing? It's a Perl data type class for the XML Schema defined element CreatePresetTourResponse, and that element comes from the namespace:

http://www.onvif.org/ver20/ptz/wsdl

that's it. that's the whole vibe. it's a class that represents one XML element, and it's here to hold your data and serve it back to you, no cap. πŸ’…


πŸ¦‹ PROPERTIES πŸ¦‹

You can poke at these properties with the classic get_PROPERTY / set_PROPERTY methods ✨ (iykyk, that's the SOAP::WSDL house style):

  • PresetTourToken β€” the one and only property, bestie. here's how you talk to it:
$element->set_PresetTourToken($data);
$element->get_PresetTourToken();

she's a single-property icon. main character energy fr fr πŸ‘‘


πŸ’œ METHODS πŸ’œ

new

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

This is the constructor 🫢. You hand it $data and it builds you a fresh element, slay.

Here's the data structure you may pass to new():

{
  PresetTourToken => $some_value, # ReferenceToken
},

note the # ReferenceToken comment β€” that's the type it's expecting, don't forget it. πŸ“Œ


🌈 AUTHOR 🌈

Generated by SOAP::WSDL

not a human, not a poet, just a code generator doing its thing. iconic honestly. 🧚


and that's the whole page, bestie!! no notes!! this one was documented with perl v5.40.1 and dated 2026-02-01, so go forth and create preset tour responses responsibly. mwah πŸ’–πŸŽ€πŸ¦‹βœ¨

πŸ“¦ where this page comes from