V1beta1/Detection/Types.pm untested

filter: Statementstmt 0.0% 0 / 94 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 99 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Google::Cloud::Automl::V1beta1::Detection::Types;
2  
3 use strict;
4 use warnings;
5  
6 use Type::Library -base;
7 use Type::Utils -all;
8 use Types::Standard -types;
9  
10 declare 'ImageObjectDetectionAnnotation',
11 as InstanceOf['Google::Cloud::Automl::V1beta1::Detection::ImageObjectDetectionAnnotation'];
12  
13 coerce 'ImageObjectDetectionAnnotation',
14 from HashRef, via { 'Google::Cloud::Automl::V1beta1::Detection::ImageObjectDetectionAnnotation'->new($_) };
15  
16 declare 'RepeatedImageObjectDetectionAnnotation',
17 as ArrayRef[ImageObjectDetectionAnnotation()];
18  
19 coerce 'RepeatedImageObjectDetectionAnnotation',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1beta1::Detection::ImageObjectDetectionAnnotation'->new($_) } @$_ ] };
21  
22 declare 'MapStringImageObjectDetectionAnnotation',
23 as HashRef[ImageObjectDetectionAnnotation()];
24  
25 declare 'VideoObjectTrackingAnnotation',
26 as InstanceOf['Google::Cloud::Automl::V1beta1::Detection::VideoObjectTrackingAnnotation'];
27  
28 coerce 'VideoObjectTrackingAnnotation',
29 from HashRef, via { 'Google::Cloud::Automl::V1beta1::Detection::VideoObjectTrackingAnnotation'->new($_) };
30  
31 declare 'RepeatedVideoObjectTrackingAnnotation',
32 as ArrayRef[VideoObjectTrackingAnnotation()];
33  
34 coerce 'RepeatedVideoObjectTrackingAnnotation',
35 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1beta1::Detection::VideoObjectTrackingAnnotation'->new($_) } @$_ ] };
36  
37 declare 'MapStringVideoObjectTrackingAnnotation',
38 as HashRef[VideoObjectTrackingAnnotation()];
39  
40 declare 'BoundingBoxMetricsEntry',
41 as InstanceOf['Google::Cloud::Automl::V1beta1::Detection::BoundingBoxMetricsEntry'];
42  
43 coerce 'BoundingBoxMetricsEntry',
44 from HashRef, via { 'Google::Cloud::Automl::V1beta1::Detection::BoundingBoxMetricsEntry'->new($_) };
45  
46 declare 'RepeatedBoundingBoxMetricsEntry',
47 as ArrayRef[BoundingBoxMetricsEntry()];
48  
49 coerce 'RepeatedBoundingBoxMetricsEntry',
50 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1beta1::Detection::BoundingBoxMetricsEntry'->new($_) } @$_ ] };
51  
52 declare 'MapStringBoundingBoxMetricsEntry',
53 as HashRef[BoundingBoxMetricsEntry()];
54  
55 declare 'ConfidenceMetricsEntry',
56 as InstanceOf['Google::Cloud::Automl::V1beta1::Detection::BoundingBoxMetricsEntry::ConfidenceMetricsEntry'];
57  
58 coerce 'ConfidenceMetricsEntry',
59 from HashRef, via { 'Google::Cloud::Automl::V1beta1::Detection::BoundingBoxMetricsEntry::ConfidenceMetricsEntry'->new($_) };
60  
61 declare 'RepeatedConfidenceMetricsEntry',
62 as ArrayRef[ConfidenceMetricsEntry()];
63  
64 coerce 'RepeatedConfidenceMetricsEntry',
65 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1beta1::Detection::BoundingBoxMetricsEntry::ConfidenceMetricsEntry'->new($_) } @$_ ] };
66  
67 declare 'MapStringConfidenceMetricsEntry',
68 as HashRef[ConfidenceMetricsEntry()];
69  
70 declare 'ImageObjectDetectionEvaluationMetrics',
71 as InstanceOf['Google::Cloud::Automl::V1beta1::Detection::ImageObjectDetectionEvaluationMetrics'];
72  
73 coerce 'ImageObjectDetectionEvaluationMetrics',
74 from HashRef, via { 'Google::Cloud::Automl::V1beta1::Detection::ImageObjectDetectionEvaluationMetrics'->new($_) };
75  
76 declare 'RepeatedImageObjectDetectionEvaluationMetrics',
77 as ArrayRef[ImageObjectDetectionEvaluationMetrics()];
78  
79 coerce 'RepeatedImageObjectDetectionEvaluationMetrics',
80 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1beta1::Detection::ImageObjectDetectionEvaluationMetrics'->new($_) } @$_ ] };
81  
82 declare 'MapStringImageObjectDetectionEvaluationMetrics',
83 as HashRef[ImageObjectDetectionEvaluationMetrics()];
84  
85 declare 'VideoObjectTrackingEvaluationMetrics',
86 as InstanceOf['Google::Cloud::Automl::V1beta1::Detection::VideoObjectTrackingEvaluationMetrics'];
87  
88 coerce 'VideoObjectTrackingEvaluationMetrics',
89 from HashRef, via { 'Google::Cloud::Automl::V1beta1::Detection::VideoObjectTrackingEvaluationMetrics'->new($_) };
90  
91 declare 'RepeatedVideoObjectTrackingEvaluationMetrics',
92 as ArrayRef[VideoObjectTrackingEvaluationMetrics()];
93  
94 coerce 'RepeatedVideoObjectTrackingEvaluationMetrics',
95 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1beta1::Detection::VideoObjectTrackingEvaluationMetrics'->new($_) } @$_ ] };
96  
97 declare 'MapStringVideoObjectTrackingEvaluationMetrics',
98 as HashRef[VideoObjectTrackingEvaluationMetrics()];
99  
100 1;
101  
102 __END__