ONVIF::...::SetNTP(3)
πΈ ONVIF::...::SetNTP(3) πΈ
okay bestie, so this page lives in the User Contributed Perl Documentation section, and the page itself is literally ONVIF::...::SetNTP(3) β iconic, we love a title that's also a mystery. anyway, let's get into it π
β¨ NAME β¨
ONVIF::Device::Elements::SetNTP β say it with me, it's a whole mouthful, but she's that girl π
π¦ DESCRIPTION π¦
So basically this is a Perl data type class, and she's built to represent the XML Schema defined element SetNTP β and that element comes from the namespace http://www.onvif.org/ver10/device/wsdl. no cap, that's the whole vibe of this class. she's a typed wrapper and she knows it π
π PROPERTIES π
These are the properties you can actually touch β you get to them through the get_PROPERTY / set_PROPERTY methods, iykyk:
FromDHCPβ the DHCP-sourced flag, lowkey important. poke it like this:
$element->set_FromDHCP($data);
$element->get_FromDHCP();
NTPManualβ the manually configured NTP host sitch. same deal:
$element->set_NTPManual($data);
$element->get_NTPManual();
π₯ METHODS π₯
π new
my $element = ONVIF::Device::Elements::SetNTP->new($data);
Constructor time, bestie π this is how you spin up a fresh one, and here's the data structure you can pass in β literally copy-paste energy, keep it exact:
{
FromDHCP => $some_value, # boolean
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
},
},
}
like β FromDHCP is a boolean, and NTPManual opens up a whole ONVIF::Device::Types::NetworkHost situation with Type (NetworkHostType), IPv4Address (IPv4Address), IPv6Address (IPv6Address), DNSname (DNSName), and an Extension that's an ONVIF::Device::Types::NetworkHostExtension. nesting goes crazy fr fr π§
π AUTHOR π
Generated by SOAP::WSDL β not me, not you, the machine did that πβ¨
and that's the whole page, bestie π«Ά β big sign-off energy: this gem is chillin' at perl v5.42.3, dated 1980-01-01, and you can find her filed under ONVIF::...::SetNTP(3). slay, go forth and set those NTPs ππ
π¦ 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