ONVIF::...rOptions(3)

πŸ“¦ version 1.38.6, in nixpkgs unstable

πŸ’… ONVIF::...rOptions(3) β€” bestie's guide to PTZPresetTourOptions ✨

okay so real talk, this page is from the User Contributed Perl Documentation and it's giving "I'm a Perl data type class and I have a lot of feelings" energy. no cap, let's get into it 🫢


🌸 NAME 🌸

ONVIF::Analytics::Types::PTZPresetTourOptions

like, that's her full government name, bestie. memorize it for the group chat πŸ’–


πŸ¦‹ DESCRIPTION πŸ¦‹

so basically: this is a Perl data type class for the XML Schema defined complexType PTZPresetTourOptions, and it lives in the namespace http://www.onvif.org/ver10/schema. she's imported, she's typed, she's iconic πŸ‘‘


πŸŽ€ PROPERTIES πŸŽ€

these are the properties you can access using the get_PROPERTY / set_PROPERTY methods. lowkey the whole point of the class, fr fr:

  • AutoStart β€” yes bestie, the first property, she's right there at the top of the list πŸ’…
  • StartingCondition β€” the starting condition property, doing her main character thing ✨
  • TourSpot β€” the tour spot property, and yes it gets a whole nested data structure later, we'll get there πŸŒ€

πŸ”₯ METHODS πŸ”₯

πŸ’œ new

Constructor. The following data structure may be passed to new() β€” and yes, it's long, but we do not skip details in this house. copy it exactly, bestie, don't let the vibe check fail 😭

 { # ONVIF::Analytics::Types::PTZPresetTourOptions
   AutoStart =>  $some_value, # boolean
   StartingCondition =>  { # ONVIF::Analytics::Types::PTZPresetTourStartingConditionOptions
     RecurringTime =>  { # ONVIF::Analytics::Types::IntRange
       Min =>  $some_value, # int
       Max =>  $some_value, # int
     },
     RecurringDuration =>  { # ONVIF::Analytics::Types::DurationRange
       Min =>  $some_value, # duration
       Max =>  $some_value, # duration
     },
     Direction => $some_value, # PTZPresetTourDirection
     Extension =>  { # ONVIF::Analytics::Types::PTZPresetTourStartingConditionOptionsExtension
     },
   },
   TourSpot =>  { # ONVIF::Analytics::Types::PTZPresetTourSpotOptions
     PresetDetail =>  { # ONVIF::Analytics::Types::PTZPresetTourPresetDetailOptions
       PresetToken => $some_value, # ReferenceToken
       Home =>  $some_value, # boolean
       PanTiltPositionSpace =>  { # ONVIF::Analytics::Types::Space2DDescription
         URI =>  $some_value, # anyURI
         XRange =>  { # ONVIF::Analytics::Types::FloatRange
           Min =>  $some_value, # float
           Max =>  $some_value, # float
         },
         YRange =>  { # ONVIF::Analytics::Types::FloatRange
           Min =>  $some_value, # float
           Max =>  $some_value, # float
         },
       },
       ZoomPositionSpace =>  { # ONVIF::Analytics::Types::Space1DDescription
         URI =>  $some_value, # anyURI
         XRange =>  { # ONVIF::Analytics::Types::FloatRange
           Min =>  $some_value, # float
           Max =>  $some_value, # float
         },
       },
       Extension =>  { # ONVIF::Analytics::Types::PTZPresetTourPresetDetailOptionsExtension
       },
     },
     StayTime =>  { # ONVIF::Analytics::Types::DurationRange
       Min =>  $some_value, # duration
       Max =>  $some_value, # duration
     },
   },
 },

like... the nesting?? the way this hash goes seven layers deep?? it's giving "I contain multitudes" 🌈 no notes, honestly. just pass it exactly like this and you're slaying πŸ’…


⭐ AUTHOR ⭐

Generated by SOAP::WSDL β€” not me, not you, the machine did that πŸ’€ iconic behavior honestly.


and that's the page, bestie πŸŽ€ one last lil sign-off: this beauty is running on perl v5.42.3, dated 1980-01-01, so yeah she's vintage but she's still that girl πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from