ONVIF:...esponse(3pm)

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

πŸ’– ONVIF:...esponse(3pm) πŸ’–

okay so bestie, welcome to the ONVIF:...esponse(3pm) era β€” this one lives in the User Contributed Perl Documentation section of your manual (section 3pm, iykyk), and honestly? she's a tiny little queen with a big nested data structure. let's get into it 🫢


✨ NAME ✨

ONVIF::Device::Elements::GetNTPResponse β€” say it with your chest πŸ’…


🌸 DESCRIPTION 🌸

It's a Perl data type class for the XML Schema defined element GetNTPResponse, and that element comes from the namespace http://www.onvif.org/ver10/device/wsdl. that's it, that's the whole assignment, and she ate πŸ“


πŸ¦‹ PROPERTIES πŸ¦‹

so these are the properties you can vibe with, and you reach them through the get_PROPERTY / set_PROPERTY methods πŸ‘‘

  • NTPInformation
$element->set_NTPInformation($data);
$element->get_NTPInformation();

πŸ’… METHODS πŸ’…

⭐ new

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

Constructor energy ✨. The following data structure may be passed to new():

{
  NTPInformation =>  { # ONVIF::Device::Types::NTPInformation
    FromDHCP =>  $some_value, # boolean
    NTPFromDHCP =>  { # ONVIF::Device::Types::NetworkHost
      Type => $some_value, # NetworkHostType
      IPv4Address => $some_value, # IPv4Address
      IPv6Address => $some_value, # IPv6Address
      DNSname => $some_value, # DNSName
      Extension =>  { # ONVIF::Device::Types::NetworkHostExtension
      },
    },
    NTPManual =>  { # ONVIF::Device::Types::NetworkHost
      Type => $some_value, # NetworkHostType
      IPv4Address => $some_value, # IPv4Address
      IPv6Address => $some_value, # IPv6Address
      DNSname => $some_value, # DNSName
      Extension =>  { # ONVIF::Device::Types::NetworkHostExtension
      },
    },
    Extension =>  { # ONVIF::Device::Types::NTPInformationExtension
    },
  },
},

look at those nested hashes go β€” NTPInformation holding FromDHCP, NTPFromDHCP, NTPManual and Extension, each of the network host ones carrying Type, IPv4Address, IPv6Address, DNSname and Extension… it's giving main character with a whole support system πŸ˜­πŸ’œ


πŸ‘‘ AUTHOR πŸ‘‘

Generated by SOAP::WSDL πŸ€–βœ¨ β€” yes bestie, the machines wrote this one, we're just here to read it.


and that's the whole page!! 🌈 this was perl v5.40.1, dated 2026-02-01, filed under ONVIF:...esponse(3pm) β€” mwah, go forth and construct your elements πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from