DOKK / manpages / debian 11 / zoneminder / ONVIF::Device::Elements::SetNetworkInterfaces.3pm.en
ONVIF::Device::Elements::SetNetworkInterfaces(3pm) User Contributed Perl Documentation ONVIF::Device::Elements::SetNetworkInterfaces(3pm)

ONVIF::Device::Elements::SetNetworkInterfaces

Perl data type class for the XML Schema defined element SetNetworkInterfaces from the namespace http://www.onvif.org/ver10/device/wsdl.

The following properties may be accessed using get_PROPERTY / set_PROPERTY methods:

  • InterfaceToken

     $element->set_InterfaceToken($data);
     $element->get_InterfaceToken();
        
  • NetworkInterface

     $element->set_NetworkInterface($data);
     $element->get_NetworkInterface();
        

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

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

 {
   InterfaceToken => $some_value, # ReferenceToken
   NetworkInterface =>  { # ONVIF::Device::Types::NetworkInterfaceSetConfiguration
     Enabled =>  $some_value, # boolean
     Link =>  { # ONVIF::Device::Types::NetworkInterfaceConnectionSetting
       AutoNegotiation =>  $some_value, # boolean
       Speed =>  $some_value, # int
       Duplex => $some_value, # Duplex
     },
     MTU =>  $some_value, # int
     IPv4 =>  { # ONVIF::Device::Types::IPv4NetworkInterfaceSetConfiguration
       Enabled =>  $some_value, # boolean
       Manual =>  { # ONVIF::Device::Types::PrefixedIPv4Address
         Address => $some_value, # IPv4Address
         PrefixLength =>  $some_value, # int
       },
       DHCP =>  $some_value, # boolean
     },
     IPv6 =>  { # ONVIF::Device::Types::IPv6NetworkInterfaceSetConfiguration
       Enabled =>  $some_value, # boolean
       AcceptRouterAdvert =>  $some_value, # boolean
       Manual =>  { # ONVIF::Device::Types::PrefixedIPv6Address
         Address => $some_value, # IPv6Address
         PrefixLength =>  $some_value, # int
       },
       DHCP => $some_value, # IPv6DHCPConfiguration
     },
     Extension =>  { # ONVIF::Device::Types::NetworkInterfaceSetConfigurationExtension
       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::NetworkInterfaceSetConfigurationExtension2
       },
     },
   },
 },

Generated by SOAP::WSDL

2021-01-31 perl v5.32.0