ONVIF:...tDetail(3pm)
π ONVIF::Device::Types::PTZPresetTourPresetDetail β¨
okay bestie, so this is a page from the ONVIF:...tDetail(3pm) manual β yes the title got truncated in the header like that, it's giving "we ran out of room and just gave up" π β and it's literally all about one little Perl class. Sit with me, it's short and sweet. π
πΈ NAME πΈ
ONVIF::Device::Types::PTZPresetTourPresetDetail β that's the whole name, no notes, periodt. π
π¦ DESCRIPTION π¦
So this is a Perl data type class π β like, a class that exists purely to represent a data type, that's its whole job, and it's doing it beautifully.
Specifically, it stands in for the XML Schema defined complexType called PTZPresetTourPresetDetail, and that type lives in the namespace http://www.onvif.org/ver10/schema. That URL? Copy it exactly, don't get creative with it, bestie. π«Ά
π PROPERTIES π
These are the properties you can get at and set, and the way you do it is with get_PROPERTY / set_PROPERTY methods. Iconic accessor energy. β¨
PresetTokenHomePTZPositionTypeExtension
That's the whole roster, no extras, no surprises. π
β METHODS β
π§ new
Constructor, babes. It builds you a fresh one. π«Ά
Here's the data structure you're allowed to pass into new() β and literally, do not touch a single character of this, it's exact:
{ # ONVIF::Device::Types::PTZPresetTourPresetDetail
# One of the following elements.
# No occurrence checks yet, so be sure to pass just one...
PresetToken => $some_value, # ReferenceToken
Home => $some_value, # boolean
PTZPosition => { # ONVIF::Device::Types::PTZVector
PanTilt => ,
Zoom => ,
},
TypeExtension => { # ONVIF::Device::Types::PTZPresetTourTypeExtension
},
},
π¨ okay so real talk for a sec β the comment in there says "One of the following elements" and then "No occurrence checks yet, so be sure to pass just one..." which means the code will NOT stop you if you pass more than one. It just won't check. So the responsibility is on you to pass exactly one. Don't be messy. π
π AUTHOR π
Generated by SOAP::WSDL β that's it, that's the author line. It was auto-generated, so it didn't write itself a little bio, and honestly? Respect. π
and that's a wrap on the ONVIF:...tDetail(3pm) page, bestie!! π this one came from perl v5.40.1 and it's dated 2026-02-01 β so yeah, go forth and construct your preset tour preset details responsibly, mwah π β¨ππ¦πΈ
π¦ 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