ONVIF::...uration(3)

πŸ“¦ version 1.38.6, in nixpkgs unstable

πŸ’… ONVIF::Media::Elements::SetVideoAnalyticsConfiguration

okay bestie, welcome to the perl corner of the internet πŸ’– this one lives in the User Contributed Perl Documentation section (iykyk), and it's lowkey just a lil data-holder class. it's literally giving "I'm a wrapper and I'm thriving."


✨ NAME ✨

ONVIF::Media::Elements::SetVideoAnalyticsConfiguration β€” say that five times fast, I dare you 🫢


🌸 DESCRIPTION 🌸

so this is a Perl data type class, no cap. it's for the XML Schema defined element SetVideoAnalyticsConfiguration, and it comes from the namespace http://www.onvif.org/ver10/media/wsdl. that's the whole vibe πŸ’…


πŸŽ€ PROPERTIES πŸŽ€

these are the properties you can get at with the get_PROPERTY / set_PROPERTY methods. it's giving very accessible, very main character ✨

  • Configuration β€” here's how you poke it:
$element->set_Configuration($data);
$element->get_Configuration();
  • ForcePersistence β€” same energy, different property:
$element->set_ForcePersistence($data);
$element->get_ForcePersistence();

πŸ¦‹ METHODS πŸ¦‹

new

my $element = ONVIF::Media::Elements::SetVideoAnalyticsConfiguration->new($data);

it's the constructor, bestie πŸ’œ this is where you spawn your very own element. the following data structure may be passed to new(), and listen β€” it's a deep one, so buckle up:

{
  Configuration =>  { # ONVIF::Media::Types::VideoAnalyticsConfiguration
    AnalyticsEngineConfiguration =>  { # ONVIF::Media::Types::AnalyticsEngineConfiguration
      AnalyticsModule =>  { # ONVIF::Media::Types::Config
        Parameters =>  { # ONVIF::Media::Types::ItemList
          SimpleItem => ,
          ElementItem =>  {
          },
          Extension =>  { # ONVIF::Media::Types::ItemListExtension
          },
        },
      },
      Extension =>  { # ONVIF::Media::Types::AnalyticsEngineConfigurationExtension
      },
    },
    RuleEngineConfiguration =>  { # ONVIF::Media::Types::RuleEngineConfiguration
      Rule =>  { # ONVIF::Media::Types::Config
        Parameters =>  { # ONVIF::Media::Types::ItemList
          SimpleItem => ,
          ElementItem =>  {
          },
          Extension =>  { # ONVIF::Media::Types::ItemListExtension
          },
        },
      },
      Extension =>  { # ONVIF::Media::Types::RuleEngineConfigurationExtension
      },
    },
  },
  ForcePersistence =>  $some_value, # boolean
},

like, look at all those nested hashes 😭 the ForcePersistence one is just a boolean, so that part's chill. the rest? it's giving nesting dolls, fr fr πŸͺ†


πŸ‘‘ AUTHOR πŸ‘‘

Generated by SOAP::WSDL β€” shoutout to the machine that made this 🫢


and that's the whole page, bestie! 🌈 the source/version energy at the bottom says perl v5.42.3 with a date of 1980-01-01 (iconic timestamp tbh, like it was born before the internet was cute πŸ’€) β€” anyway, you're gonna slay this, mwah πŸ’‹βœ¨πŸŽ€

πŸ“¦ where this page comes from