ONVIF::...etPreset(3)

πŸ“¦ version 1.38.6, in nixpkgs unstable

✨ NAME ✨

Okay bestie, welcome to the ONVIF::...etPreset(3) page β€” it's from the User Contributed Perl Documentation, and the actual main character is ONVIF::PTZ::Elements::SetPreset πŸ’…. That's the name, that's the class, periodt. πŸŽ€

πŸ’– DESCRIPTION πŸ’–

It's a Perl data type class for the XML Schema defined element SetPreset from the namespace http://www.onvif.org/ver20/ptz/wsdl πŸ¦‹. That's the whole vibe: a Perl-y wrapper situation for that exact XML element. No cap. ✨

πŸŽ€ PROPERTIES πŸŽ€

These properties may be accessed using the get_PROPERTY / set_PROPERTY methods β€” yes, that's literally the pattern, iykyk. Each one gets its own little moment:

  • ProfileToken β€” set it or get it like this:
$element->set_ProfileToken($data);
$element->get_ProfileToken();
  • PresetName β€” same energy, different property:
$element->set_PresetName($data);
$element->get_PresetName();
  • PresetToken β€” the third icon in the lineup:
$element->set_PresetToken($data);
$element->get_PresetToken();

πŸ› οΈ METHODS πŸ› οΈ

✨ new ✨

Constructor time, bestie β€” you call it like this:

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

Constructor. The following data structure may be passed to new():

{
  ProfileToken => $some_value, # ReferenceToken
  PresetName =>  $some_value, # string
  PresetToken => $some_value, # ReferenceToken
},

πŸ‘‘ AUTHOR πŸ‘‘

Generated by SOAP::WSDL β€” that's the author line, fr fr. πŸ’œ


And that's the whole page, bestie! This ONVIF::...etPreset(3) situation comes from perl v5.42.3, dated 1980-01-01 β€” mwah, iconic footer energy. πŸŽ€βœ¨πŸ«Ά

πŸ“¦ where this page comes from