ONVIF:...otocol(3pm)
π ONVIF::Media::Types::NetworkProtocol π
okay bestie, so this is a page from the User Contributed Perl Documentation (section 3pm, for the record), and it's all about a lil Perl class called ONVIF::Media::Types::NetworkProtocol. Yes the full name is long, no I will not be shortening it, it's iconic like that. π
β¨ NAME β¨
ONVIF::Media::Types::NetworkProtocol β that's the whole name, say it with your chest. π
πΈ DESCRIPTION πΈ
So basically, this is a Perl data type class β and it exists to represent one specific XML Schema defined complexType, namely NetworkProtocol, which lives in the namespace http://www.onvif.org/ver10/schema. That namespace URL? Copy it exactly, do not freestyle it, I'm begging. π«Ά
π PROPERTIES π
These are the properties you can get at, and the way you get at them is with get_PROPERTY / set_PROPERTY methods. That's the whole vibe: get and set, get and set, on loop. β¨
Nameβ yes, the name one π·οΈEnabledβ whether it's, you know, enabled πPortβ the port, bestie πExtensionβ the extension situation π§
π¦ METHODS π¦
π new π
Constructor energy. This is the one that builds you a fresh object, and it's giving the following data structure may be passed to new():
{ # ONVIF::Media::Types::NetworkProtocol
Name => $some_value, # NetworkProtocolType
Enabled => $some_value, # boolean
Port => $some_value, # int
Extension => { # ONVIF::Media::Types::NetworkProtocolExtension
},
},
Look at that little nested hash for Extension β she's empty inside but she's there, and she's valid, and we respect her. π Also peep the types in the comments: Name wants a NetworkProtocolType, Enabled wants a boolean, Port wants an int. Keep those exact, they're not suggestions. β
π AUTHOR π
Generated by SOAP::WSDL. It wasn't hand-written by a human with feelings, it was birthed by a code generator, and honestly? Slay. π€β¨
Reminder bestie: every value, every type comment, and that namespace URL are copy-exact. No cap. π
And that's the page!! Big kiss to perl v5.40.1 and the date 2026-02-01, which is when this whole thing got stamped, and shoutout to the User Contributed Perl Documentation crew for hosting it. Periodt. π
π¦πΈ
π¦ 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