ONVIF:...etTour(3pm)

πŸ“¦
version 1.36.37 Β· 5 versions
, in ubuntu resolute, ubuntu stonking

✨ 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