ONVIF::...TZPreset(3)

πŸ“¦ version 1.38.6, in nixpkgs unstable

πŸ’– NAME πŸ’–

Okay so bestie, welcome to the manual page for ONVIF::...TZPreset(3) β€” which is one of those User Contributed Perl Documentation situations, and the actual class we're talking about here is ONVIF::Device::Types::PTZPreset. Yes, the filename is abbreviated and the class name is not. That's just how it is. We move. πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

So what even is this? It's a Perl data type class, periodt. Specifically, it's the class for the XML Schema defined complexType PTZPreset that lives in the namespace http://www.onvif.org/ver10/schema. That's it, that's the whole vibe. ✨

🌸 PROPERTIES 🌸

These are the properties you can get at β€” no cap β€” using get_PROPERTY / set_PROPERTY methods:

  • Name
  • PTZPosition

Like, that's the list. Two of them. Iconic minimalism honestly. πŸŽ€


⭐ METHODS ⭐

🧚 new

Constructor time!! 🫢 Here's the data structure you may pass to new() β€” and yes, I'm giving it to you exactly as it is, character for character, because we do not play fast and loose with code:

 { # ONVIF::Device::Types::PTZPreset
   Name => $some_value, # Name
   PTZPosition =>  { # ONVIF::Device::Types::PTZVector
     PanTilt => ,
     Zoom => ,
   },
 },

Look at that nesting. PTZPosition is literally giving ONVIF::Device::Types::PTZVector energy, and inside it there's PanTilt and Zoom sitting there with no values filled in. That's just how the doc shows it, bestie, don't come for me. 😭

πŸ¦‹ attr

⚠️ NOTE: Attribute documentation is experimental, and may be inaccurate. See the correspondent WSDL/XML Schema if in question.

Read that note again, fr fr. It's experimental. It might be wrong. If you're in doubt, go check the WSDL/XML Schema itself β€” that's the main character source of truth. πŸ‘‘

So, this class has additional attributes, and you reach them through the attr() method.

attr() hands you back an object of the class ONVIF::Device::Types::PTZPreset::_PTZPreset::XmlAttr. Look at that name. It's long. It ate. πŸ’€

Here's what you can access on that object, via the corresponding get_ / set_ methods:

  • token β€” this attribute is of type ONVIF::Device::Types::ReferenceToken.

And that's the whole attribute squad. One member. Small but mighty. πŸ“


πŸ‘‘ AUTHOR πŸ‘‘

Generated by SOAP::WSDL. That's the whole author section. It was generated, not written by a human, and honestly? Respect to the machine. πŸ€–πŸ’œ


Alright bestie, that's the page! πŸŽ€ This little gem is from perl v5.42.3, dated 1980-01-01 β€” yes, that date is real, yes it's a whole vibe, and yes you should still read your manpages. Bye bye, ily! πŸ«Άβœ¨πŸ’…

πŸ“¦ where this page comes from