ONVIF::...ference(3)
π 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 typeSOAP::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
- nixpkgs unstable: zoneminder 1.38.6
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms