ONVIF:...ration(3pm)
π NAME π
okay so bestie, welcome to ONVIF::Device::Elements::MetadataConfiguration β like, the whole entire manual page for it, from the 3pm section of the perl docs (User Contributed Perl Documentation, if we're being official about it π).
β¨ DESCRIPTION β¨
So basically? This is a Perl data type class for the XML Schema defined element MetadataConfiguration, and it lives in the namespace http://www.onvif.org/ver10/schema. That's it, that's the whole vibe. It's giving "glorified struct but make it XML Schema" and honestly? iconic. π
π¦ METHODS π¦
πΈ new πΈ
my $element = ONVIF::Device::Elements::MetadataConfiguration->new($data);
Constructor time!! π«Ά Pass it $data and it builds you the element. Here's the data structure you may pass to new() β no cap, this is the exact shape, nested hashes all the way down like a lil matryoshka doll of config πͺ:
{ # ONVIF::Device::Types::MetadataConfiguration
PTZStatus => { # ONVIF::Device::Types::PTZFilter
Status => $some_value, # boolean
Position => $some_value, # boolean
},
Analytics => $some_value, # boolean
Multicast => { # ONVIF::Device::Types::MulticastConfiguration
Address => { # ONVIF::Device::Types::IPAddress
Type => $some_value, # IPType
IPv4Address => $some_value, # IPv4Address
IPv6Address => $some_value, # IPv6Address
},
Port => $some_value, # int
TTL => $some_value, # int
AutoStart => $some_value, # boolean
},
SessionTimeout => $some_value, # duration
AnalyticsEngineConfiguration => { # ONVIF::Device::Types::AnalyticsEngineConfiguration
AnalyticsModule => { # ONVIF::Device::Types::Config
Parameters => { # ONVIF::Device::Types::ItemList
SimpleItem => ,
ElementItem => {
},
Extension => { # ONVIF::Device::Types::ItemListExtension
},
},
},
Extension => { # ONVIF::Device::Types::AnalyticsEngineConfigurationExtension
},
},
Extension => { # ONVIF::Device::Types::MetadataConfigurationExtension
},
},
okay like look at the comments β every nested hash tells you exactly which type it is, so you never have to guess where you are. main character energy fr fr π
lowkey a warning tho: leave the$some_valueplaceholders as-is in your head, bestie β they're standing in for whatever actual value of that type you're passing in. don't go passing the literal string$some_valueunless you want chaos. π
π AUTHOR π
Generated by SOAP::WSDL. That's the whole author note β the robots did this one, and they ate. π€β¨
and that's the tea, bestie π this page was written for perl v5.40.1 and dated 2026-02-01 β yes, the docs really do come with a lil timestamp, and yes, we're mentioning it because the footer said so. π go forth and configure your metadata, you absolute legend ππ
π¦ 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