ONVIF::...Response(3)

πŸ“¦ version 1.38.6, in nixpkgs unstable

πŸ’… 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