V1/CollectService/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::Apihub::V1::CollectService::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 'CollectionType',
11 as (Int | Str);
12  
13 declare 'CollectApiDataRequest',
14 as InstanceOf['Google::Cloud::Apihub::V1::CollectService::CollectApiDataRequest'];
15  
16 coerce 'CollectApiDataRequest',
17 from HashRef, via { 'Google::Cloud::Apihub::V1::CollectService::CollectApiDataRequest'->new($_) };
18  
19 declare 'RepeatedCollectApiDataRequest',
20 as ArrayRef[CollectApiDataRequest()];
21  
22 coerce 'RepeatedCollectApiDataRequest',
23 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CollectService::CollectApiDataRequest'->new($_) } @$_ ] };
24  
25 declare 'MapStringCollectApiDataRequest',
26 as HashRef[CollectApiDataRequest()];
27  
28 declare 'ApiData',
29 as InstanceOf['Google::Cloud::Apihub::V1::CollectService::ApiData'];
30  
31 coerce 'ApiData',
32 from HashRef, via { 'Google::Cloud::Apihub::V1::CollectService::ApiData'->new($_) };
33  
34 declare 'RepeatedApiData',
35 as ArrayRef[ApiData()];
36  
37 coerce 'RepeatedApiData',
38 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CollectService::ApiData'->new($_) } @$_ ] };
39  
40 declare 'MapStringApiData',
41 as HashRef[ApiData()];
42  
43 declare 'ApiMetadataList',
44 as InstanceOf['Google::Cloud::Apihub::V1::CollectService::ApiMetadataList'];
45  
46 coerce 'ApiMetadataList',
47 from HashRef, via { 'Google::Cloud::Apihub::V1::CollectService::ApiMetadataList'->new($_) };
48  
49 declare 'RepeatedApiMetadataList',
50 as ArrayRef[ApiMetadataList()];
51  
52 coerce 'RepeatedApiMetadataList',
53 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CollectService::ApiMetadataList'->new($_) } @$_ ] };
54  
55 declare 'MapStringApiMetadataList',
56 as HashRef[ApiMetadataList()];
57  
58 declare 'APIMetadata',
59 as InstanceOf['Google::Cloud::Apihub::V1::CollectService::APIMetadata'];
60  
61 coerce 'APIMetadata',
62 from HashRef, via { 'Google::Cloud::Apihub::V1::CollectService::APIMetadata'->new($_) };
63  
64 declare 'RepeatedAPIMetadata',
65 as ArrayRef[APIMetadata()];
66  
67 coerce 'RepeatedAPIMetadata',
68 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CollectService::APIMetadata'->new($_) } @$_ ] };
69  
70 declare 'MapStringAPIMetadata',
71 as HashRef[APIMetadata()];
72  
73 declare 'VersionMetadata',
74 as InstanceOf['Google::Cloud::Apihub::V1::CollectService::VersionMetadata'];
75  
76 coerce 'VersionMetadata',
77 from HashRef, via { 'Google::Cloud::Apihub::V1::CollectService::VersionMetadata'->new($_) };
78  
79 declare 'RepeatedVersionMetadata',
80 as ArrayRef[VersionMetadata()];
81  
82 coerce 'RepeatedVersionMetadata',
83 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CollectService::VersionMetadata'->new($_) } @$_ ] };
84  
85 declare 'MapStringVersionMetadata',
86 as HashRef[VersionMetadata()];
87  
88 declare 'SpecMetadata',
89 as InstanceOf['Google::Cloud::Apihub::V1::CollectService::SpecMetadata'];
90  
91 coerce 'SpecMetadata',
92 from HashRef, via { 'Google::Cloud::Apihub::V1::CollectService::SpecMetadata'->new($_) };
93  
94 declare 'RepeatedSpecMetadata',
95 as ArrayRef[SpecMetadata()];
96  
97 coerce 'RepeatedSpecMetadata',
98 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CollectService::SpecMetadata'->new($_) } @$_ ] };
99  
100 declare 'MapStringSpecMetadata',
101 as HashRef[SpecMetadata()];
102  
103 declare 'DeploymentMetadata',
104 as InstanceOf['Google::Cloud::Apihub::V1::CollectService::DeploymentMetadata'];
105  
106 coerce 'DeploymentMetadata',
107 from HashRef, via { 'Google::Cloud::Apihub::V1::CollectService::DeploymentMetadata'->new($_) };
108  
109 declare 'RepeatedDeploymentMetadata',
110 as ArrayRef[DeploymentMetadata()];
111  
112 coerce 'RepeatedDeploymentMetadata',
113 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CollectService::DeploymentMetadata'->new($_) } @$_ ] };
114  
115 declare 'MapStringDeploymentMetadata',
116 as HashRef[DeploymentMetadata()];
117  
118 declare 'CollectApiDataResponse',
119 as InstanceOf['Google::Cloud::Apihub::V1::CollectService::CollectApiDataResponse'];
120  
121 coerce 'CollectApiDataResponse',
122 from HashRef, via { 'Google::Cloud::Apihub::V1::CollectService::CollectApiDataResponse'->new($_) };
123  
124 declare 'RepeatedCollectApiDataResponse',
125 as ArrayRef[CollectApiDataResponse()];
126  
127 coerce 'RepeatedCollectApiDataResponse',
128 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CollectService::CollectApiDataResponse'->new($_) } @$_ ] };
129  
130 declare 'MapStringCollectApiDataResponse',
131 as HashRef[CollectApiDataResponse()];
132  
133 1;
134  
135 __END__