ONVIF:...Preset(3pm)
β¨ NAME β¨
ONVIF::Media::Types::PTZPreset β bestie, it's a Perl data type class, living its lil life over in the 3pm section of the manual π
πΈ DESCRIPTION πΈ
Okay so real talk: this is a Perl data type class for the XML Schema defined complexType PTZPreset, and it comes from the namespace http://www.onvif.org/ver10/schema. That's it. That's the whole vibe. It's a little class that knows how to be a PTZPreset and not much else, and honestly? Iconic of it. π«Ά
π PROPERTIES π
The following properties may be accessed using get_PROPERTY / set_PROPERTY methods β so like, get_Name, set_Name, you get the picture, it's giving very predictable and we love that for us:
NamePTZPosition
π METHODS π
π new
Constructor, aka the birth of your object. The following data structure may be passed to new():
{ # ONVIF::Media::Types::PTZPreset
Name => $some_value, # Name
PTZPosition => { # ONVIF::Media::Types::PTZVector
PanTilt => ,
Zoom => ,
},
},
Not me just handing you the whole shape of it. Copy it, love it, nest it. π¦
π attr
NOTE: Attribute documentation is experimental, and may be inaccurate. See the correspondent WSDL/XML Schema if in question. π (fr fr, do not come for me if it's off, go read the schema)
This class has additional attributes, accessibly via the attr() method.
attr() returns an object of the class ONVIF::Media::Types::PTZPreset::_PTZPreset::XmlAttr. Yes bestie, a whole nested class just for attributes. Main character energy.
The following attributes can be accessed on this object via the corresponding get_/set_ methods:
tokenβ this attribute is of typeONVIF::Media::Types::ReferenceToken.
π AUTHOR π
Generated by SOAP::WSDL β (it literally made itself, no cap)
okay that's the whole page, you ate it, go forth and get_Name something π
this lil masterpiece ships with perl v5.40.1 and is dated 2026-02-01 β mwah, bye bestie! πβ¨
π¦ where this page comes from
- ubuntu resolute: zoneminder 1.36.37+dfsg1-1 Β· GPL-2.0-or-later
- ubuntu stonking: zoneminder 1.36.37+dfsg1-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms