V2/LocationsMetadata/Types.pm untested

filter: Statementstmt 0.0% 0 / 121 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 126 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::Speech::V2::LocationsMetadata::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 'ModelFeature',
11 as InstanceOf['Google::Cloud::Speech::V2::LocationsMetadata::ModelFeature'];
12  
13 coerce 'ModelFeature',
14 from HashRef, via { 'Google::Cloud::Speech::V2::LocationsMetadata::ModelFeature'->new($_) };
15  
16 declare 'RepeatedModelFeature',
17 as ArrayRef[ModelFeature()];
18  
19 coerce 'RepeatedModelFeature',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::LocationsMetadata::ModelFeature'->new($_) } @$_ ] };
21  
22 declare 'MapStringModelFeature',
23 as HashRef[ModelFeature()];
24  
25 declare 'ModelFeatures',
26 as InstanceOf['Google::Cloud::Speech::V2::LocationsMetadata::ModelFeatures'];
27  
28 coerce 'ModelFeatures',
29 from HashRef, via { 'Google::Cloud::Speech::V2::LocationsMetadata::ModelFeatures'->new($_) };
30  
31 declare 'RepeatedModelFeatures',
32 as ArrayRef[ModelFeatures()];
33  
34 coerce 'RepeatedModelFeatures',
35 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::LocationsMetadata::ModelFeatures'->new($_) } @$_ ] };
36  
37 declare 'MapStringModelFeatures',
38 as HashRef[ModelFeatures()];
39  
40 declare 'ModelMetadata',
41 as InstanceOf['Google::Cloud::Speech::V2::LocationsMetadata::ModelMetadata'];
42  
43 coerce 'ModelMetadata',
44 from HashRef, via { 'Google::Cloud::Speech::V2::LocationsMetadata::ModelMetadata'->new($_) };
45  
46 declare 'RepeatedModelMetadata',
47 as ArrayRef[ModelMetadata()];
48  
49 coerce 'RepeatedModelMetadata',
50 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::LocationsMetadata::ModelMetadata'->new($_) } @$_ ] };
51  
52 declare 'MapStringModelMetadata',
53 as HashRef[ModelMetadata()];
54  
55 declare 'ModelFeaturesEntry',
56 as InstanceOf['Google::Cloud::Speech::V2::LocationsMetadata::ModelMetadata::ModelFeaturesEntry'];
57  
58 coerce 'ModelFeaturesEntry',
59 from HashRef, via { 'Google::Cloud::Speech::V2::LocationsMetadata::ModelMetadata::ModelFeaturesEntry'->new($_) };
60  
61 declare 'RepeatedModelFeaturesEntry',
62 as ArrayRef[ModelFeaturesEntry()];
63  
64 coerce 'RepeatedModelFeaturesEntry',
65 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::LocationsMetadata::ModelMetadata::ModelFeaturesEntry'->new($_) } @$_ ] };
66  
67 declare 'MapStringModelFeaturesEntry',
68 as HashRef[ModelFeaturesEntry()];
69  
70 declare 'LanguageMetadata',
71 as InstanceOf['Google::Cloud::Speech::V2::LocationsMetadata::LanguageMetadata'];
72  
73 coerce 'LanguageMetadata',
74 from HashRef, via { 'Google::Cloud::Speech::V2::LocationsMetadata::LanguageMetadata'->new($_) };
75  
76 declare 'RepeatedLanguageMetadata',
77 as ArrayRef[LanguageMetadata()];
78  
79 coerce 'RepeatedLanguageMetadata',
80 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::LocationsMetadata::LanguageMetadata'->new($_) } @$_ ] };
81  
82 declare 'MapStringLanguageMetadata',
83 as HashRef[LanguageMetadata()];
84  
85 declare 'ModelsEntry',
86 as InstanceOf['Google::Cloud::Speech::V2::LocationsMetadata::LanguageMetadata::ModelsEntry'];
87  
88 coerce 'ModelsEntry',
89 from HashRef, via { 'Google::Cloud::Speech::V2::LocationsMetadata::LanguageMetadata::ModelsEntry'->new($_) };
90  
91 declare 'RepeatedModelsEntry',
92 as ArrayRef[ModelsEntry()];
93  
94 coerce 'RepeatedModelsEntry',
95 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::LocationsMetadata::LanguageMetadata::ModelsEntry'->new($_) } @$_ ] };
96  
97 declare 'MapStringModelsEntry',
98 as HashRef[ModelsEntry()];
99  
100 declare 'AccessMetadata',
101 as InstanceOf['Google::Cloud::Speech::V2::LocationsMetadata::AccessMetadata'];
102  
103 coerce 'AccessMetadata',
104 from HashRef, via { 'Google::Cloud::Speech::V2::LocationsMetadata::AccessMetadata'->new($_) };
105  
106 declare 'RepeatedAccessMetadata',
107 as ArrayRef[AccessMetadata()];
108  
109 coerce 'RepeatedAccessMetadata',
110 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::LocationsMetadata::AccessMetadata'->new($_) } @$_ ] };
111  
112 declare 'MapStringAccessMetadata',
113 as HashRef[AccessMetadata()];
114  
115 declare 'ConstraintType',
116 as (Int | Str);
117  
118 declare 'LocationsMetadata',
119 as InstanceOf['Google::Cloud::Speech::V2::LocationsMetadata::LocationsMetadata'];
120  
121 coerce 'LocationsMetadata',
122 from HashRef, via { 'Google::Cloud::Speech::V2::LocationsMetadata::LocationsMetadata'->new($_) };
123  
124 declare 'RepeatedLocationsMetadata',
125 as ArrayRef[LocationsMetadata()];
126  
127 coerce 'RepeatedLocationsMetadata',
128 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Speech::V2::LocationsMetadata::LocationsMetadata'->new($_) } @$_ ] };
129  
130 declare 'MapStringLocationsMetadata',
131 as HashRef[LocationsMetadata()];
132  
133 1;
134  
135 __END__