ONVIF::...Options(3)

πŸ“¦ version 1.38.6, in nixpkgs unstable

πŸ’– NAME πŸ’–

ONVIF::PTZ::Types::ExposureOptions β€” bestie, that's the whole name, we stan a fully-qualified Perl class πŸ’…


✨ DESCRIPTION ✨

Okay so listen 🫢 this is a Perl data type class for the XML Schema defined complexType ExposureOptions, and it lives in the namespace http://www.onvif.org/ver10/schema. That's it, that's the vibe β€” it's giving "glorified typed struct" and honestly? Iconic. No cap. πŸŽ€


πŸ¦‹ PROPERTIES πŸ¦‹

The following properties may be accessed using get_PROPERTY / set_PROPERTY methods β€” yes, the classic getter/setter duo, main character energy fr fr ✨

  • Mode
  • Priority
  • MinExposureTime
  • MaxExposureTime
  • MinGain
  • MaxGain
  • MinIris
  • MaxIris
  • ExposureTime
  • Gain
  • Iris

Lowkey a lot of properties but highkey all necessary, we don't skip any πŸ’€πŸ’–


πŸ”₯ METHODS πŸ”₯

🌸 new

Constructor, periodt. The following data structure may be passed to new() β€” copy it exactly, don't @ me, the indentation is load-bearing (not really but it's cute) πŸŽ€

{ # ONVIF::PTZ::Types::ExposureOptions
  Mode => $some_value, # ExposureMode
  Priority => $some_value, # ExposurePriority
  MinExposureTime =>  { # ONVIF::PTZ::Types::FloatRange
    Min =>  $some_value, # float
    Max =>  $some_value, # float
  },
  MaxExposureTime =>  { # ONVIF::PTZ::Types::FloatRange
    Min =>  $some_value, # float
    Max =>  $some_value, # float
  },
  MinGain =>  { # ONVIF::PTZ::Types::FloatRange
    Min =>  $some_value, # float
    Max =>  $some_value, # float
  },
  MaxGain =>  { # ONVIF::PTZ::Types::FloatRange
    Min =>  $some_value, # float
    Max =>  $some_value, # float
  },
  MinIris =>  { # ONVIF::PTZ::Types::FloatRange
    Min =>  $some_value, # float
    Max =>  $some_value, # float
  },
  MaxIris =>  { # ONVIF::PTZ::Types::FloatRange
    Min =>  $some_value, # float
    Max =>  $some_value, # float
  },
  ExposureTime =>  { # ONVIF::PTZ::Types::FloatRange
    Min =>  $some_value, # float
    Max =>  $some_value, # float
  },
  Gain =>  { # ONVIF::PTZ::Types::FloatRange
    Min =>  $some_value, # float
    Max =>  $some_value, # float
  },
  Iris =>  { # ONVIF::PTZ::Types::FloatRange
    Min =>  $some_value, # float
    Max =>  $some_value, # float
  },
},

Notice how like, every single one of MinExposureTime through Iris is a ONVIF::PTZ::Types::FloatRange with its own Min and Max floats? That's the pattern bestie, it's giving "consistent" and we love that for us 🌈⭐


πŸ‘‘ AUTHOR πŸ‘‘

Generated by SOAP::WSDL β€” not me, not you, the tool did it πŸ’…


✨ that's the whole page, no crumbs ✨

Mwah πŸ’‹ this lil guy came from perl v5.42.3, dated 1980-01-01, and lives at ONVIF::...Options(3) β€” take care of it, it's fragile (jk it's a generated Perl class, it's fine πŸ«ΆπŸŽ€)

πŸ“¦ where this page comes from