ONVIF:...esponse(3pm)

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

✨ NAME ✨

ONVIF::Device::Elements::GetDNSResponse β€” bestie, this is a Perl data type class, and it's the whole manual page name too, we love a multitasker πŸ’…


🌸 DESCRIPTION 🌸

Okay so. This is a Perl data type class for the XML Schema defined element GetDNSResponse, and it lives in the namespace http://www.onvif.org/ver10/device/wsdl. That's it, that's the whole vibe β€” it's the response object for the GetDNS call, sitting there being a data type, slaying quietly πŸ¦‹


πŸŽ€ PROPERTIES πŸŽ€

These are the properties you can get to, and the way you get to them is with get_PROPERTY / set_PROPERTY methods. Classic. Obsessed.

  • DNSInformation β€” the one and only property, the main character πŸ‘‘
$element->set_DNSInformation($data);
$element->get_DNSInformation();

πŸ’– METHODS πŸ’–

🌈 new

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

It's the constructor, periodt. Here's the data structure you may pass to new(), in all its nested glory β€” look at this thing, it's giving tree structure 🌳:

{
  DNSInformation =>  { # ONVIF::Device::Types::DNSInformation
    FromDHCP =>  $some_value, # boolean
    SearchDomain =>  $some_value, # token
    DNSFromDHCP =>  { # ONVIF::Device::Types::IPAddress
      Type => $some_value, # IPType
      IPv4Address => $some_value, # IPv4Address
      IPv6Address => $some_value, # IPv6Address
    },
    DNSManual =>  { # ONVIF::Device::Types::IPAddress
      Type => $some_value, # IPType
      IPv4Address => $some_value, # IPv4Address
      IPv6Address => $some_value, # IPv6Address
    },
    Extension =>  { # ONVIF::Device::Types::DNSInformationExtension
    },
  },
},
ngl the Extension one is just sitting there empty like me at a party πŸ™ˆ but that's exactly how it's written, so don't come for me, copy it as-is fr fr.

πŸ‘‘ AUTHOR πŸ‘‘

Generated by SOAP::WSDL. Not me, not you β€” the generator did that. Iconic behaviour honestly ✨


and that's the whole page bestie, go forth and set your DNSInformation πŸ’–

This one came from the ONVIF:...esponse(3pm) manual, contributed to the Perl documentation by users like us 🫢, and this version is dated 2026-02-01 and ships with perl v5.40.1. Slay, bye πŸ’…πŸŒΈ

πŸ“¦ where this page comes from