ONVIF::...faceLink(3)
π ONVIF::Media::Types::NetworkInterfaceLink
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
- 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