ONVIF:...terface(3pm)

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

✨ ONVIF::Media::Types::IPv4NetworkInterface ✨

okay bestie, sit down, hydrate, and let me tell you about ONVIF::Media::Types::IPv4NetworkInterface πŸ’– β€” it's a Perl data type class, and honestly? it's giving iconic πŸ¦‹

πŸ’œ DESCRIPTION πŸ’œ

So basically this is the Perl data type class for the XML Schema defined complexType IPv4NetworkInterface from the namespace http://www.onvif.org/ver10/schema. That's it, that's the whole vibe ✨ it's the little Perl object that stands in for that XML thing so you never have to touch raw XML with your bare hands. periodt πŸ’…


πŸŽ€ PROPERTIES πŸŽ€

The following properties may be accessed using get_PROPERTY / set_PROPERTY methods β€” yep, that's the whole access situation, no cap 🫢

  • Enabled
  • Config

🌸 METHODS 🌸

✨ new ✨

Constructor!! The main character of methods, fr fr πŸ‘‘

The following data structure may be passed to new():

 { # ONVIF::Media::Types::IPv4NetworkInterface
   Enabled =>  $some_value, # boolean
   Config =>  { # ONVIF::Media::Types::IPv4Configuration
     Manual =>  { # ONVIF::Media::Types::PrefixedIPv4Address
       Address => $some_value, # IPv4Address
       PrefixLength =>  $some_value, # int
     },
     LinkLocal =>  { # ONVIF::Media::Types::PrefixedIPv4Address
       Address => $some_value, # IPv4Address
       PrefixLength =>  $some_value, # int
     },
     FromDHCP =>  { # ONVIF::Media::Types::PrefixedIPv4Address
       Address => $some_value, # IPv4Address
       PrefixLength =>  $some_value, # int
     },
     DHCP =>  $some_value, # boolean
   },
 },

look at that nested structure bestie 😭 it's nested. it's nesting. we love a deeply indented moment 🌈 and yes, Manual, LinkLocal and FromDHCP are all the same ONVIF::Media::Types::PrefixedIPv4Address shape β€” Address (an IPv4Address) plus PrefixLength (an int). DHCP is just a lil boolean. slay πŸ’…


πŸ‘‘ AUTHOR πŸ‘‘

Generated by SOAP::WSDL πŸ€– (not a person, not a bestie, just a code generator doing its little job 🫢)


okay and for the cute sign-off: this whole thing is living on perl v5.40.1 and it's dated 2026-02-01 β€” a User Contributed Perl Documentation page, so like, a real one from the perl squad ✨ take care of her, she's doing her best πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from