Scroll to navigation

ONVIF::Analytics::Types::PresetTour(3pm) User Contributed Perl Documentation ONVIF::Analytics::Types::PresetTour(3pm)

NAME

ONVIF::Analytics::Types::PresetTour

DESCRIPTION

Perl data type class for the XML Schema defined complexType PresetTour from the namespace http://www.onvif.org/ver10/schema.

PROPERTIES

The following properties may be accessed using get_PROPERTY / set_PROPERTY methods:

  • Name
  • Status
  • AutoStart
  • StartingCondition
  • TourSpot
  • Extension

METHODS

new

Constructor. The following data structure may be passed to new():

 { # ONVIF::Analytics::Types::PresetTour
   Name => $some_value, # Name
   Status =>  { # ONVIF::Analytics::Types::PTZPresetTourStatus
     State => $some_value, # PTZPresetTourState
     CurrentTourSpot =>  { # ONVIF::Analytics::Types::PTZPresetTourSpot
       PresetDetail =>        { # ONVIF::Analytics::Types::PTZPresetTourPresetDetail
         # One of the following elements.
         # No occurrence checks yet, so be sure to pass just one...
         PresetToken => $some_value, # ReferenceToken
         Home =>  $some_value, # boolean
         PTZPosition =>  { # ONVIF::Analytics::Types::PTZVector
           PanTilt => ,
           Zoom => ,
         },
         TypeExtension =>  { # ONVIF::Analytics::Types::PTZPresetTourTypeExtension
         },
       },
       Speed =>  { # ONVIF::Analytics::Types::PTZSpeed
         PanTilt => ,
         Zoom => ,
       },
       StayTime =>  $some_value, # duration
       Extension =>  { # ONVIF::Analytics::Types::PTZPresetTourSpotExtension
       },
     },
     Extension =>  { # ONVIF::Analytics::Types::PTZPresetTourStatusExtension
     },
   },
   AutoStart =>  $some_value, # boolean
   StartingCondition =>  { # ONVIF::Analytics::Types::PTZPresetTourStartingCondition
     RecurringTime =>  $some_value, # int
     RecurringDuration =>  $some_value, # duration
     Direction => $some_value, # PTZPresetTourDirection
     Extension =>  { # ONVIF::Analytics::Types::PTZPresetTourStartingConditionExtension
     },
   },
   TourSpot =>  { # ONVIF::Analytics::Types::PTZPresetTourSpot
     PresetDetail =>      { # ONVIF::Analytics::Types::PTZPresetTourPresetDetail
       # One of the following elements.
       # No occurrence checks yet, so be sure to pass just one...
       PresetToken => $some_value, # ReferenceToken
       Home =>  $some_value, # boolean
       PTZPosition =>  { # ONVIF::Analytics::Types::PTZVector
         PanTilt => ,
         Zoom => ,
       },
       TypeExtension =>  { # ONVIF::Analytics::Types::PTZPresetTourTypeExtension
       },
     },
     Speed =>  { # ONVIF::Analytics::Types::PTZSpeed
       PanTilt => ,
       Zoom => ,
     },
     StayTime =>  $some_value, # duration
     Extension =>  { # ONVIF::Analytics::Types::PTZPresetTourSpotExtension
     },
   },
   Extension =>  { # ONVIF::Analytics::Types::PTZPresetTourExtension
   },
 },

attr

NOTE: Attribute documentation is experimental, and may be inaccurate. See the correspondent WSDL/XML Schema if in question.

This class has additional attributes, accessibly via the "attr()" method.

attr() returns an object of the class ONVIF::Analytics::Types::PresetTour::_PresetTour::XmlAttr.

The following attributes can be accessed on this object via the corresponding get_/set_ methods:

token

 Unique identifier of this preset tour.
    

This attribute is of type ONVIF::Analytics::Types::ReferenceToken.

AUTHOR

Generated by SOAP::WSDL

2023-02-24 perl v5.36.0