ONVIF:...teRules(3pm)
β¨ NAME β¨
okay bestie so this one is ONVIF::Analytics::Elements::CreateRules π
β that's the whole name, it's a Perl module, and yes the full path is giving very much "I live in a namespace" energy.
πΈ DESCRIPTION πΈ
So basically this is a Perl data type class for the XML Schema defined element called CreateRules, and that element comes from the namespace http://www.onvif.org/ver20/analytics/wsdl. That's it, that's the vibe. It's a little Perl wrapper so you don't have to rawdog the XML yourself π«Ά
π PROPERTIES π
These are the properties you can get to, and you reach them with the get_PROPERTY / set_PROPERTY methods β yes the pattern is literally just get_ plus the property name and set_ plus the property name, no cap:
ConfigurationTokenβ lowkey the token that points at your configuration, and you drive it like this:
$element->set_ConfigurationToken($data);
$element->get_ConfigurationToken();
Ruleβ the actual rule situation, accessed like so:
$element->set_Rule($data);
$element->get_Rule();
π METHODS π
π new π
my $element = ONVIF::Analytics::Elements::CreateRules->new($data);
It's the constructor, bestie. She builds the thing. β¨
And here's the data structure you may pass into new() β look at it, it's a whole nested situation, but it's giving organized:
{
ConfigurationToken => $some_value, # ReferenceToken
Rule => { # ONVIF::Analytics::Types::Config
Parameters => { # ONVIF::Analytics::Types::ItemList
SimpleItem => ,
ElementItem => {
},
Extension => { # ONVIF::Analytics::Types::ItemListExtension
},
},
},
},
the SimpleItem => , bit is genuinely how it's written, don't come for me, I'm just the messenger π
π AUTHOR π
Generated by SOAP::WSDL β yeah, a machine made this one, she was born, not written π
and that's the whole page, you ate it, periodt π
πΈ this little beauty came to you courtesy of the User Contributed Perl Documentation on perl v5.40.1, dated 2026-02-01, filed under ONVIF:...teRules(3pm) β go forth and create those rules, queen πβ¨
π¦ 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