ONVIF:...esponse(3pm)

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

✨ ONVIF::Media::Elements::GetOSDOptionsResponse πŸ’–

okay bestie, welcome to ONVIF::Media::Elements::GetOSDOptionsResponse(3pm) β€” she's a User Contributed Perl Documentation page and she's lowkey iconic. 🌸


πŸ’… NAME

ONVIF::Media::Elements::GetOSDOptionsResponse β€” no cap, that's literally the whole name.


πŸ¦‹ DESCRIPTION

She's a Perl data type class, periodt. Specifically, she models the XML Schema defined element GetOSDOptionsResponse, and she lives in the namespace http://www.onvif.org/ver10/media/wsdl. That's the whole vibe β€” a class that knows how to be that one element. πŸŽ€


🫢 PROPERTIES

These are the properties you can reach with the get_PROPERTY / set_PROPERTY methods, and there's exactly one, so savor her:

  • OSDOptions β€” the one and only. Set her like this:
$element->set_OSDOptions($data);

and read her back like this:

$element->get_OSDOptions();

main character property, honestly. πŸ‘‘


⭐ METHODS

🌈 new

my $element = ONVIF::Media::Elements::GetOSDOptionsResponse->new($data);

Constructor, bestie. It builds you the element. ✨ And here's the thing β€” the data structure you may pass to new() is deep. Like, layers on layers. She's giving nested hashrefs and she's not sorry. Here's the whole thing, exactly as she is:

{
  OSDOptions =>  { # ONVIF::Media::Types::OSDConfigurationOptions
    MaximumNumberOfOSDs => ,
    Type => $some_value, # OSDType
    PositionOption =>  $some_value, # string
    TextOption =>  { # ONVIF::Media::Types::OSDTextOptions
      Type =>  $some_value, # string
      FontSizeRange =>  { # ONVIF::Media::Types::IntRange
        Min =>  $some_value, # int
        Max =>  $some_value, # int
      },
      DateFormat =>  $some_value, # string
      TimeFormat =>  $some_value, # string
      FontColor =>  { # ONVIF::Media::Types::OSDColorOptions
        Color =>          { # ONVIF::Media::Types::ColorOptions
          # One of the following elements.
          # No occurrence checks yet, so be sure to pass just one...
          ColorList => ,
          ColorspaceRange =>  { # ONVIF::Media::Types::ColorspaceRange
            X =>  { # ONVIF::Media::Types::FloatRange
              Min =>  $some_value, # float
              Max =>  $some_value, # float
            },
            Y =>  { # ONVIF::Media::Types::FloatRange
              Min =>  $some_value, # float
              Max =>  $some_value, # float
            },
            Z =>  { # ONVIF::Media::Types::FloatRange
              Min =>  $some_value, # float
              Max =>  $some_value, # float
            },
            Colorspace =>  $some_value, # anyURI
          },
        },
        Transparent =>  { # ONVIF::Media::Types::IntRange
          Min =>  $some_value, # int
          Max =>  $some_value, # int
        },
        Extension =>  { # ONVIF::Media::Types::OSDColorOptionsExtension
        },
      },
      BackgroundColor =>  { # ONVIF::Media::Types::OSDColorOptions
        Color =>          { # ONVIF::Media::Types::ColorOptions
          # One of the following elements.
          # No occurrence checks yet, so be sure to pass just one...
          ColorList => ,
          ColorspaceRange =>  { # ONVIF::Media::Types::ColorspaceRange
            X =>  { # ONVIF::Media::Types::FloatRange
              Min =>  $some_value, # float
              Max =>  $some_value, # float
            },
            Y =>  { # ONVIF::Media::Types::FloatRange
              Min =>  $some_value, # float
              Max =>  $some_value, # float
            },
            Z =>  { # ONVIF::Media::Types::FloatRange
              Min =>  $some_value, # float
              Max =>  $some_value, # float
            },
            Colorspace =>  $some_value, # anyURI
          },
        },
        Transparent =>  { # ONVIF::Media::Types::IntRange
          Min =>  $some_value, # int
          Max =>  $some_value, # int
        },
        Extension =>  { # ONVIF::Media::Types::OSDColorOptionsExtension
        },
      },
      Extension =>  { # ONVIF::Media::Types::OSDTextOptionsExtension
      },
    },
    ImageOption =>  { # ONVIF::Media::Types::OSDImgOptions
      ImagePath =>  $some_value, # anyURI
      Extension =>  { # ONVIF::Media::Types::OSDImgOptionsExtension
      },
    },
    Extension =>  { # ONVIF::Media::Types::OSDConfigurationOptionsExtension
    },
  },
},
⚠️ ok real talk bestie, peep the ColorOptions bits: it says "One of the following elements. No occurrence checks yet, so be sure to pass just one..." β€” that's a genuine warning, fr fr. Nothing is checking how many you hand over, so you have to be the responsible one and pass just one. No chaotic multiples. πŸ™ˆ

πŸ‘‘ AUTHOR

Generated by SOAP::WSDL. She was literally built different β€” by a machine. slay. πŸ€–πŸ’–


and that's the whole page, bestie!! this one shipped with perl v5.40.1 and is dated 2026-02-01, so go forth and construct your GetOSDOptionsResponse responsibly. mwah. πŸ’…βœ¨

πŸ“¦ where this page comes from