ONVIF::...Response(3)

πŸ“¦ version 1.38.6, in nixpkgs unstable

πŸ’… ONVIF::...Response(3) β€” like, the whole manual, bestie

okay so welcome to the glow-up of a page from User Contributed Perl Documentation β€” it's the manpage for ONVIF::...Response(3), and yes she's a whole icon. buckle up πŸŽ€


✨ NAME ✨

ONVIF::Device::Elements::GetNetworkInterfacesResponse β€” that's her full government name, no nicknames πŸ’–


πŸ¦‹ DESCRIPTION πŸ¦‹

bestie. this is a Perl data type class for the XML Schema element GetNetworkInterfacesResponse, and it lives in the namespace http://www.onvif.org/ver10/device/wsdl. that's it. that's the whole vibe. she's a class that represents one specific XML element, and she eats every single time πŸ‘‘


🌸 PROPERTIES 🌸

so these are the properties you can touch, and the way you touch them is with get_PROPERTY / set_PROPERTY methods. the naming convention is literally just the property name, iykyk.

  • NetworkInterfaces β€” the one and only property here, and you get at her like this:
$element->set_NetworkInterfaces($data);
$element->get_NetworkInterfaces();

slay. that's the whole list. one property, main character energy πŸ’…


⭐ METHODS ⭐

🫢 new

my $element = ONVIF::Device::Elements::GetNetworkInterfacesResponse->new($data);

it's the constructor, obviously. you hand it $data and it gives you back a brand new element object. and here's the data structure you're allowed to pass to new() β€” it's a big one, so hydrate first πŸ“:

        {
          NetworkInterfaces =>  { # ONVIF::Device::Types::NetworkInterface
            Enabled =>  $some_value, # boolean
            Info =>  { # ONVIF::Device::Types::NetworkInterfaceInfo
              Name =>  $some_value, # string
              HwAddress => $some_value, # HwAddress
              MTU =>  $some_value, # int
            },
            Link =>  { # ONVIF::Device::Types::NetworkInterfaceLink
              AdminSettings =>  { # ONVIF::Device::Types::NetworkInterfaceConnectionSetting
                AutoNegotiation =>  $some_value, # boolean
                Speed =>  $some_value, # int
                Duplex => $some_value, # Duplex
              },
              OperSettings =>  { # ONVIF::Device::Types::NetworkInterfaceConnectionSetting
                AutoNegotiation =>  $some_value, # boolean
                Speed =>  $some_value, # int
                Duplex => $some_value, # Duplex
              },
              InterfaceType => $some_value, # IANA-IfTypes
            },
            IPv4 =>  { # ONVIF::Device::Types::IPv4NetworkInterface
              Enabled =>  $some_value, # boolean
              Config =>  { # ONVIF::Device::Types::IPv4Configuration
                Manual =>  { # ONVIF::Device::Types::PrefixedIPv4Address
                  Address => $some_value, # IPv4Address
                  PrefixLength =>  $some_value, # int
                },
                LinkLocal =>  { # ONVIF::Device::Types::PrefixedIPv4Address
                  Address => $some_value, # IPv4Address
                  PrefixLength =>  $some_value, # int
                },
                FromDHCP =>  { # ONVIF::Device::Types::PrefixedIPv4Address
                  Address => $some_value, # IPv4Address
                  PrefixLength =>  $some_value, # int
                },
                DHCP =>  $some_value, # boolean
              },
            },
            IPv6 =>  { # ONVIF::Device::Types::IPv6NetworkInterface
              Enabled =>  $some_value, # boolean
              Config =>  { # ONVIF::Device::Types::IPv6Configuration
                AcceptRouterAdvert =>  $some_value, # boolean
                DHCP => $some_value, # IPv6DHCPConfiguration
                Manual =>  { # ONVIF::Device::Types::PrefixedIPv6Address
                  Address => $some_value, # IPv6Address
                  PrefixLength =>  $some_value, # int
                },
                LinkLocal =>  { # ONVIF::Device::Types::PrefixedIPv6Address
                  Address => $some_value, # IPv6Address
                  PrefixLength =>  $some_value, # int
                },
                FromDHCP =>  { # ONVIF::Device::Types::PrefixedIPv6Address
                  Address => $some_value, # IPv6Address
                  PrefixLength =>  $some_value, # int
                },
                FromRA =>  { # ONVIF::Device::Types::PrefixedIPv6Address
                  Address => $some_value, # IPv6Address
                  PrefixLength =>  $some_value, # int
                },
                Extension =>  { # ONVIF::Device::Types::IPv6ConfigurationExtension
                },
              },
            },
            Extension =>  { # ONVIF::Device::Types::NetworkInterfaceExtension
              InterfaceType => $some_value, # IANA-IfTypes
              Dot3 =>  { # ONVIF::Device::Types::Dot3Configuration
              },
              Dot11 =>  { # ONVIF::Device::Types::Dot11Configuration
                SSID => $some_value, # Dot11SSIDType
                Mode => $some_value, # Dot11StationMode
                Alias => $some_value, # Name
                Priority => $some_value, # NetworkInterfaceConfigPriority
                Security =>  { # ONVIF::Device::Types::Dot11SecurityConfiguration
                  Mode => $some_value, # Dot11SecurityMode
                  Algorithm => $some_value, # Dot11Cipher
                  PSK =>  { # ONVIF::Device::Types::Dot11PSKSet
                    Key => $some_value, # Dot11PSK
                    Passphrase => $some_value, # Dot11PSKPassphrase
                    Extension =>  { # ONVIF::Device::Types::Dot11PSKSetExtension
                    },
                  },
                  Dot1X => $some_value, # ReferenceToken
                  Extension =>  { # ONVIF::Device::Types::Dot11SecurityConfigurationExtension
                  },
                },
              },
              Extension =>  { # ONVIF::Device::Types::NetworkInterfaceExtension2
              },
            },
          },
        },

ngl that nested structure is giving deep lore β€” every # comment tells you which ONVIF type that hashref maps to, and the trailing comments tell you the type of each $some_value. keep them, they're load-bearing 🧚


πŸ‘‘ AUTHOR πŸ‘‘

Generated by SOAP::WSDL. that's the whole author section β€” the machine did it, and honestly? she understood the assignment πŸ’€


🌈 okay that's the page!! perl v5.42.3, dated 1980-01-01, filed under ONVIF::...Response(3) β€” and that's the cute little sign-off, mwah πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from