ONVIF:...ration(3pm)

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

πŸ’– 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_value placeholders 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_value unless 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