ONVIF::...esponse(3)

πŸ“¦ version 1.38.6, in nixpkgs unstable

πŸ’… NAME πŸ’…

okay so bestie, the actual full name of this module is ONVIF::Device::Elements::GetNetworkProtocolsResponse β€” and yes, it's living in the ONVIF::...esponse(3) manual page, which is just the title getting a little too cozy with the truncation. Anyway. She's here, she's a Perl data type class, and she's iconic. 🌸


πŸ¦‹ DESCRIPTION πŸ¦‹

So basically: this is a Perl data type class for the XML Schema–defined element GetNetworkProtocolsResponse from the namespace http://www.onvif.org/ver10/device/wsdl. That's the whole vibe. She exists to hold that element's data and she does it flawlessly, no notes. πŸ’…βœ¨


πŸŽ€ PROPERTIES πŸŽ€

These are the properties you can get at, and you reach them with the get_PROPERTY / set_PROPERTY methods β€” that's the pattern, iykyk. 🫢

  • NetworkProtocols β€” the one and only property, and she's lowkey the main character. Peep her accessors:
$element->set_NetworkProtocols($data);
$element->get_NetworkProtocols();

πŸ”₯ METHODS πŸ”₯

⭐ new

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

Constructor! It literally makes the element, bestie. The following data structure may be passed to new() β€” copy it exactly, don't change a single character, I'm begging πŸ™ˆ:

{
  NetworkProtocols =>  { # ONVIF::Device::Types::NetworkProtocol
    Name => $some_value, # NetworkProtocolType
    Enabled =>  $some_value, # boolean
    Port =>  $some_value, # int
    Extension =>  { # ONVIF::Device::Types::NetworkProtocolExtension
    },
  },
},

Slay. That's the whole shape of it. πŸ’–


πŸ‘‘ AUTHOR πŸ‘‘

Generated by SOAP::WSDL. She was quite literally built different, no cap. 🧚


and that's the tea, bestie πŸ“ β€” this page came to you via perl v5.42.3, dated 1980-01-01, and it still reads ONVIF::...esponse(3) in the corner like a little name tag. take care of her, she's fragile but she's fierce πŸ’œβœ¨

πŸ“¦ where this page comes from