ONVIF::...Response(3)

πŸ“¦ version 1.38.6, in nixpkgs unstable

πŸ¦‹ NAME πŸ¦‹

ok so bestie, this page is all about ONVIF::Media::Elements::GetMetadataConfigurationsResponse β€” like, the whole entire thing. it's from ONVIF::...Response(3), from the User Contributed Perl Documentation section, and it's about to be your new fave πŸ’…

✨ DESCRIPTION ✨

so basically this is a Perl data type class, right? for the XML Schema defined element called GetMetadataConfigurationsResponse β€” and that element lives in the namespace http://www.onvif.org/ver10/media/wsdl. that's it, that's the whole vibe. πŸŽ€

🌸 PROPERTIES 🌸

these are the properties you can actually touch, and you reach them with get_PROPERTY / set_PROPERTY methods. no cap:

  • Configurations β€” the one and only ✨ here's how you play with it:
$element->set_Configurations($data);
$element->get_Configurations();

πŸ”₯ METHODS πŸ”₯

⭐ new

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

it's the constructor, babes πŸ‘‘ and listen β€” the following data structure may be passed to new():

{
  Configurations =>  { # ONVIF::Media::Types::MetadataConfiguration
    PTZStatus =>  { # ONVIF::Media::Types::PTZFilter
      Status =>  $some_value, # boolean
      Position =>  $some_value, # boolean
    },
    Analytics =>  $some_value, # boolean
    Multicast =>  { # ONVIF::Media::Types::MulticastConfiguration
      Address =>  { # ONVIF::Media::Types::IPAddress
        Type => $some_value, # IPType
        IPv4Address => $some_value, # IPv4Address
        IPv6Address => $some_value, # IPv6Address
      },
      Port =>  $some_value, # int
      TTL =>  $some_value, # int
      AutoStart =>  $some_value, # boolean
    },
    SessionTimeout =>  $some_value, # duration
    AnalyticsEngineConfiguration =>  { # ONVIF::Media::Types::AnalyticsEngineConfiguration
      AnalyticsModule =>  { # ONVIF::Media::Types::Config
        Parameters =>  { # ONVIF::Media::Types::ItemList
          SimpleItem => ,
          ElementItem =>  {
          },
          Extension =>  { # ONVIF::Media::Types::ItemListExtension
          },
        },
      },
      Extension =>  { # ONVIF::Media::Types::AnalyticsEngineConfigurationExtension
      },
    },
    Extension =>  { # ONVIF::Media::Types::MetadataConfigurationExtension
    },
  },
},

like, look at that nesting 😭 it's giving tree structure, honestly iconic πŸ§šπŸ’œ


🫢 AUTHOR 🫢

Generated by SOAP::WSDL β€” yeah, a machine made this one, and honestly? slay πŸ€–βœ¨


and that's the tea, bestie πŸ“ this lil beauty is ONVIF::...Response(3) from the User Contributed Perl Documentation, sitting pretty at perl v5.42.3, dated 1980-01-01 (yes, really, that's the date, don't come for me πŸ’€). mwah, go forth and parse some XML πŸŒˆπŸ’–

πŸ“¦ where this page comes from