ONVIF:...ilities(3pm)

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

πŸ’– 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. an anyURI. πŸ¦‹
  • MetadataSearch β€” the metadata search flag. a boolean. πŸ’…

⭐ 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