ONVIF::...esponse(3)
π ONVIF::...esponse(3) π
okay bestie, buckle up β this page is from the User Contributed Perl Documentation manual, and no cap, the full name is a whole mouthful: ONVIF::Media::Elements::GetGuaranteedNumberOfVideoEncoderInstancesResponse. yeah. that's one class name. we're doing this together π«Ά
β¨ NAME β¨
ONVIF::Media::Elements::GetGuaranteedNumberOfVideoEncoderInstancesResponse β the absolute icon of a Perl data type class π
πΈ DESCRIPTION πΈ
so this is a Perl data type class for the XML Schema element GetGuaranteedNumberOfVideoEncoderInstancesResponse, living in the namespace http://www.onvif.org/ver10/media/wsdl.
that's the whole vibe. it's a data class. it holds the response. it slays, quietly, in the background. π¦
π PROPERTIES π
here's the tea, bestie: the following properties may be accessed using get_PROPERTY / set_PROPERTY methods β yes, that pattern, every single time β
TotalNumber
$element->set_TotalNumber($data);
$element->get_TotalNumber();
JPEG
$element->set_JPEG($data);
$element->get_JPEG();
H264
$element->set_H264($data);
$element->get_H264();
MPEG4
$element->set_MPEG4($data);
$element->get_MPEG4();
four properties. four little get/set pairs. perfectly balanced, as all things should be π§
π METHODS π
π new
my $element = ONVIF::Media::Elements::GetGuaranteedNumberOfVideoEncoderInstancesResponse->new($data);
this is the constructor β the main character entrance, honestly π. the following data structure may be passed to new():
{
TotalNumber => $some_value, # int
JPEG => $some_value, # int
H264 => $some_value, # int
MPEG4 => $some_value, # int
},
look at that. four ints, all cozy in a hashref. $some_value is doing all the heavy lifting and honestly? respect π
heads up: $some_value is a placeholder in the docs, not an actual variable β swap in your own ints, bestie π
π AUTHOR π
Generated by SOAP::WSDL
yup. it wasn't hand-crafted by a poet. it was generated. and it still ate. π₯
okay that's the page!! per the footer this one's running perl v5.42.3, dated 1980-01-01 πΈ β yes, the date is older than everyone you know, don't ask, it's iconic π bye bestie, go set some properties π β¨
π¦ 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