my $element = ONVIF::Device::Elements::GetDNSResponse->new($data);
Constructor. The following data structure may be passed to
new():
{
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
},
},
},