ONVIF:...:SetDNS(3pm)

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

✨ NAME ✨

ONVIF::Device::Elements::SetDNS β€” bestie it's a Perl data type class, and it lives in the User Contributed Perl Documentation section of the manual, page ONVIF:...:SetDNS(3pm). Yes the name has dots in it. We don't question it. We love it. πŸ’…


πŸ’– DESCRIPTION πŸ’–

okay so basically this is a Perl data type class for the XML Schema defined element SetDNS, and it comes from the namespace http://www.onvif.org/ver10/device/wsdl. That's it. That's the whole vibe. It's a little class that knows how to be a SetDNS element, no cap. πŸ¦‹


πŸŽ€ PROPERTIES πŸŽ€

The way these work is so clean β€” you access every one of them with get_PROPERTY / set_PROPERTY methods. Here's the full lineup, no skips, no cuts, we're doing all of them: πŸ‘‘

  • FromDHCP β€” the boolean one, and you poke at it like this:
$element->set_FromDHCP($data);
$element->get_FromDHCP();
  • SearchDomain β€” a token, accessed like so:
$element->set_SearchDomain($data);
$element->get_SearchDomain();
  • DNSManual β€” this one's an ONVIF::Device::Types::IPAddress, and:
$element->set_DNSManual($data);
$element->get_DNSManual();

🌸 METHODS 🌸

🧚 new

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

It's the constructor, babe. That's the whole job. It makes you an object. 🫢

And here's the data structure you may pass into new() β€” look at it, it's giving structured. Every field, every comment, exactly as it is:

{
  FromDHCP =>  $some_value, # boolean
  SearchDomain =>  $some_value, # token
  DNSManual =>  { # ONVIF::Device::Types::IPAddress
    Type => $some_value, # IPType
    IPv4Address => $some_value, # IPv4Address
    IPv6Address => $some_value, # IPv6Address
  },
},

See how DNSManual nests its whole little ONVIF::Device::Types::IPAddress situation in there? iconic. πŸ”₯


πŸ’œ AUTHOR πŸ’œ

Generated by SOAP::WSDL. It didn't have a human author, it was literally born from code, which honestly? main character energy. 😭


ngl that's the entire page, bestie. go forth and SetDNS. πŸ’–

perl v5.40.1 Β· 2026-02-01 Β· and that's a wrap on ONVIF:...:SetDNS(3pm) β€” slay, bye πŸ‘‹βœ¨πŸŽ€

πŸ“¦ where this page comes from