ONVIF::...criptor(3)
π NAME π
ONVIF::Analytics::Types::ClassDescriptor β bestie, it's literally a Perl data type class for the XML Schema complexType ClassDescriptor, and it lives in the namespace http://www.onvif.org/ver10/schema. No cap, that's the whole vibe. π
Oh and real quick β this page is from the User Contributed Perl Documentation, so you already know it's community-made and iconic. β¨
π¦ DESCRIPTION π¦
It's giving "Perl data type class for the XML Schema defined complexType ClassDescriptor from the namespace http://www.onvif.org/ver10/schema." That's it, that's the whole thing β a lil wrapper class doing its main character thing. π
π PROPERTIES π
Okay so these properties are accessible via get_PROPERTY / set_PROPERTY methods (get to read, set to write β you know the drill, iykyk):
ClassCandidateβ one of the properties, slayExtensionβ the other one, we love a duo
π METHODS π
π§ new π§
Constructor! And here's the part where I need you to focus, bestie β the following data structure may be passed to new():
{ # ONVIF::Analytics::Types::ClassDescriptor
ClassCandidate => {
Type => $some_value, # ClassType
Likelihood => $some_value, # float
},
Extension => { # ONVIF::Analytics::Types::ClassDescriptorExtension
OtherTypes => { # ONVIF::Analytics::Types::OtherType
Type => $some_value, # string
Likelihood => $some_value, # float
},
Extension => { # ONVIF::Analytics::Types::ClassDescriptorExtension2
},
},
},
Look at all those nested hashes β it's giving nesting dolls but make it XML schema π. ClassCandidate carries a Type (a ClassType) and a Likelihood (a float), then Extension goes deeper into ClassDescriptorExtension with OtherTypes (an OtherType, holding a Type that's a string and a Likelihood that's a float) and its own Extension (ClassDescriptorExtension2) β which is lowkey empty inside. Nesting all the way down fr fr. π«Ά
πΈ AUTHOR πΈ
Generated by SOAP::WSDL. It literally wrote itself, we're just here for the vibes. π
<div align="center">π that's a wrap, bestie π</div>
Brought to you by perl v5.42.3 and dated 1980-01-01 β yeah, that date is highkey a whole time capsule, but she's iconic and we respect her. ππ
π¦ where this page comes from
- nixpkgs unstable: zoneminder 1.38.6
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms