ONVIF::...:Duplex(3)

πŸ“¦ version 1.38.6, in nixpkgs unstable

✨ ONVIF::...:Duplex ✨

omg hi bestie πŸ’– so this one is a page from the User Contributed Perl Documentation and it's literally all about ONVIF::...:Duplex β€” a little Perl data type class. it's short, it's sweet, it's giving "small but mighty" πŸŽ€ let's get into it.


🌸 NAME 🌸

ONVIF::...:Duplex β€” it's a Perl data type class for the XML Schema defined simpleType Duplex, and that simpleType lives in the namespace http://www.onvif.org/ver10/schema. iykyk πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

So basically, bestie, this class is derived from:

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

like, that's its whole ancestry, no cap 🧬

Here's the tea though, and it's important tea: SOAP::WSDL's schema implementation does not validate data πŸ™ˆ so there's literally zero vibe check happening on your values. which means you can use this thing exactly like it's base type β€” no extra hoops, no drama, just vibes ✨

The original page also drops this little note, and it's staying right here because it's lowkey iconic in its honesty:

# Description of restrictions not implemented yet.

so yeah, restrictions? not described yet. we move πŸ’€


πŸ’… METHODS πŸ’…

πŸŽ€ new

Constructor. it makes you a fresh new object, as one does 🫢

⭐ get_value / set_value

Getter and setter for the simpleType's value. one to grab it, one to set it β€” the classic duo, the main character energy of any value-holding class πŸ‘‘


🌈 OVERLOADING 🌈

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

  • Stringification πŸ”€
  • Numerification πŸ”’
  • Boolification βœ…

and if you wanna know more about how all that works, the page says to check SOAP::WSDL::XSD::Typelib::Builtin for more information πŸ“š β€” that's where the deep lore lives.


πŸ‘‘ AUTHOR πŸ‘‘

Generated by SOAP::WSDL ⭐ β€” yep, it's auto-generated, machine-made with love fr fr.


πŸ’€ quick reminder bestie: no validation is happening here, so don't come for this class when your data is weird. it told you upfront. that's called honesty 🫢

and that's the whole page, no more notes, no cap πŸ’œ this lil doc is like perl v5.42.3, dated 1980-01-01 β€” an absolute vintage icon, a true OG βœ¨πŸ“ see ya next page, bestie! πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from