ONVIF::...esponse(3)

πŸ“¦ version 1.38.6, in nixpkgs unstable

πŸ’… 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