ONVIF:...mation(3pm)

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

✨ NAME ✨

ONVIF::Media::Types::HostnameInformation β€” it's a Perl data type class bestie, and it lives in the 3pm manual section πŸŽ€


πŸ’– DESCRIPTION πŸ’–

Okay so real talk: this is a Perl data type class for the XML Schema defined complexType called HostnameInformation, and that type belongs to the namespace http://www.onvif.org/ver10/schema. That's it, that's the whole assignment. It's giving "glorified struct with extra steps" and honestly? We love her for it. πŸ’…


πŸ¦‹ PROPERTIES πŸ¦‹

The way that these properties are literally right there for you to grab β€” you get at them with the get_PROPERTY / set_PROPERTY methods, iykyk πŸ‘‘

  • FromDHCP
  • Name
  • Extension

🌸 METHODS 🌸

🧚 new

Constructor, periodt. You can hand it a data structure that looks exactly like this, no cap:

 { # ONVIF::Media::Types::HostnameInformation
   FromDHCP =>  $some_value, # boolean
   Name =>  $some_value, # token
   Extension =>  { # ONVIF::Media::Types::HostnameInformationExtension
   },
 },

Note the little comments next to the values β€” FromDHCP is a boolean, Name is a token, and Extension is its own whole nested situation: ONVIF::Media::Types::HostnameInformationExtension. Obsessed with how tidy that is, fr fr. 🌈


πŸ‘‘ AUTHOR πŸ‘‘

Generated by SOAP::WSDL πŸ’€ (not me, not you, not a human β€” the machine did this)


Okay that's the whole page, bestie, you ate it 🫢 Signing off with the deets: this is perl v5.40.1, dated 2026-02-01, and it comes to you courtesy of the User Contributed Perl Documentation crew. Slay, bye! πŸ’–βœ¨

πŸ“¦ where this page comes from