ONVIF:...otocol(3pm)

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

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