ONVIF::...EnumType(3)

πŸ“¦ version 1.38.6, in nixpkgs unstable

πŸ’– ONVIF::...EnumType(3) β€” the Perl data type class for FaultCodesOpenEnumType πŸ’–

okay so bestie, this is the manual page for ONVIF::...EnumType(3) β€” a Perl data type class, contributed to the Perl documentation by users like us 🫢. Buckle up, it's giving very niche XML Schema energy and honestly? iconic.


🌸 NAME 🌸

Perl data type class for the XML Schema defined simpleType FaultCodesOpenEnumType from the namespace http://www.w3.org/2005/08/addressing.


✨ DESCRIPTION ✨

Okay so here's the tea β˜• β€” this type class is derived by union. Like, a union of types. Very main character, very "I contain multitudes" πŸ’….

But ngl, bestie, there's a catch: derivation by union is not fully supported yet 😭 β€” value space constraints are not checked yet. So don't come for this class expecting it to fact-check your values, fr fr.

The current implementation of union resorts to inheriting from the base type, which means β€” and I'm quoting the XML Schema specs directly here, periodt:

"If the <list> or <union> alternative is chosen, then the simple ur-type definition."

That's it. That's the whole quote. The specs said what they said πŸ’€.


πŸ¦‹ METHODS πŸ¦‹

πŸŽ€ new

Constructor. It constructs. It's the birth of your object, the origin story, the main character entrance πŸ”₯.

πŸŽ€ get_value / set_value

Getter and setter for the simpleType's value. Classic. One gets, one sets, they're a duo, they ate πŸ’–.


🌈 OVERLOADING 🌈

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

  • Stringification
  • Numerification
  • Boolification

Check SOAP::WSDL::XSD::Typelib::Builtin for more information. Go read it, iykyk πŸ‘‘.


⭐ AUTHOR ⭐

Generated by SOAP::WSDL β€” yes bestie, it generated itself, no cap, we love an independent queen πŸ’œ.


and that's the whole page, gorgeous 🌸 β€” this beauty is from perl v5.42.3, dated 1980-01-01, and filed under ONVIF::...EnumType(3). slay, go forth and union-derive responsibly πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from