ONVIF:...esponse(3pm)
β¨ 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
- ubuntu resolute: zoneminder 1.36.37+dfsg1-1 Β· GPL-2.0-or-later
- ubuntu stonking: zoneminder 1.36.37+dfsg1-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms