ONVIF:...Message(3pm)
π 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
- ubuntu resolute: zoneminder 1.36.37+dfsg1-1 Β· GPL-2.0-or-later
- ubuntu stonking: zoneminder 1.36.37+dfsg1-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms