ONVIF:...ilities(3pm)
π ONVIF::Media::Types::SearchCapabilities π
okay bestie, so this is a Perl data type class β the whole thing lives in the Perl manual pages, section 3pm (User Contributed Perl Documentation, if you're fancy), and it exists to model one very specific little guy: the XML Schema defined complexType SearchCapabilities, which comes from the namespace http://www.onvif.org/ver10/schema. π
That's it. That's the job. It's a type class. It holds data. It's giving "glorified struct but make it Perl." β¨
πΈ PROPERTIES πΈ
so these are the properties you can touch. and when I say touch, I mean you get at them with get_PROPERTY / set_PROPERTY methods. that's the whole access pattern, no cap. π
XAddrβ the X address, bestie. ananyURI. π¦MetadataSearchβ the metadata search flag. aboolean. π
β METHODS β
π§ new
Constructor, periodt. here's the data structure you may pass to new() β copy it exactly, I am not letting you freestyle this:
{ # ONVIF::Media::Types::SearchCapabilities
XAddr => $some_value, # anyURI
MetadataSearch => $some_value, # boolean
},
look at that. two fields. XAddr wants an anyURI, MetadataSearch wants a boolean, and the comment up top is just telling you which complexType you're building. iconic honestly. π«Ά
π AUTHOR π
Generated by SOAP::WSDL. yes, a machine wrote this one. it ate and left no crumbs, fr fr. π₯
okay so that's the whole page!! π if you got this far you're literally the main character. this little doc shipped with perl v5.40.1, dated 2026-02-01, and it's part of the User Contributed Perl Documentation β stay slay, go build some ONVIF types, 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