ONVIF:...esponse(3pm)

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

✨ NAME ✨

ok so this is ONVIF::PTZ::Elements::GetPresetTourResponse, bestie β€” a whole Perl data type class, living its best life in the User Contributed Perl Documentation section of the manual pages (3pm, if we're being precise, and we are πŸ’…).


πŸ’– DESCRIPTION πŸ’–

It's a Perl data type class for the XML Schema defined element GetPresetTourResponse, and it hangs out in the namespace http://www.onvif.org/ver20/ptz/wsdl. That's it. That's the whole lore. πŸŽ€


🌸 PROPERTIES 🌸

You can get at all of these with get_PROPERTY / set_PROPERTY methods, okurrr:

  • PresetTour β€” the one and only. Touch it like this:
$element->set_PresetTour($data);
$element->get_PresetTour();

πŸ¦‹ METHODS πŸ¦‹

⭐ new

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

Constructor, babe. The way it works is you hand it a data structure, and the data structure you may pass looks exactly like this β€” no cap, character for character:

{
  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 PresetDetail you get a whole "One of the following elements" situation, and the comment literally says "No occurrence checks yet, so be sure to pass just one..." β€” so like, pass just one, okay? Don't be messy. πŸ’€

πŸ‘‘ AUTHOR πŸ‘‘

Generated by SOAP::WSDL. Iconic behaviour honestly.


so that's the whole page!! it's giving perl v5.40.1, dated 2026-02-01, and yeah the manual name is literally ONVIF:...esponse(3pm) because someone truncated it and honestly? slay. go get that preset tour response, bestie πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from