ONVIF:...Message(3pm)

πŸ“¦
version 1.36.37 Β· 5 versions
, in ubuntu resolute, ubuntu stonking

πŸ’– ONVIF::PTZ::Elements::Message πŸ’–

okay bestie, welcome to the lil corner of the perl universe where ONVIF::PTZ::Elements::Message lives πŸ¦‹ this is a Perl data type class for the XML Schema defined element Message from the namespace http://www.onvif.org/ver10/schema. that's it. that's the whole vibe. it's giving "I exist to hold your XML data and look cute doing it" ✨


🌸 PROPERTIES 🌸

so here's the tea, these properties are all accessible via the classic get_PROPERTY / set_PROPERTY method duo β€” you know the drill, one to peek, one to poke 🫢

  • Source β€” your source data, no cap
$element->set_Source($data);
$element->get_Source();
  • Key β€” the key, iconic as always πŸ”‘
$element->set_Key($data);
$element->get_Key();
  • Data β€” literally the data bestie, main character energy
$element->set_Data($data);
$element->get_Data();
  • Extension β€” for when you gotta extend, iykyk πŸ’…
$element->set_Extension($data);
$element->get_Extension();

✨ METHODS ✨

πŸŽ€ new

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

it's the constructor, babes. the way that you just hand it a $data structure and it does its lil thing? obsessed. here's the data structure you may pass to new(), and yes you gotta match it exactly:

 {
   Source =>  { # ONVIF::PTZ::Types::ItemList
     SimpleItem => ,
     ElementItem =>  {
     },
     Extension =>  { # ONVIF::PTZ::Types::ItemListExtension
     },
   },
   Key =>  { # ONVIF::PTZ::Types::ItemList
     SimpleItem => ,
     ElementItem =>  {
     },
     Extension =>  { # ONVIF::PTZ::Types::ItemListExtension
     },
   },
   Data =>  { # ONVIF::PTZ::Types::ItemList
     SimpleItem => ,
     ElementItem =>  {
     },
     Extension =>  { # ONVIF::PTZ::Types::ItemListExtension
     },
   },
   Extension =>  { # ONVIF::PTZ::Types::MessageExtension
   },
 },

like, look at those nested hashes go 😭 Source, Key and Data are all ONVIF::PTZ::Types::ItemList shaped, and their Extensions are ONVIF::PTZ::Types::ItemListExtension, while the top-level Extension is a ONVIF::PTZ::Types::MessageExtension. periodt. πŸ’œ


πŸ‘‘ AUTHOR πŸ‘‘

Generated by SOAP::WSDL β€” shoutout to the machine that wrote this so I didn't have to 🌈


that's the whole page bestie, you ate it up fr fr πŸ’– this lil gem shipped with perl v5.40.1 and is dated 2026-02-01, so go forth and set your Source, Key, Data and Extension with confidence πŸ¦‹βœ¨πŸ’…

πŸ“¦ where this page comes from