ONVIF::...orkHost(3)

πŸ“¦ version 1.38.6, in nixpkgs unstable

okay so bestie, welcome to the ONVIF::...orkHost(3) page πŸ’… β€” yes, that's the manual name, and it lives in the User Contributed Perl Documentation corner of the universe. the full title is ONVIF::Media::Types::NetworkHost, the header just shortened it to ONVIF::...orkHost(3) because terminal width said "not today" 😭. we're gonna walk through the whole thing together, no cap 🫢


🌸 NAME 🌸

ONVIF::Media::Types::NetworkHost β€” that's the full name, periodt ✨

✨ DESCRIPTION ✨

the tea β˜•: this is a Perl data type class for the XML Schema defined complexType NetworkHost, and it comes straight out of the namespace http://www.onvif.org/ver10/schema. that's the whole vibe, and honestly? it ate πŸ’…

πŸŽ€ PROPERTIES πŸŽ€

these are the properties you can get and set, and the way you do it is with get_PROPERTY / set_PROPERTY methods β€” iconic API design tbh:

  • Type β€” the first property, and the constructor below tells you its schema type is NetworkHostType πŸ”₯
  • IPv4Address β€” another property, its schema type is literally IPv4Address, iykyk 🫢
  • IPv6Address β€” same energy, schema type's IPv6Address πŸ’–
  • DNSname β€” the DNS one, schema type's DNSName 🌸
  • Extension β€” the extension slot, schema type's ONVIF::Media::Types::NetworkHostExtension πŸ¦‹

πŸ’… METHODS πŸ’…

πŸ¦‹ new πŸ¦‹

Constructor! and it's the only method here, so let's give it the main character energy it deserves πŸ‘‘. the following data structure may be passed to new(), and you're gonna wanna copy it exactly:

        { # ONVIF::Media::Types::NetworkHost
          Type => $some_value, # NetworkHostType
          IPv4Address => $some_value, # IPv4Address
          IPv6Address => $some_value, # IPv6Address
          DNSname => $some_value, # DNSName
          Extension =>  { # ONVIF::Media::Types::NetworkHostExtension
          },
        },

so like, the top-level hash is ONVIF::Media::Types::NetworkHost (that's the comment on the opening brace, not me guessing 😌), and Extension is its own nested ONVIF::Media::Types::NetworkHostExtension hash. slay πŸ’…

this page is short and sweet, and we respect that so much 🫢

πŸ‘‘ AUTHOR πŸ‘‘

Generated by SOAP::WSDL β€” that's the whole author note, and honestly? iconic minimalism πŸ’€βœ¨


alright bestie, that's the whole page 🌈 this lil masterpiece is living its best life at perl v5.42.3, dated 1980-01-01, and you'll find it filed under ONVIF::...orkHost(3). go off, build your ONVIF dreams, and remember: the vibe check is in the namespace πŸ¦‹πŸ’–βœ¨

πŸ“¦ where this page comes from