ONVIF:...:Object(3pm)

πŸ“¦
version 1.36.37 Β· 5 versions
, in ubuntu resolute, ubuntu stonking

✨ NAME ✨

ONVIF::PTZ::Types::Object β€” bestie, it's a Perl data type class, and it lives in the User Contributed Perl Documentation section of the manual (man section 3pm, for the record πŸ‘‘).


πŸ’– DESCRIPTION πŸ’–

Okay so. This is a Perl data type class for the XML Schema defined complexType Object, straight outta the namespace http://www.onvif.org/ver10/schema. That's it, that's the whole vibe β€” it's the Perl-side glow-up of one XML schema type. πŸ¦‹

🌸 PROPERTIES 🌸

These are the properties you can get and set, and the way you do it is via the get_PROPERTY / set_PROPERTY methods (yes, swap PROPERTY for the actual property name, iykyk πŸ’…):

  • Appearance β€” the appearance property ✨
  • Behaviour β€” the behaviour property ✨
  • Extension β€” the extension property ✨

πŸŽ€ METHODS πŸŽ€

πŸ’« new πŸ’«

Constructor, as in the thing that makes you a brand new object. Periodt. The following data structure may be passed to new() β€” and no cap, this is the exact shape, so copy it faithfully bestie:

 { # ONVIF::PTZ::Types::Object
   Appearance =>  { # ONVIF::PTZ::Types::Appearance
     Transformation =>  { # ONVIF::PTZ::Types::Transformation
       Translate => ,
       Scale => ,
       Extension =>  { # ONVIF::PTZ::Types::TransformationExtension
       },
     },
     Shape =>  { # ONVIF::PTZ::Types::ShapeDescriptor
       BoundingBox => ,
       CenterOfGravity => ,
       Polygon =>  { # ONVIF::PTZ::Types::Polygon
         Point => ,
       },
       Extension =>  { # ONVIF::PTZ::Types::ShapeDescriptorExtension
       },
     },
     Color =>  { # ONVIF::PTZ::Types::ColorDescriptor
       ColorCluster =>  {
         Color => ,
         Weight =>  $some_value, # float
         Covariance => ,
       },
       Extension =>  { # ONVIF::PTZ::Types::ColorDescriptorExtension
       },
     },
     Class =>  { # ONVIF::PTZ::Types::ClassDescriptor
       ClassCandidate =>  {
         Type => $some_value, # ClassType
         Likelihood =>  $some_value, # float
       },
       Extension =>  { # ONVIF::PTZ::Types::ClassDescriptorExtension
         OtherTypes =>  { # ONVIF::PTZ::Types::OtherType
           Type =>  $some_value, # string
           Likelihood =>  $some_value, # float
         },
         Extension =>  { # ONVIF::PTZ::Types::ClassDescriptorExtension2
         },
       },
     },
     Extension =>  { # ONVIF::PTZ::Types::AppearanceExtension
     },
   },
   Behaviour =>  { # ONVIF::PTZ::Types::Behaviour
     Removed =>  {
     },
     Idle =>  {
     },
     Extension =>  { # ONVIF::PTZ::Types::BehaviourExtension
     },
   },
   Extension =>  { # ONVIF::PTZ::Types::ObjectExtension
   },
 },
🌈 Nested hashes for days. Look at all those little # ONVIF::PTZ::Types::... comments β€” they're literally telling you which class each nested hash belongs to, so don't skip them. πŸ’œ

🫢 AUTHOR 🫢

Generated by SOAP::WSDL β€” it wasn't hand-written by a human, the machine did that. Iconic honestly.


Signing off: this lil doc is from perl v5.40.1, dated 2026-02-01, and it's still filed under ONVIF:...:Object(3pm). Take care of her, she's doing her best πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from