ONVIF:...tTypes(3pm)
β¨ NAME β¨
ONVIF::Media::Attributes::expectedContentTypes β bestie, say that three times fast, I dare you π
This page lives in the User Contributed Perl Documentation corner of your manual, so pull up a chair, grab a boba, and let's get into it π§
π¦ DESCRIPTION π¦
Okay so. This is a Perl data type class β and no, it's not a class about data types in the cool CS-y sense, it's the Perl-side stand-in for one specific XML Schema attribute. Which attribute, you ask? The one literally named expectedContentTypes, and it hangs out in the namespace:
http://www.w3.org/2005/05/xmlmime
That's it. That's the whole vibe. It exists so your Perl code has something to point at when the XML says "hey, here's the content types you should expect." Very demure, very mindful, very XML Schema of it π
πΈ METHODS πΈ
new
my $element = ONVIF::Media::Attributes::expectedContentTypes->new($data);
It's giving constructor energy β¨ You call new on the class, hand it some $data, and boom β you've got yourself an element. Main character moment, honestly π
And what does that $data need to look like? Glad you asked, bestie, because here's the exact structure you can pass to new():
{ value => $value }
That's the whole shape. One key, value, one value, $value. Lowkey the simplest data structure in the entire ONVIF cinematic universe and I'm obsessed π«Ά
π AUTHOR π
Generated by SOAP::WSDL β so, not a human author with a Twitter and opinions, just the machine doing machine things π€β¨
And that's the whole page, no cap! This lil' doc came to you courtesy of perl v5.40.1 and it's dated 2026-02-01 β yes, from the future, don't think about it too hard π Take care of yourself, hydrate, and go write some well-typed XML, you absolute icon π
π
π¦ 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