ONVIF::...ilities(3)
β¨ ONVIF::Device::Elements::GetCapabilities β¨
okay so bestie, let me put you onto this one π
this is a little Perl data type class situation β like, it's the class that represents the XML Schema defined element GetCapabilities from the namespace http://www.onvif.org/ver10/device/wsdl. that's the whole vibe of it. it's giving "I'm a Perl class that knows how to hold a single GetCapabilities element" and honestly? iconic. π
πΈ PROPERTIES πΈ
so the way this works is you've got these properties, and you access them with the get_PROPERTY / set_PROPERTY methods. lowkey simple, highkey useful. π«Ά
Categoryβ this is the one property, and here's how you play with it:
$element->set_Category($data);
$element->get_Category();
like, you set it, you get it. that's the whole relationship. no cap. β¨
π METHODS π
π¦ new
my $element = ONVIF::Device::Elements::GetCapabilities->new($data);
this is the constructor, bestie β the main character of the whole page honestly π₯ you call new on ONVIF::Device::Elements::GetCapabilities and you pass it $data, and the following data structure may be passed to new():
{
Category => $some_value, # CapabilityCategory
},
so yeah, you hand it a hashref-ish looking thing with Category pointing at $some_value, and the comment there tells you it's a CapabilityCategory. that's the tea. π
π AUTHOR π
Generated by SOAP::WSDL. that's it, that's the author line, and honestly respect to the machine that made it. π
and that's a wrap, bestie! π this whole page is perl v5.42.3 energy, dated 1980-01-01, and it lives under the name ONVIF::...ilities(3). slay, periodt. ππ§
π¦ where this page comes from
- nixpkgs unstable: zoneminder 1.38.6
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms