my $element = ONVIF::PTZ::Elements::GetPresetTourOptionsResponse->new($data);
Constructor. The following data structure may be passed to
new():
{
Options => { # ONVIF::PTZ::Types::PTZPresetTourOptions
AutoStart => $some_value, # boolean
StartingCondition => { # ONVIF::PTZ::Types::PTZPresetTourStartingConditionOptions
RecurringTime => { # ONVIF::PTZ::Types::IntRange
Min => $some_value, # int
Max => $some_value, # int
},
RecurringDuration => { # ONVIF::PTZ::Types::DurationRange
Min => $some_value, # duration
Max => $some_value, # duration
},
Direction => $some_value, # PTZPresetTourDirection
Extension => { # ONVIF::PTZ::Types::PTZPresetTourStartingConditionOptionsExtension
},
},
TourSpot => { # ONVIF::PTZ::Types::PTZPresetTourSpotOptions
PresetDetail => { # ONVIF::PTZ::Types::PTZPresetTourPresetDetailOptions
PresetToken => $some_value, # ReferenceToken
Home => $some_value, # boolean
PanTiltPositionSpace => { # ONVIF::PTZ::Types::Space2DDescription
URI => $some_value, # anyURI
XRange => { # ONVIF::PTZ::Types::FloatRange
Min => $some_value, # float
Max => $some_value, # float
},
YRange => { # ONVIF::PTZ::Types::FloatRange
Min => $some_value, # float
Max => $some_value, # float
},
},
ZoomPositionSpace => { # ONVIF::PTZ::Types::Space1DDescription
URI => $some_value, # anyURI
XRange => { # ONVIF::PTZ::Types::FloatRange
Min => $some_value, # float
Max => $some_value, # float
},
},
Extension => { # ONVIF::PTZ::Types::PTZPresetTourPresetDetailOptionsExtension
},
},
StayTime => { # ONVIF::PTZ::Types::DurationRange
Min => $some_value, # duration
Max => $some_value, # duration
},
},
},
},