ONVIF::...faceLink(3)

πŸ“¦ version 1.38.6, in nixpkgs unstable

okay so bestie, the actual page title is ONVIF::...faceLink(3) (the manual name got truncated on the header line, that's just how it do) and it's all about one little Perl class. Let's get into it 🫢


✨ NAME ✨

ONVIF::Media::Types::NetworkInterfaceLink β€” say it with your chest, it's a mouthful but it's iconic. πŸ‘‘


🌸 DESCRIPTION 🌸

This is a Perl data type class, no cap. It exists to represent the XML Schema defined complexType called NetworkInterfaceLink, and that complexType lives in the namespace http://www.onvif.org/ver10/schema. So like, it's the Perl-side glow-up of that schema type. πŸ’–

πŸŽ€ PROPERTIES πŸŽ€

These are the properties you can get to, and you reach them with the get_PROPERTY / set_PROPERTY methods β€” that's the whole vibe check:

  • AdminSettings πŸ› οΈ
  • OperSettings βš™οΈ
  • `InterfaceType`` πŸ¦‹

(not me listing them exactly like the manpage does, because that's literally all three fr fr)


🧚 METHODS 🧚

🌈 new

Constructor, as constructors do. Slay. The following data structure may be passed to new() β€” note that this is may, not must, so don't come for me:

{ # ONVIF::Media::Types::NetworkInterfaceLink
  AdminSettings =>  { # ONVIF::Media::Types::NetworkInterfaceConnectionSetting
    AutoNegotiation =>  $some_value, # boolean
    Speed =>  $some_value, # int
    Duplex => $some_value, # Duplex
  },
  OperSettings =>  { # ONVIF::Media::Types::NetworkInterfaceConnectionSetting
    AutoNegotiation =>  $some_value, # boolean
    Speed =>  $some_value, # int
    Duplex => $some_value, # Duplex
  },
  InterfaceType => $some_value, # IANA-IfTypes
},

look at that nested hash go 😭 both AdminSettings and OperSettings are ONVIF::Media::Types::NetworkInterfaceConnectionSetting objects, each carrying AutoNegotiation (a boolean), Speed (an int), and Duplex (a Duplex). and then InterfaceType is just $some_value typed as IANA-IfTypes. main character struct energy honestly. ✨


πŸ‘‘ AUTHOR πŸ‘‘

Generated by SOAP::WSDL. That's it, that's the author. It was born this way, we don't ask questions. πŸ’€


lowkey reminder bestie: everything above is exactly the truth of this page, no invented lore, no extra tips. if you need the real real, that's what the manpage says. πŸ™ˆ

k bye, ily, go write some Perl πŸ’œ


🌸 this absolute gem of a page is perl v5.42.3 and it's dated 1980-01-01 β€” yes, before most of us existed, and it's still serving ⭐ πŸŽ€ πŸ¦‹

πŸ“¦ where this page comes from