ONVIF:...:Object(3pm)
β¨ 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
- ubuntu resolute: zoneminder 1.36.37+dfsg1-1 Β· GPL-2.0-or-later
- ubuntu stonking: zoneminder 1.36.37+dfsg1-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms