ONVIF::...esponse(3)

πŸ“¦ version 1.38.6, in nixpkgs unstable

πŸ’– 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