ONVIF:...etTour(3pm)
β¨ NAME β¨
ONVIF::PTZ::Elements::ModifyPresetTour β bestie it's a Perl data type class, and yes it lives in the ONVIF:...etTour(3pm) manual page π (the full name is giving extremely long, the man page just shortens it, iykyk)
π¦ DESCRIPTION π¦
Okay so listen. This is a Perl data type class for the XML Schema defined element ModifyPresetTour, and it comes straight out of the namespace http://www.onvif.org/ver20/ptz/wsdl. That's it, that's the whole vibe. It's a little data-holder icon, it does its job, it slays π
π PROPERTIES π
You can get at these properties with the get_PROPERTY / set_PROPERTY methods, no cap:
ProfileToken
$element->set_ProfileToken($data);
$element->get_ProfileToken();
PresetTour
$element->set_PresetTour($data);
$element->get_PresetTour();
πΈ METHODS πΈ
π§ new
my $element = ONVIF::PTZ::Elements::ModifyPresetTour->new($data);
It's the constructor, bestie. Here's the data structure you may pass to new() β read it carefully, it's a whole lil nested situation:
{
ProfileToken => $some_value, # ReferenceToken
PresetTour => { # ONVIF::PTZ::Types::PresetTour
Name => $some_value, # Name
Status => { # ONVIF::PTZ::Types::PTZPresetTourStatus
State => $some_value, # PTZPresetTourState
CurrentTourSpot => { # ONVIF::PTZ::Types::PTZPresetTourSpot
PresetDetail => { # ONVIF::PTZ::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::PTZ::Types::PTZVector
PanTilt => ,
Zoom => ,
},
TypeExtension => { # ONVIF::PTZ::Types::PTZPresetTourTypeExtension
},
},
Speed => { # ONVIF::PTZ::Types::PTZSpeed
PanTilt => ,
Zoom => ,
},
StayTime => $some_value, # duration
Extension => { # ONVIF::PTZ::Types::PTZPresetTourSpotExtension
},
},
Extension => { # ONVIF::PTZ::Types::PTZPresetTourStatusExtension
},
},
AutoStart => $some_value, # boolean
StartingCondition => { # ONVIF::PTZ::Types::PTZPresetTourStartingCondition
RecurringTime => $some_value, # int
RecurringDuration => $some_value, # duration
Direction => $some_value, # PTZPresetTourDirection
Extension => { # ONVIF::PTZ::Types::PTZPresetTourStartingConditionExtension
},
},
TourSpot => { # ONVIF::PTZ::Types::PTZPresetTourSpot
PresetDetail => { # ONVIF::PTZ::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::PTZ::Types::PTZVector
PanTilt => ,
Zoom => ,
},
TypeExtension => { # ONVIF::PTZ::Types::PTZPresetTourTypeExtension
},
},
Speed => { # ONVIF::PTZ::Types::PTZSpeed
PanTilt => ,
Zoom => ,
},
StayTime => $some_value, # duration
Extension => { # ONVIF::PTZ::Types::PTZPresetTourSpotExtension
},
},
Extension => { # ONVIF::PTZ::Types::PTZPresetTourExtension
},
},
},
π«Ά heads up bestie: inside PTZPresetTourPresetDetail the comment literally says "One of the following elements. No occurrence checks yet, so be sure to pass just one..." β so like, don't be out here passing all of them, okay? Pass just one. That's not me being dramatic, that's the source talking π
π AUTHOR π
Generated by SOAP::WSDL. It literally just appeared, main character energy, no human credited π
okay and that's the whole page!! mwah π this was perl v5.40.1, dated 2026-02-01, from the User Contributed Perl Documentation collection β go forth and modify those preset tours, bestie, you got this βπΈ
π¦ 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