ONVIF::...ference(3)

πŸ“¦ version 1.38.6, in nixpkgs unstable

πŸ’… ONVIF::Media::Types::SourceReference β€” like, the whole entire vibe

Okay bestie, so pull up a chair, because we're reading a Perl manpage from the User Contributed Perl Documentation section and honestly?? It's short, it's sweet, and it's giving "generated by a robot who did NOT want to write a novel." We love that for us. πŸŽ€


✨ NAME ✨

ONVIF::Media::Types::SourceReference

That's it. That's the name. Iconic, honestly. πŸ‘‘


🌸 DESCRIPTION 🌸

So basically, this is a Perl data type class for the XML Schema defined complexType called SourceReference, and it lives in the namespace http://www.onvif.org/ver10/schema. It's a little Perl wrapper so you don't have to raw-dog the XML yourself, yk? πŸ¦‹


πŸ’– PROPERTIES πŸ’–

These are the properties you can get at with the get_PROPERTY / set_PROPERTY methods, no cap:

  • Token β€” yeah, that's the one. The only one. She's a solo act. πŸ’…

πŸ”₯ METHODS πŸ”₯

🫢 new

This is the constructor, bestie β€” it makes you a fresh new object. You can pass it this data structure right here:

 { # ONVIF::Media::Types::SourceReference
   Token => $some_value, # ReferenceToken
 },

Look at that little trailing comma. Aesthetic. ✨


🧚 attr

NOTE: Attribute documentation is experimental, and may be inaccurate. See the correspondent WSDL/XML Schema if in question.

Okay so real talk β€” this note is literally in the original, and I'm not gonna sweeten it: the attribute docs are experimental and may be inaccurate. If you're squinting at something sus, go check the correspondent WSDL/XML Schema. That's the source of truth, periodt. πŸ“œ

This class has additional attributes, and you reach them via the attr() method. Calling attr() hands you back an object of the class ONVIF::Media::Types::SourceReference::_SourceReference::XmlAttr. Long name, absolutely ate, no notes. πŸ’€

On that object, these attributes are accessible via the corresponding get_ / set_ methods:

  • Type β€” this attribute is of type SOAP::WSDL::XSD::Typelib::Builtin::anyURI. That's the whole description. Slay. 🌈

πŸ‘‘ AUTHOR πŸ‘‘

Generated by SOAP::WSDL. Not a human. Not a poet. Just a code generator doing its thing. πŸ€–πŸ’œ


And that's the whole page, bestie β€” you read it, you understood it, you're basically a Perl wizard now. Go forth and set your Token. πŸ¦‹πŸ’–

This little number is from perl v5.42.3, dated 1980-01-01 β€” yes, 1980, the manpage is a vintage icon and we respect her era. Mwah. πŸ˜˜πŸŽ€

πŸ“¦ where this page comes from