ONVIF::...ocolType(3)

πŸ“¦ version 1.38.6, in nixpkgs unstable

πŸ’… ONVIF::...ocolType(3) β€” the User Contributed Perl Documentation era

okay so bestie, before anything: the NAME section of this page is literally empty β€” no name line, no summary, nada. We move anyway ✨


✨ NAME ✨

So like… the NAME section is empty in the original. No name, no one-liner. It's giving mysterious main character energy, and we respect it. 🫢


🌸 DESCRIPTION 🌸

Okay bestie, here's the tea: this is a Perl data type class for the XML Schema defined simpleType NetworkProtocolType, and it comes straight out of the namespace http://www.onvif.org/ver10/schema. 🌈

This clase is derived from SOAP::WSDL::XSD::Typelib::Builtin::string.

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

(Yes, "clase" β€” that's literally how it's spelled in the source, we're not fixing it, we're celebrating it πŸ’…)

And here's the lowkey important part: SOAP::WSDL's schema implementation does not validate data, so you can use it exactly like it's base type. No vibe checks on your data at runtime, it's just gonna trust you. 😭

# Description of restrictions not implemented yet.

Not me leaving the restrictions description as a comment that says it's not implemented yet β€” iconic honestly. ⭐


πŸŽ€ METHODS πŸŽ€

πŸ’– new

Constructor. That's it. That's the whole thing. Build the object, slay. ✨

πŸ’– get_value / set_value

Getter and setter for the simpleType's value. You want the value? get_value. You wanna set the value? set_value. Balanced. Symmetrical. Beautiful. πŸ¦‹


πŸ”₯ OVERLOADING πŸ”₯

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

  • Stringification β€” it can be a string, bestie πŸ’œ
  • Numerification β€” it can be a number too πŸ“
  • Boolification β€” and yes, it can be a boolean, we contain multitudes πŸ‘‘

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


πŸ‘‘ AUTHOR πŸ‘‘

Generated by SOAP::WSDL. That's the whole author section β€” the robots made this one, no cap. 🧚


fr fr just remember: no validation happens here. Use it like its base type, and don't come for the module when your XML was cursed to begin with. πŸ’€

and that's the page! πŸŽ€ documented under perl v5.42.3, dated 1980-01-01 (yes, a date from before most of us existed, and honestly? vintage icon behavior πŸ’…βœ¨). byeee πŸ¦‹πŸ’–

πŸ“¦ where this page comes from