ONVIF:...:SetNTP(3pm)

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

✨ NAME ✨

okay bestie, welcome to the ONVIF:...:SetNTP(3pm) page β€” it's part of the User Contributed Perl Documentation, and the actual star of the show is:

ONVIF::Device::Elements::SetNTP

that's it, that's the whole name, she's lowkey serving πŸ’…


🌸 DESCRIPTION 🌸

so basically this is a Perl data type class β€” not a vibe, an actual class β€” for the XML Schema defined element SetNTP, and it comes straight outta the namespace http://www.onvif.org/ver10/device/wsdl. that's the whole description bestie, she's a purpose-built lil class and she knows it πŸŽ€


πŸ’– PROPERTIES πŸ’–

these are the properties you can get at with get_PROPERTY / set_PROPERTY methods, no cap:

  • FromDHCP β€” the DHCP-origin flag, access it like this:
$element->set_FromDHCP($data);
$element->get_FromDHCP();
  • NTPManual β€” the manual NTP config, same energy:
$element->set_NTPManual($data);
$element->get_NTPManual();

two properties, both iconic, both yours 🫢


πŸ”₯ METHODS πŸ”₯

⭐ new

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

she's the Constructor πŸ’… you can pass her this data structure, and like... look at it. look at all of it:

{
  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
    },
  },
}

so FromDHCP takes a boolean, and NTPManual is a whole nested ONVIF::Device::Types::NetworkHost situation with Type (a NetworkHostType), IPv4Address, IPv6Address, DNSname (a DNSName), and an Extension that's a ONVIF::Device::Types::NetworkHostExtension β€” and yeah, that Extension is an empty lil nest, she's giving mystery, we respect it πŸ™ˆ


πŸ‘‘ AUTHOR πŸ‘‘

Generated by SOAP::WSDL

not me getting emotional over auto-generated code, it's giving main character energy fr fr 😭


🌈 and that's the whole page bestie, every option, every property, every field, all of it, no skips, no skimming, we read the whole thing like the good students we are ✨

πŸ’œ this lil treasure dropped with perl v5.40.1, dated 2026-02-01, and it lives under ONVIF:...:SetNTP(3pm) β€” slay, ate, no crumbs left, periodt πŸ’…πŸ¦‹

πŸ“¦ where this page comes from