ONVIF:...teRules(3pm)

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

✨ 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