ONVIF::...esponse(3)
π ONVIF::Device::Elements::GetRelayOutputsResponse
okay bestie, so this page is ONVIF::...esponse(3) in the man pages (the title gets truncated, which is giving "my name is too long for the doorplate" energy π), and it lives in the User Contributed Perl Documentation section. It's a Perl class page, not a program, so there's no synopsis with flags to memorise β just vibes, properties, and one constructor. Slay. Let's get into it. β¨
πΈ NAME πΈ
ONVIF::Device::Elements::GetRelayOutputsResponse β yes the whole mouthful, it's iconic and it knows it π
π¦ DESCRIPTION π¦
So basically this is a Perl data type class for the XML Schema defined element GetRelayOutputsResponse, and it comes from the namespace http://www.onvif.org/ver10/device/wsdl.
That's it, that's the whole assignment. It's a little object that represents that one XML element. Lowkey humble, highkey essential. π
π«Ά PROPERTIES π«Ά
These properties are all accessible using get_PROPERTY / set_PROPERTY methods β no direct hash poking, bestie, use the methods, they're right there π
RelayOutputsβ the one and only property, and honestly she's carrying the whole class:
$element->set_RelayOutputs($data);
$element->get_RelayOutputs();
β METHODS β
π§ new
my $element = ONVIF::Device::Elements::GetRelayOutputsResponse->new($data);
Constructor, periodt. It builds you a brand new element object. The following data structure may be passed to new():
{
RelayOutputs => { # ONVIF::Device::Types::RelayOutput
Properties => { # ONVIF::Device::Types::RelayOutputSettings
Mode => $some_value, # RelayMode
DelayTime => $some_value, # duration
IdleState => $some_value, # RelayIdleState
},
},
},
Look at that nesting π β RelayOutputs is a ONVIF::Device::Types::RelayOutput, which has Properties typed as ONVIF::Device::Types::RelayOutputSettings, and inside there we've got Mode (a RelayMode), DelayTime (a duration), and IdleState (a RelayIdleState). Copy that structure exactly, don't freestyle it π
π AUTHOR π
Generated by SOAP::WSDL β not me, not you, the tool did it. π€β¨
That's the whole page, bestie β no hidden lore, no gotchas, no deprecated anything. Just a clean lil' data type class doing its job. π«Ά
π and that's a wrap! this was ONVIF::...esponse(3) from User Contributed Perl Documentation, perl v5.42.3, dated 1980-01-01 β yeah that date is older than the concept of a group chat π, but the docs still ate. mwah π
π¦ 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