ONVIF:...sponse(3pm)

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

✨ NAME ✨

okay so bestie, this page is ONVIF::PTZ::Elements::GetPresetToursResponse β€” from the User Contributed Perl Documentation, section 3pm. yes that's the whole name, it's giving very long but we love her πŸ’…


πŸŽ€ DESCRIPTION πŸŽ€

It's a Perl data type class, no cap. She exists to represent the XML Schema element GetPresetToursResponse β€” and that element lives in the namespace http://www.onvif.org/ver20/ptz/wsdl. that's it, that's the job, and she does it flawlessly 🫢


🌸 PROPERTIES 🌸

The following properties may be accessed using get_PROPERTY / set_PROPERTY methods (yes literally, that's the pattern, iykyk):

  • PresetTour β€” your one and only property, bestie 🌈
$element->set_PresetTour($data);
$element->get_PresetTour();

πŸ’– METHODS πŸ’–

πŸ¦‹ new πŸ¦‹

my $element = ONVIF::PTZ::Elements::GetPresetToursResponse->new($data);

Constructor, aka the birth of your element ✨. The following data structure may be passed to new() β€” and yes, it goes DEEP, buckle up:

{
  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
    },
  },
},
πŸ’€ real talk tho: see where it says "One of the following elements. No occurrence checks yet, so be sure to pass just one..."? That's not a vibe, that's a warning. There are no occurrence checks yet, so you genuinely have to be careful and pass just ONE of those elements yourself. nobody's gonna catch it for you, bestie 😭

πŸ‘‘ AUTHOR πŸ‘‘

Generated by SOAP::WSDL β€” yeah, she was auto-generated, and she still ate πŸ’…βœ¨


and that's the whole page, babe πŸŽ€ this one came from the User Contributed Perl Documentation, running under perl v5.40.1, dated 2026-02-01 β€” slay, iconic, periodt πŸŒˆπŸ’–πŸ¦‹

πŸ“¦ where this page comes from