ONVIF:...Options(3pm)

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

πŸ’– ONVIF::Media::Types::ColorOptions πŸ’–

okay bestie, so this is a page from the User Contributed Perl Documentation, and it's all about ONVIF::Media::Types::ColorOptions β€” which lives in section 3pm of the manual, iykyk. it's a Perl data type class, and it's giving very much "generated code that somehow still slays." let's get into it 🫢


✨ NAME ✨

ONVIF::Media::Types::ColorOptions β€” no cap, that's the whole name, and yes it's a mouthful, we love her anyway πŸ’…


🌈 DESCRIPTION 🌈

so basically? this is a Perl data type class for the XML Schema defined complexType ColorOptions, and she comes from the namespace http://www.onvif.org/ver10/schema.

and then there's this other little link floating around:

http://www.onvif.org/ver10/colorspace/HSV β€” which is the HSV colourspace. iconic. 🌸


πŸŽ€ PROPERTIES πŸŽ€

these are the properties you can reach, and the way you reach them is with get_PROPERTY / set_PROPERTY methods. periodt.

  • ColorList πŸ’–
  • ColorspaceRange πŸ¦‹

🧚 METHODS 🧚

🌟 new 🌟

the constructor, bestie! and here's the tea β€” the following data structure may be passed to new():

 { # ONVIF::Media::Types::ColorOptions
   # One of the following elements.
   # No occurrence checks yet, so be sure to pass just one...
   ColorList => ,
   ColorspaceRange =>  { # ONVIF::Media::Types::ColorspaceRange
     X =>  { # ONVIF::Media::Types::FloatRange
       Min =>  $some_value, # float
       Max =>  $some_value, # float
     },
     Y =>  { # ONVIF::Media::Types::FloatRange
       Min =>  $some_value, # float
       Max =>  $some_value, # float
     },
     Z =>  { # ONVIF::Media::Types::FloatRange
       Min =>  $some_value, # float
       Max =>  $some_value, # float
     },
     Colorspace =>  $some_value, # anyURI
   },
 },
⚠️ real talk, don't skip this: it says "One of the following elements" and "No occurrence checks yet, so be sure to pass just one..." β€” so lowkey nobody's stopping you from passing both, but please don't. pass just one. the code isn't checking, so you have to be the responsible main character here πŸ™ˆ

πŸ‘‘ AUTHOR πŸ‘‘

generated by SOAP::WSDL. that's it, that's the author. the machine did it, and honestly? she ate. πŸ”₯


and that's the whole page, bestie!! πŸ’œ this one's running on 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 colour options, just... one of them, okay? mwah πŸŽ€βœ¨

πŸ“¦ where this page comes from