V1/Autokey/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::Kms::V1::Autokey::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 'CreateKeyHandleRequest',
11 as InstanceOf['Google::Cloud::Kms::V1::Autokey::CreateKeyHandleRequest'];
12  
13 coerce 'CreateKeyHandleRequest',
14 from HashRef, via { 'Google::Cloud::Kms::V1::Autokey::CreateKeyHandleRequest'->new($_) };
15  
16 declare 'RepeatedCreateKeyHandleRequest',
17 as ArrayRef[CreateKeyHandleRequest()];
18  
19 coerce 'RepeatedCreateKeyHandleRequest',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Kms::V1::Autokey::CreateKeyHandleRequest'->new($_) } @$_ ] };
21  
22 declare 'MapStringCreateKeyHandleRequest',
23 as HashRef[CreateKeyHandleRequest()];
24  
25 declare 'GetKeyHandleRequest',
26 as InstanceOf['Google::Cloud::Kms::V1::Autokey::GetKeyHandleRequest'];
27  
28 coerce 'GetKeyHandleRequest',
29 from HashRef, via { 'Google::Cloud::Kms::V1::Autokey::GetKeyHandleRequest'->new($_) };
30  
31 declare 'RepeatedGetKeyHandleRequest',
32 as ArrayRef[GetKeyHandleRequest()];
33  
34 coerce 'RepeatedGetKeyHandleRequest',
35 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Kms::V1::Autokey::GetKeyHandleRequest'->new($_) } @$_ ] };
36  
37 declare 'MapStringGetKeyHandleRequest',
38 as HashRef[GetKeyHandleRequest()];
39  
40 declare 'KeyHandle',
41 as InstanceOf['Google::Cloud::Kms::V1::Autokey::KeyHandle'];
42  
43 coerce 'KeyHandle',
44 from HashRef, via { 'Google::Cloud::Kms::V1::Autokey::KeyHandle'->new($_) };
45  
46 declare 'RepeatedKeyHandle',
47 as ArrayRef[KeyHandle()];
48  
49 coerce 'RepeatedKeyHandle',
50 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Kms::V1::Autokey::KeyHandle'->new($_) } @$_ ] };
51  
52 declare 'MapStringKeyHandle',
53 as HashRef[KeyHandle()];
54  
55 declare 'CreateKeyHandleMetadata',
56 as InstanceOf['Google::Cloud::Kms::V1::Autokey::CreateKeyHandleMetadata'];
57  
58 coerce 'CreateKeyHandleMetadata',
59 from HashRef, via { 'Google::Cloud::Kms::V1::Autokey::CreateKeyHandleMetadata'->new($_) };
60  
61 declare 'RepeatedCreateKeyHandleMetadata',
62 as ArrayRef[CreateKeyHandleMetadata()];
63  
64 coerce 'RepeatedCreateKeyHandleMetadata',
65 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Kms::V1::Autokey::CreateKeyHandleMetadata'->new($_) } @$_ ] };
66  
67 declare 'MapStringCreateKeyHandleMetadata',
68 as HashRef[CreateKeyHandleMetadata()];
69  
70 declare 'ListKeyHandlesRequest',
71 as InstanceOf['Google::Cloud::Kms::V1::Autokey::ListKeyHandlesRequest'];
72  
73 coerce 'ListKeyHandlesRequest',
74 from HashRef, via { 'Google::Cloud::Kms::V1::Autokey::ListKeyHandlesRequest'->new($_) };
75  
76 declare 'RepeatedListKeyHandlesRequest',
77 as ArrayRef[ListKeyHandlesRequest()];
78  
79 coerce 'RepeatedListKeyHandlesRequest',
80 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Kms::V1::Autokey::ListKeyHandlesRequest'->new($_) } @$_ ] };
81  
82 declare 'MapStringListKeyHandlesRequest',
83 as HashRef[ListKeyHandlesRequest()];
84  
85 declare 'ListKeyHandlesResponse',
86 as InstanceOf['Google::Cloud::Kms::V1::Autokey::ListKeyHandlesResponse'];
87  
88 coerce 'ListKeyHandlesResponse',
89 from HashRef, via { 'Google::Cloud::Kms::V1::Autokey::ListKeyHandlesResponse'->new($_) };
90  
91 declare 'RepeatedListKeyHandlesResponse',
92 as ArrayRef[ListKeyHandlesResponse()];
93  
94 coerce 'RepeatedListKeyHandlesResponse',
95 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Kms::V1::Autokey::ListKeyHandlesResponse'->new($_) } @$_ ] };
96  
97 declare 'MapStringListKeyHandlesResponse',
98 as HashRef[ListKeyHandlesResponse()];
99  
100 1;
101  
102 __END__