ONVIF:...Options(3pm)

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

✨ NAME ✨

ONVIF::Analytics::Types::FocusOptions β€” it's a Perl data type class, bestie, and it's here to serve cunt (and also to model some XML) πŸ’…

(Also, hi, welcome to the ONVIF:...Options(3pm) page of the User Contributed Perl Documentation. You're in the right place, promise 🫢)


🌸 DESCRIPTION 🌸

Okay so boom: this is a Perl data type class for the XML Schema defined complexType FocusOptions from the namespace http://www.onvif.org/ver10/schema. That's it, that's the whole vibe. It's giving "I exist purely to hold some structured data and look cute doing it" ✨


πŸŽ€ PROPERTIES πŸŽ€

These properties? You can get at them with get_PROPERTY / set_PROPERTY methods. Not me being obsessed with accessor methods, but like… iconic behavior fr fr πŸ”₯

  • AutoFocusModes
  • DefaultSpeed
  • NearLimit
  • FarLimit

πŸ¦‹ METHODS πŸ¦‹

πŸ’– new πŸ’–

The constructor, obviously. She builds things. Main character energy πŸ‘‘

The following data structure may be passed to new():

{ # ONVIF::Analytics::Types::FocusOptions
  AutoFocusModes => $some_value, # AutoFocusMode
  DefaultSpeed =>  { # ONVIF::Analytics::Types::FloatRange
    Min =>  $some_value, # float
    Max =>  $some_value, # float
  },
  NearLimit =>  { # ONVIF::Analytics::Types::FloatRange
    Min =>  $some_value, # float
    Max =>  $some_value, # float
  },
  FarLimit =>  { # ONVIF::Analytics::Types::FloatRange
    Min =>  $some_value, # float
    Max =>  $some_value, # float
  },
},

Like, look at her. Nested hashes, FloatRange inside FloatRange-shaped slots, Min and Max floats everywhere β€” the way that DefaultSpeed, NearLimit and FarLimit are all literally the same ONVIF::Analytics::Types::FloatRange structure with a Min and a Max?? Repetition is a lifestyle and she's living it 🌈

Heads up bestie: the keys and the comments above are exactly what you pass β€” don't go renaming stuff, AutoFocusModes is singular-typed (AutoFocusMode) even though the property name is plural, iykyk πŸ™ˆ

πŸ’œ AUTHOR πŸ’œ

Generated by SOAP::WSDL β€” so not a human author, a machine did this. Respect the machine, she ate πŸ’€βœ¨


And that's the whole page, bestie! This little number comes to you courtesy of perl v5.40.1, dated 2026-02-01, and it's the ONVIF:...Options(3pm) page from the User Contributed Perl Documentation. Go forth and construct your FocusOptions πŸŽ€πŸ¦‹πŸ’–

πŸ“¦ where this page comes from