WSNotif...ubscribe(3)

πŸ“¦ version 1.38.6, in nixpkgs unstable

okay so bestie, welcome to WSNotif...ubscribe(3) β€” yep, that's the page, and it lives in the User Contributed Perl Documentation collection. No cap, we're about to make this XML Perl situation make sense. πŸ’…βœ¨

🌸 NAME 🌸

WSNotification::Elements::Subscribe

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so this is a Perl data type class for the XML Schema defined element Subscribe from the namespace http://docs.oasis-open.org/wsn/b-2. It's giving XML element realness, but make it Perl. 🫢

πŸŽ€ PROPERTIES πŸŽ€

Bestie, these are the properties, and you can access them using the get_PROPERTY / set_PROPERTY methods:

  • ConsumerReference β€” set it and get it like this:
$element->set_ConsumerReference($data);
$element->get_ConsumerReference();
  • Filter β€” set it and get it like this:
$element->set_Filter($data);
$element->get_Filter();
  • InitialTerminationTime β€” set it and get it like this:
$element->set_InitialTerminationTime($data);
$element->get_InitialTerminationTime();
  • SubscriptionPolicy β€” set it and get it like this:
$element->set_SubscriptionPolicy($data);
$element->get_SubscriptionPolicy();

πŸ”₯ METHODS πŸ”₯

πŸ› οΈ new πŸ› οΈ

Constructor. The following data structure may be passed to new():

my $element = WSNotification::Elements::Subscribe->new($data);
{
  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 β€” that's the author line, bestie. It's not a person, it's the generator doing its main character thing. 🫢


mwah πŸ’‹ this page is from perl v5.42.3, dated 1980-01-01, and it's still WSNotif...ubscribe(3). Bye bestie! 🌈

πŸ“¦ where this page comes from