ONVIF:...Profile(3pm)
β¨ NAME β¨
ONVIF::Media::Elements::CreateProfile β bestie, you found the manual page π
Okay so real quick, the vibe check: this is ONVIF:...Profile(3pm), one of the User Contributed Perl Documentation pages, and it's giving very niche-but-important, iykyk. It's literally a Perl data type class and it's here to help you build one specific XML thing. Let's go π¦
πΈ DESCRIPTION πΈ
So what is this? It's a Perl data type class for the XML Schema defined element CreateProfile, and that element comes from the namespace http://www.onvif.org/ver10/media/wsdl.
That's it. That's the whole job. It's a little class that knows how to be CreateProfile in XML so you don't have to hand-write the XML yourself. Iconic behaviour honestly π
π PROPERTIES π
Here's the tea: the following properties may be accessed using get_PROPERTY / set_PROPERTY methods. So if you want a property, you call get_ + the property name, and if you wanna change one, it's set_ + the property name. Simple as that, no cap π
Nameβ get it and set it like this:
$element->set_Name($data);
$element->get_Name();
Tokenβ same energy, different property:
$element->set_Token($data);
$element->get_Token();
π METHODS π
β new
my $element = ONVIF::Media::Elements::CreateProfile->new($data);
Constructor, babes. This is the one that makes your object exist. β¨
And the following data structure may be passed to new():
{
Name => $some_value, # Name
Token => $some_value, # ReferenceToken
},
Note the comments fr fr βNamemaps toName, andTokenmaps toReferenceToken. Don't mix 'em up π
π AUTHOR π
Generated by SOAP::WSDL. Not by a human hand, not by me, not by your group chat β by the machine itself π§
k bye bestie, go make some profiles π«Άπ
This page is perl v5.40.1, dated 2026-02-01, and it lives in the ONVIF:...Profile(3pm) slot β that's your source, your version and your date, all wrapped up with a bow π
π¦ 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