ONVIF::...TZPreset(3)
π 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:
NamePTZPosition
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 typeONVIF::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
- nixpkgs unstable: zoneminder 1.38.6
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms