ONVIF::...lassType(3)

πŸ“¦ version 1.38.6, in nixpkgs unstable

πŸ’… ONVIF::...lassType(3) πŸ’…

okay bestie, so this is one of those User Contributed Perl Documentation pages β€” that's the manual name, iykyk β€” and it's literally all about a tiny little data type class. let's get into it πŸŽ€


✨ NAME ✨

It's a Perl data type class for the XML Schema defined simpleType AudioClassType, and it lives in the namespace http://www.onvif.org/ver10/schema. cute, right? πŸ’–


🌸 DESCRIPTION 🌸

so the acceptable values for AudioClassType are, and I'm quoting the universe here:

  • gun_shot
  • scream
  • glass_breaking
  • tire_screech

that's the whole vibe check. those four. periodt. πŸ”₯

now, this class derives from:

SOAP::WSDL::XSD::Typelib::Builtin::string

and here's the tea β€” SOAP::WSDL's schema implementation does not validate data, so you can use it exactly like its base type. no cap. it's giving "just a string with a fancy little name tag" πŸ’€

lowkey important: # Description of restrictions not implemented yet. β€” yeah, that's literally a comment in the docs, so the restrictions? not implemented yet. don't come for me, I'm just the messenger πŸ™ˆ

πŸ¦‹ METHODS πŸ¦‹

new

Constructor. that's it. that's the whole thing. it makes a new one 🫢

get_value / set_value

Getter and setter for the simpleType's value. you get, you set, you slay πŸ’…


⭐ OVERLOADING ⭐

depending on the simple type's base type, the following operations are overloaded:

  • Stringification
  • Numerification
  • Boolification

like, the type can act like a string, a number, or a bool depending on what its base type is. main character energy honestly πŸ‘‘

check SOAP::WSDL::XSD::Typelib::Builtin for more information β€” that's where the real lore lives, bestie πŸ“š


🧚 AUTHOR 🧚

Generated by SOAP::WSDL. not a human, a generator. iconic behavior fr fr ✨


and that's the whole page!! πŸ“

cute little sign-off for you: this beauty is running under perl v5.42.3, dated 1980-01-01, and it's filed right back under ONVIF::...lassType(3) β€” same as the header up top. full circle, babe πŸ’œπŸŒˆ

πŸ“¦ where this page comes from