ONVIF::...rOptions(3)
π ONVIF::...rOptions(3) β bestie's guide to PTZPresetTourOptions β¨
okay so real talk, this page is from the User Contributed Perl Documentation and it's giving "I'm a Perl data type class and I have a lot of feelings" energy. no cap, let's get into it π«Ά
πΈ NAME πΈ
ONVIF::Analytics::Types::PTZPresetTourOptions
like, that's her full government name, bestie. memorize it for the group chat π
π¦ DESCRIPTION π¦
so basically: this is a Perl data type class for the XML Schema defined complexType PTZPresetTourOptions, and it lives in the namespace http://www.onvif.org/ver10/schema. she's imported, she's typed, she's iconic π
π PROPERTIES π
these are the properties you can access using the get_PROPERTY / set_PROPERTY methods. lowkey the whole point of the class, fr fr:
AutoStartβ yes bestie, the first property, she's right there at the top of the list πStartingConditionβ the starting condition property, doing her main character thing β¨TourSpotβ the tour spot property, and yes it gets a whole nested data structure later, we'll get there π
π₯ METHODS π₯
π new
Constructor. The following data structure may be passed to new() β and yes, it's long, but we do not skip details in this house. copy it exactly, bestie, don't let the vibe check fail π
{ # ONVIF::Analytics::Types::PTZPresetTourOptions
AutoStart => $some_value, # boolean
StartingCondition => { # ONVIF::Analytics::Types::PTZPresetTourStartingConditionOptions
RecurringTime => { # ONVIF::Analytics::Types::IntRange
Min => $some_value, # int
Max => $some_value, # int
},
RecurringDuration => { # ONVIF::Analytics::Types::DurationRange
Min => $some_value, # duration
Max => $some_value, # duration
},
Direction => $some_value, # PTZPresetTourDirection
Extension => { # ONVIF::Analytics::Types::PTZPresetTourStartingConditionOptionsExtension
},
},
TourSpot => { # ONVIF::Analytics::Types::PTZPresetTourSpotOptions
PresetDetail => { # ONVIF::Analytics::Types::PTZPresetTourPresetDetailOptions
PresetToken => $some_value, # ReferenceToken
Home => $some_value, # boolean
PanTiltPositionSpace => { # ONVIF::Analytics::Types::Space2DDescription
URI => $some_value, # anyURI
XRange => { # ONVIF::Analytics::Types::FloatRange
Min => $some_value, # float
Max => $some_value, # float
},
YRange => { # ONVIF::Analytics::Types::FloatRange
Min => $some_value, # float
Max => $some_value, # float
},
},
ZoomPositionSpace => { # ONVIF::Analytics::Types::Space1DDescription
URI => $some_value, # anyURI
XRange => { # ONVIF::Analytics::Types::FloatRange
Min => $some_value, # float
Max => $some_value, # float
},
},
Extension => { # ONVIF::Analytics::Types::PTZPresetTourPresetDetailOptionsExtension
},
},
StayTime => { # ONVIF::Analytics::Types::DurationRange
Min => $some_value, # duration
Max => $some_value, # duration
},
},
},
like... the nesting?? the way this hash goes seven layers deep?? it's giving "I contain multitudes" π no notes, honestly. just pass it exactly like this and you're slaying π
β AUTHOR β
Generated by SOAP::WSDL β not me, not you, the machine did that π iconic behavior honestly.
and that's the page, bestie π one last lil sign-off: this beauty is running on perl v5.42.3, dated 1980-01-01, so yeah she's vintage but she's still that girl πβ¨π¦
π¦ 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