ONVIF:...Options(3pm)

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

πŸ’– NAME πŸ’–

okay bestie, gather round, because this is ONVIF::Media::Types::PTZPresetTourSpotOptions β€” a whole Perl data type class, fr fr. It lives in the User Contributed Perl Documentation manual (third section, 3pm, you know the vibe) and honestly? it's giving "tiny little class, huge important job." πŸŽ€


✨ DESCRIPTION ✨

So like. This is a Perl data type class for the XML Schema defined complexType PTZPresetTourSpotOptions, and it comes straight outta the namespace http://www.onvif.org/ver10/schema. That's it, that's the whole deal β€” it's the Perl-side glow-up of one specific XML complexType, no cap. πŸ’…

🌸 PROPERTIES 🌸

These properties? You get at them with the get_PROPERTY / set_PROPERTY methods. Lowkey the whole point. The list:

  • PresetDetail
  • StayTime

That's the two. Periodt. πŸ‘‘


πŸ¦‹ METHODS πŸ¦‹

πŸ’œ new

Constructor, bestie. It's the "make me a new one" method, and here's the data structure you may pass to new() β€” every single line, verbatim, because we do not mess with the sacred code:

{ # ONVIF::Media::Types::PTZPresetTourSpotOptions
  PresetDetail =>  { # ONVIF::Media::Types::PTZPresetTourPresetDetailOptions
    PresetToken => $some_value, # ReferenceToken
    Home =>  $some_value, # boolean
    PanTiltPositionSpace =>  { # ONVIF::Media::Types::Space2DDescription
      URI =>  $some_value, # anyURI
      XRange =>  { # ONVIF::Media::Types::FloatRange
        Min =>  $some_value, # float
        Max =>  $some_value, # float
      },
      YRange =>  { # ONVIF::Media::Types::FloatRange
        Min =>  $some_value, # float
        Max =>  $some_value, # float
      },
    },
    ZoomPositionSpace =>  { # ONVIF::Media::Types::Space1DDescription
      URI =>  $some_value, # anyURI
      XRange =>  { # ONVIF::Media::Types::FloatRange
        Min =>  $some_value, # float
        Max =>  $some_value, # float
      },
    },
    Extension =>  { # ONVIF::Media::Types::PTZPresetTourPresetDetailOptionsExtension
    },
  },
  StayTime =>  { # ONVIF::Media::Types::DurationRange
    Min =>  $some_value, # duration
    Max =>  $some_value, # duration
  },
},

Look at that nesting. The way PresetDetail nests inside itself like a lil matryoshka of types β€” PanTiltPositionSpace and ZoomPositionSpace each hauling around their own XRange (and YRange for the 2D one, obviously, it's 2D), and then StayTime sitting pretty with a DurationRange of Min and Max durations. Iconic structure tbh. 🌈


🫢 AUTHOR 🫢

Generated by SOAP::WSDL. It literally wrote itself, king behavior. 😭


okay and for the cute sign-off: this whole thing is perl v5.40.1, dated 2026-02-01, and it's page ONVIF:...Options(3pm) of the User Contributed Perl Documentation. bye bestie, go build your preset tour spot options πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from