WSNoti...bscribe(3pm)

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

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