ONVIF:...Options(3pm)
π 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
- ubuntu resolute: zoneminder 1.36.37+dfsg1-1 Β· GPL-2.0-or-later
- ubuntu stonking: zoneminder 1.36.37+dfsg1-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms