WSNoti...bscribe(3pm)
π WSNotification::Elements::Subscribe π
okay bestie, so this is a page from the User Contributed Perl Documentation, and the manual name is WSNoti...bscribe(3pm) β yes it's literally truncated like that in the header, we love a mysterious abbreviation moment π
β¨ NAME β¨
WSNotification::Elements::Subscribe β that's the whole name, that's the whole vibe, no notes π
π¦ DESCRIPTION π¦
So basically: this is a Perl data type class for the XML Schema defined element Subscribe, and it comes from the namespace http://docs.oasis-open.org/wsn/b-2. That's it, that's the assignment. It's giving "I exist to hold your XML data and look cute doing it" β¨
πΈ PROPERTIES πΈ
These are the properties you can get and set, and the way you do it is with get_PROPERTY / set_PROPERTY methods. Slay. Here's the whole roster, no one's getting left out:
ConsumerReferenceπ«Ά
$element->set_ConsumerReference($data);
$element->get_ConsumerReference();
Filterπ
$element->set_Filter($data);
$element->get_Filter();
InitialTerminationTimeβ°
$element->set_InitialTerminationTime($data);
$element->get_InitialTerminationTime();
SubscriptionPolicyπ
$element->set_SubscriptionPolicy($data);
$element->get_SubscriptionPolicy();
π₯ METHODS π₯
π new
my $element = WSNotification::Elements::Subscribe->new($data);
Constructor, bestie. It's the glow-up moment where your object gets born π
Here's the data structure you may pass to new() β and yes, we're copying it exactly, do not freestyle this:
{
ConsumerReference => { # WSNotification::Types::EndpointReferenceType
Address => { value => $some_value },
ReferenceParameters => { # WSNotification::Types::ReferenceParametersType
},
Metadata => { # WSNotification::Types::MetadataType
},
},
Filter => { # WSNotification::Types::FilterType
TopicExpression => { # WSNotification::Types::TopicExpressionType
},
MessageContent => { # WSNotification::Types::QueryExpressionType
},
},
InitialTerminationTime => $some_value, # AbsoluteOrRelativeTimeType
SubscriptionPolicy => {
},
},
π AUTHOR π
Generated by SOAP::WSDL β¨ the machine did it, and honestly? It ate.
ngl the truncated WSNoti...bscribe in the header is living rent free in my head π but it's iconic, it's a whole aesthetic, iykyk π
okay that's the whole page, bestie!! ππ this was the WSNoti...bscribe(3pm) manual, part of the User Contributed Perl Documentation, footer says perl v5.40.1 and the date is 2026-02-01 β so like, fresh out the oven β go forth and build your Subscribe elements, mwah π
π¦ 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