ONVIF::...Response(3)
πΈ ONVIF::...Response(3) πΈ
okay bestie, so this page is from the User Contributed Perl Documentation section, and the actual module we're stanning here is ONVIF::PTZ::Elements::GetConfigurationsResponse. yes the header abbreviates it to ONVIF::...Response(3) β she's shy, it's fine π
β¨ NAME β¨
ONVIF::PTZ::Elements::GetConfigurationsResponse β say that five times fast, i cannot, but she's iconic π
π¦ DESCRIPTION π¦
Bestie. This is a Perl data type class. That's it, that's the vibe π
It's the class for the XML Schema defined element GetConfigurationsResponse, and it lives in the namespace http://www.onvif.org/ver20/ptz/wsdl. No cap, that's the whole namespace β copy it exactly if you're typing it, do not freestyle it π
π PROPERTIES π
So you've got these properties, and you access them with the get_PROPERTY / set_PROPERTY methods. Classic. Lowkey elegant.
PTZConfigurationβ the one and only property, and she's got feelings (a whole nested type situation, we'll get there). Get and set her like this:
$element->set_PTZConfiguration($data);
$element->get_PTZConfiguration();
π₯ METHODS π₯
π§ new
my $element = ONVIF::PTZ::Elements::GetConfigurationsResponse->new($data);
Constructor, obviously. She builds the element for you, main character energy.
The following data structure may be passed to new(). Fair warning bestie, this is a big one β I'm keeping every single line exactly, so don't come for me π
{
PTZConfiguration => { # ONVIF::PTZ::Types::PTZConfiguration
NodeToken => $some_value, # ReferenceToken
DefaultAbsolutePantTiltPositionSpace => $some_value, # anyURI
DefaultAbsoluteZoomPositionSpace => $some_value, # anyURI
DefaultRelativePanTiltTranslationSpace => $some_value, # anyURI
DefaultRelativeZoomTranslationSpace => $some_value, # anyURI
DefaultContinuousPanTiltVelocitySpace => $some_value, # anyURI
DefaultContinuousZoomVelocitySpace => $some_value, # anyURI
DefaultPTZSpeed => { # ONVIF::PTZ::Types::PTZSpeed
PanTilt => ,
Zoom => ,
},
DefaultPTZTimeout => $some_value, # duration
PanTiltLimits => { # ONVIF::PTZ::Types::PanTiltLimits
Range => { # ONVIF::PTZ::Types::Space2DDescription
URI => $some_value, # anyURI
XRange => { # ONVIF::PTZ::Types::FloatRange
Min => $some_value, # float
Max => $some_value, # float
},
YRange => { # ONVIF::PTZ::Types::FloatRange
Min => $some_value, # float
Max => $some_value, # float
},
},
},
ZoomLimits => { # ONVIF::PTZ::Types::ZoomLimits
Range => { # ONVIF::PTZ::Types::Space1DDescription
URI => $some_value, # anyURI
XRange => { # ONVIF::PTZ::Types::FloatRange
Min => $some_value, # float
Max => $some_value, # float
},
},
},
Extension => { # ONVIF::PTZ::Types::PTZConfigurationExtension
PTControlDirection => { # ONVIF::PTZ::Types::PTControlDirection
EFlip => { # ONVIF::PTZ::Types::EFlip
Mode => $some_value, # EFlipMode
},
Reverse => { # ONVIF::PTZ::Types::Reverse
Mode => $some_value, # ReverseMode
},
Extension => { # ONVIF::PTZ::Types::PTControlDirectionExtension
},
},
Extension => { # ONVIF::PTZ::Types::PTZConfigurationExtension2
},
},
},
},
yes. that's the whole thing. breathe. it's giving nested-struct realness and honestly? she ate π
Heads up bestie:PTZConfiguration,DefaultPTZSpeed,PanTiltandZoomhave no$some_valueplaceholder on those lines, and bothExtensionblocks are totally empty{}β that's exactly how the original rolls, so don't go "fixing" it, i'm begging π
π AUTHOR π
Generated by SOAP::WSDL. It's literally in the author field. We didn't write this, a machine did, and honestly? slay π€β¨
okay that's the page!! sign-off time π«Ά β this beauty is documented for perl v5.42.3 and stamped 1980-01-01, so she's technically vintage but emotionally a fresh-faced baddie. bye bestie, go configure those PTZ configs π
ππ¦
π¦ 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