ONVIF::...ription(3)

πŸ“¦ version 1.38.6, in nixpkgs unstable

🌸 NAME 🌸

Okay so bestie, this page is literally called ONVIF::...ription(3) β€” that's the whole name section, she's a short one, no cap πŸ’…


✨ DESCRIPTION ✨

So here's the vibe: this is a Perl data type class for the XML Schema simpleType Description, and she comes straight out of the namespace http://www.onvif.org/ver10/schema. Periodt. πŸŽ€

The tea on inheritance: this class is derived from

SOAP::WSDL::XSD::Typelib::Builtin::string . SOAP::WSDL's schema
implementation does not validate data, so you can use it exactly like
it's base type.

Like, literally zero validation happening β€” SOAP::WSDL's schema implementation does not validate data, so you can use it exactly like its base type. No notes, that's just how she is 🫢

And then there's this little note chilling in there:

# Description of restrictions not implemented yet.

Yes bestie, that's a comment straight from the source, and yes it's telling you the restrictions description is lowkey not implemented yet. We love transparency πŸ™ˆ


πŸ”₯ METHODS πŸ”₯

⭐ new

Constructor. That's it, that's the whole description β€” she makes you a new one ✨

⭐ get_value / set_value

Getter and setter for the simpleType's value. Iconic, honestly πŸ‘‘


πŸ¦‹ OVERLOADING πŸ¦‹

Depending on the simple type's base type, the following operations are overloaded β€” so depending on what she's built on, these get that main character treatment:

  • Stringification
  • Numerification
  • Boolification
Ngl, if you wanna know more, go check SOAP::WSDL::XSD::Typelib::Builtin for more information β€” it's giving "read the source, bestie" πŸ“š

πŸ‘‘ AUTHOR πŸ‘‘

Generated by SOAP::WSDL. That's the whole author section, she was born in a code generator and she's thriving 🌈


Okay that's the whole page!! πŸ’– This lil slice of the docs shipped with perl v5.42.3 and is dated 1980-01-01 (yes, that date is a whole mood 😭), so go forth and use your Description type exactly like its base type, because nobody's validating anything around here. Slay, stay hydrated, and remember: no cap, just strings πŸ“πŸ§šπŸ’œ
πŸ“¦ where this page comes from