ONVIF::...Response(3)

πŸ“¦ version 1.38.6, in nixpkgs unstable

🌸 ONVIF::PTZ::Elements::GetStatusResponse 🌸

okay so before we even start β€” this page lives in the User Contributed Perl Documentation section (that's section 3 of the manual, bestie, the "library functions" aisle 🫢), and the whole thing is page ONVIF::...Response(3). Cute, right? Very demure, very abbreviated.


✨ NAME ✨

ONVIF::PTZ::Elements::GetStatusResponse β€” say it with your chest, it's a mouthful but she's iconic πŸ‘‘


πŸ’– DESCRIPTION πŸ’–

Okay so picture this: it's a Perl data type class for the XML Schema defined element GetStatusResponse, and it comes from the namespace http://www.onvif.org/ver20/ptz/wsdl. That's it. That's the whole vibe. She's a tiny little class doing one job and honestly? Slay. No cap. ✨


πŸŽ€ PROPERTIES πŸŽ€

These are the properties you can get at with the get_PROPERTY / set_PROPERTY methods β€” yk, the dynamic accessor situation. The list is literally this:

  • PTZStatus β€” the one and only, main character energy πŸ’…

And here's how you touch her:

$element->set_PTZStatus($data);
$element->get_PTZStatus();

set it, get it, periodt.


πŸ¦‹ METHODS πŸ¦‹

new

my $element = ONVIF::PTZ::Elements::GetStatusResponse->new($data);

Constructor, bestie. She takes $data, and the data structure you can pass to new() looks exactly like this β€” not me typing it wrong, this is verbatim:

{
  PTZStatus =>  { # ONVIF::PTZ::Types::PTZStatus
    Position =>  { # ONVIF::PTZ::Types::PTZVector
      PanTilt => ,
      Zoom => ,
    },
    MoveStatus =>  { # ONVIF::PTZ::Types::PTZMoveStatus
      PanTilt => $some_value, # MoveStatus
      Zoom => $some_value, # MoveStatus
    },
    Error =>  $some_value, # string
    UtcTime =>  $some_value, # dateTime
  },
},

look at all those nested hashes 😭 she's giving russian nesting dolls. And yes, PanTilt => , and Zoom => , literally have nothing after the arrow β€” that's exactly how it's written, so don't come for me πŸ™ˆ. The comments (# ONVIF::PTZ::Types::PTZStatus, # ONVIF::PTZ::Types::PTZVector, # ONVIF::PTZ::Types::PTZMoveStatus, # MoveStatus, # string, # dateTime) are all part of the original, keeping them fr fr.


πŸ’œ AUTHOR πŸ’œ

Generated by SOAP::WSDL. That's the whole author line. Automated queen behavior β€” no human took credit, she was just birthed by a code generator. We respect it. 🌈


lowkey the shortest manpage ever and honestly? ate. no filler, all facts. πŸ“

okay bestie that's the whole page β€” and if you were wondering about the fine print at the bottom, it's perl v5.42.3, dated 1980-01-01, filed under ONVIF::...Response(3). yes the date is 1980 and yes the version number says v5.42.3, don't ask, it's iconic πŸ’€βœ¨ bye ily 🫢

πŸ“¦ where this page comes from