blib/lib/Paws/Rekognition/SegmentDetection.pm untested

filter: Statementstmt 0.0% 0 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 13 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::Rekognition::SegmentDetection;
3 use Moose;
4 has DurationMillis => (is => 'ro', isa => 'Int');
5 has DurationSMPTE => (is => 'ro', isa => 'Str');
6 has EndTimecodeSMPTE => (is => 'ro', isa => 'Str');
7 has EndTimestampMillis => (is => 'ro', isa => 'Int');
8 has ShotSegment => (is => 'ro', isa => 'Paws::Rekognition::ShotSegment');
9 has StartTimecodeSMPTE => (is => 'ro', isa => 'Str');
10 has StartTimestampMillis => (is => 'ro', isa => 'Int');
11 has TechnicalCueSegment => (is => 'ro', isa => 'Paws::Rekognition::TechnicalCueSegment');
12 has Type => (is => 'ro', isa => 'Str');
13  
14 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::Rekognition::SegmentDetection
21  
22 =head1 USAGE
23  
24 This class represents one of two things:
25  
26 =head3 Arguments in a call to a service
27  
28 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
29 Each attribute should be used as a named argument in the calls that expect this type of object.
30  
31 As an example, if Att1 is expected to be a Paws::Rekognition::SegmentDetection object:
32  
33 $service_obj->Method(Att1 => { DurationMillis => $value, ..., Type => $value });
34  
35 =head3 Results returned from an API call
36  
37 Use accessors for each attribute. If Att1 is expected to be an Paws::Rekognition::SegmentDetection object:
38  
39 $result = $service_obj->Method(...);
40 $result->Att1->DurationMillis
41  
42 =head1 DESCRIPTION
43  
44 A technical cue or shot detection segment detected in a video. An array
45 of C<SegmentDetection> objects containing all segments detected in a
46 stored video is returned by GetSegmentDetection.
47  
48 =head1 ATTRIBUTES
49  
50  
51 =head2 DurationMillis => Int
52  
53 The duration of the detected segment in milliseconds.
54  
55  
56 =head2 DurationSMPTE => Str
57  
58 The duration of the timecode for the detected segment in SMPTE format.
59  
60  
61 =head2 EndTimecodeSMPTE => Str
62  
63 The frame-accurate SMPTE timecode, from the start of a video, for the
64 end of a detected segment. C<EndTimecode> is in I<HH:MM:SS:fr> format
65 (and I<;fr> for drop frame-rates).
66  
67  
68 =head2 EndTimestampMillis => Int
69  
70 The end time of the detected segment, in milliseconds, from the start
71 of the video. This value is rounded down.
72  
73  
74 =head2 ShotSegment => L<Paws::Rekognition::ShotSegment>
75  
76 If the segment is a shot detection, contains information about the shot
77 detection.
78  
79  
80 =head2 StartTimecodeSMPTE => Str
81  
82 The frame-accurate SMPTE timecode, from the start of a video, for the
83 start of a detected segment. C<StartTimecode> is in I<HH:MM:SS:fr>
84 format (and I<;fr> for drop frame-rates).
85  
86  
87 =head2 StartTimestampMillis => Int
88  
89 The start time of the detected segment in milliseconds from the start
90 of the video. This value is rounded down. For example, if the actual
91 timestamp is 100.6667 milliseconds, Amazon Rekognition Video returns a
92 value of 100 millis.
93  
94  
95 =head2 TechnicalCueSegment => L<Paws::Rekognition::TechnicalCueSegment>
96  
97 If the segment is a technical cue, contains information about the
98 technical cue.
99  
100  
101 =head2 Type => Str
102  
103 The type of the segment. Valid values are C<TECHNICAL_CUE> and C<SHOT>.
104  
105  
106  
107 =head1 SEE ALSO
108  
109 This class forms part of L<Paws>, describing an object used in L<Paws::Rekognition>
110  
111 =head1 BUGS and CONTRIBUTIONS
112  
113 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
114  
115 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
116  
117 =cut
118