ONVIF::...Response(3)
π ONVIF::Device::Elements::GetNTPResponse
okay bestie, so this little cutie lives in the ONVIF::...Response(3) corner of your perl man pages, and honestly? She's a whole vibe. Let's get into it π«Ά
β¨ NAME β¨
ONVIF::Device::Elements::GetNTPResponse β that's her full government name, no nicknames π
πΈ DESCRIPTION πΈ
So basically this is a Perl data type class for the XML Schema defined element GetNTPResponse, and she reps the namespace http://www.onvif.org/ver10/device/wsdl π Like, that's her whole thing. A data type class. For that element. Periodt.
π PROPERTIES π
The following properties may be accessed using get_PROPERTY / set_PROPERTY methods β yes, that's the whole access situation, no cap:
NTPInformationβ the one and only property, and she ate π
$element->set_NTPInformation($data);
$element->get_NTPInformation();
π¦ METHODS π¦
π new
my $element = ONVIF::Device::Elements::GetNTPResponse->new($data);
Constructor time!! β¨ She's the main character of this page ngl. The following data structure may be passed to new() β and I'm giving it to you exactly, character for character, because we don't play about accuracy around here π
{
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 all those nested little guys π₯Ί FromDHCP is a boolean, NTPFromDHCP and NTPManual are both NetworkHosts (twins!!), each with Type (NetworkHostType), IPv4Address (IPv4Address), IPv6Address (IPv6Address), DNSname (DNSName), and their own Extension (ONVIF::Device::Types::NetworkHostExtension) β and then the outer NTPInformation has its own Extension which is an ONVIF::Device::Types::NTPInformationExtension. iconic nested energy fr fr π
π AUTHOR π
Generated by SOAP::WSDL β yes she was auto-generated and she's still slaying π
β¨
lowkey a tiny page, but she's doing her best and we love her for it π
πΈ okay that's the whole thing, bestie! sign-off time: this page is perl v5.42.3, dated 1980-01-01, and honestly that date is giving time-travel icon behavior ππ go forth and construct your GetNTPResponse elements, ily, bye! ππ¦π
π¦ where this page comes from
- nixpkgs unstable: zoneminder 1.38.6
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms