V1/Tether/Types.pm untested

filter: Statementstmt 0.0% 0 / 123 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 128 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::Apigeeconnect::V1::Tether::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 'Action',
11 as (Int | Str);
12  
13 declare 'TetherEndpoint',
14 as (Int | Str);
15  
16 declare 'Scheme',
17 as (Int | Str);
18  
19 declare 'EgressRequest',
20 as InstanceOf['Google::Cloud::Apigeeconnect::V1::Tether::EgressRequest'];
21  
22 coerce 'EgressRequest',
23 from HashRef, via { 'Google::Cloud::Apigeeconnect::V1::Tether::EgressRequest'->new($_) };
24  
25 declare 'RepeatedEgressRequest',
26 as ArrayRef[EgressRequest()];
27  
28 coerce 'RepeatedEgressRequest',
29 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apigeeconnect::V1::Tether::EgressRequest'->new($_) } @$_ ] };
30  
31 declare 'MapStringEgressRequest',
32 as HashRef[EgressRequest()];
33  
34 declare 'Payload',
35 as InstanceOf['Google::Cloud::Apigeeconnect::V1::Tether::Payload'];
36  
37 coerce 'Payload',
38 from HashRef, via { 'Google::Cloud::Apigeeconnect::V1::Tether::Payload'->new($_) };
39  
40 declare 'RepeatedPayload',
41 as ArrayRef[Payload()];
42  
43 coerce 'RepeatedPayload',
44 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apigeeconnect::V1::Tether::Payload'->new($_) } @$_ ] };
45  
46 declare 'MapStringPayload',
47 as HashRef[Payload()];
48  
49 declare 'StreamInfo',
50 as InstanceOf['Google::Cloud::Apigeeconnect::V1::Tether::StreamInfo'];
51  
52 coerce 'StreamInfo',
53 from HashRef, via { 'Google::Cloud::Apigeeconnect::V1::Tether::StreamInfo'->new($_) };
54  
55 declare 'RepeatedStreamInfo',
56 as ArrayRef[StreamInfo()];
57  
58 coerce 'RepeatedStreamInfo',
59 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apigeeconnect::V1::Tether::StreamInfo'->new($_) } @$_ ] };
60  
61 declare 'MapStringStreamInfo',
62 as HashRef[StreamInfo()];
63  
64 declare 'EgressResponse',
65 as InstanceOf['Google::Cloud::Apigeeconnect::V1::Tether::EgressResponse'];
66  
67 coerce 'EgressResponse',
68 from HashRef, via { 'Google::Cloud::Apigeeconnect::V1::Tether::EgressResponse'->new($_) };
69  
70 declare 'RepeatedEgressResponse',
71 as ArrayRef[EgressResponse()];
72  
73 coerce 'RepeatedEgressResponse',
74 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apigeeconnect::V1::Tether::EgressResponse'->new($_) } @$_ ] };
75  
76 declare 'MapStringEgressResponse',
77 as HashRef[EgressResponse()];
78  
79 declare 'HttpRequest',
80 as InstanceOf['Google::Cloud::Apigeeconnect::V1::Tether::HttpRequest'];
81  
82 coerce 'HttpRequest',
83 from HashRef, via { 'Google::Cloud::Apigeeconnect::V1::Tether::HttpRequest'->new($_) };
84  
85 declare 'RepeatedHttpRequest',
86 as ArrayRef[HttpRequest()];
87  
88 coerce 'RepeatedHttpRequest',
89 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apigeeconnect::V1::Tether::HttpRequest'->new($_) } @$_ ] };
90  
91 declare 'MapStringHttpRequest',
92 as HashRef[HttpRequest()];
93  
94 declare 'Url',
95 as InstanceOf['Google::Cloud::Apigeeconnect::V1::Tether::Url'];
96  
97 coerce 'Url',
98 from HashRef, via { 'Google::Cloud::Apigeeconnect::V1::Tether::Url'->new($_) };
99  
100 declare 'RepeatedUrl',
101 as ArrayRef[Url()];
102  
103 coerce 'RepeatedUrl',
104 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apigeeconnect::V1::Tether::Url'->new($_) } @$_ ] };
105  
106 declare 'MapStringUrl',
107 as HashRef[Url()];
108  
109 declare 'Header',
110 as InstanceOf['Google::Cloud::Apigeeconnect::V1::Tether::Header'];
111  
112 coerce 'Header',
113 from HashRef, via { 'Google::Cloud::Apigeeconnect::V1::Tether::Header'->new($_) };
114  
115 declare 'RepeatedHeader',
116 as ArrayRef[Header()];
117  
118 coerce 'RepeatedHeader',
119 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apigeeconnect::V1::Tether::Header'->new($_) } @$_ ] };
120  
121 declare 'MapStringHeader',
122 as HashRef[Header()];
123  
124 declare 'HttpResponse',
125 as InstanceOf['Google::Cloud::Apigeeconnect::V1::Tether::HttpResponse'];
126  
127 coerce 'HttpResponse',
128 from HashRef, via { 'Google::Cloud::Apigeeconnect::V1::Tether::HttpResponse'->new($_) };
129  
130 declare 'RepeatedHttpResponse',
131 as ArrayRef[HttpResponse()];
132  
133 coerce 'RepeatedHttpResponse',
134 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apigeeconnect::V1::Tether::HttpResponse'->new($_) } @$_ ] };
135  
136 declare 'MapStringHttpResponse',
137 as HashRef[HttpResponse()];
138  
139 1;
140  
141 __END__