ONVIF::...ributes(3)

πŸ“¦ version 1.38.6, in nixpkgs unstable

πŸ’… ONVIF::Media::Types::VideoAttributes

okay so bestie, the page you're on is ONVIF::...ributes(3) β€” which is the short lil terminal-friendly way of writing ONVIF::Media::Types::VideoAttributes, from the User Contributed Perl Documentation crew 🫢. It's a Perl module page, it's a types page, it's giving extremely specific and honestly iconic.


✨ NAME ✨

ONVIF::Media::Types::VideoAttributes β€” that's the whole name, no cap. πŸŽ€


🌸 DESCRIPTION 🌸

So this is a Perl data type class β€” a little Perl object situation β€” for the XML Schema defined complexType called VideoAttributes, and it lives in the namespace http://www.onvif.org/ver10/schema. That's the whole vibe: it's the Perl side of a schema type. Slay. πŸ’–

πŸ¦‹ PROPERTIES πŸ¦‹

These are the properties you can get and set. And the way you do it β€” listen β€” is with get_PROPERTY / set_PROPERTY methods. That's literally the entire access pattern, it's so clean. ✨

  • Bitrate πŸ’«
  • Width πŸ’«
  • Height πŸ’«
  • Encoding πŸ’«
  • Framerate πŸ’«

Like, five properties, all baddies, no notes. πŸ‘‘


πŸ”₯ METHODS πŸ”₯

πŸ’œ new πŸ’œ

It's the constructor, obviously β€” main character energy, as constructors are. 🧚 And here's the data structure you can pass to new(), copied exactly so don't come for me:

 { # ONVIF::Media::Types::VideoAttributes
   Bitrate =>  $some_value, # int
   Width =>  $some_value, # int
   Height =>  $some_value, # int
   Encoding => $some_value, # VideoEncoding
   Framerate =>  $some_value, # float
 },

Look at that alignment, look at those types β€” Bitrate, Width, and Height are int, Encoding is a VideoEncoding, and Framerate is a float. Type-honoring icon behavior fr fr. πŸ’…

ngl, the double spaces before $some_value in that block are load-bearing aesthetics from the original, so I left them exactly where they were. πŸ™ˆ

🌈 AUTHOR 🌈

Generated by SOAP::WSDL β€” that's the whole author note, bestie. It was generated, it's honest about it, we respect it. 🫢


⭐ and that's the page!! cute lil sign-off time: this one comes from perl v5.42.3 and it's dated 1980-01-01 (yes, that date is real, yes it's iconic, yes it's older than everyone) β€” ONVIF::...ributes(3), out. πŸ’–πŸŽ€πŸ¦‹βœ¨

πŸ“¦ where this page comes from