ONVIF::...criptor(3)

πŸ“¦ version 1.38.6, in nixpkgs unstable

πŸ‘‘ 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, slay
  • Extension β€” 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