Appengine/V1beta/Application/Types.pm untested

filter: Statementstmt 0.0% 0 / 70 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 75 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Google::Appengine::V1beta::Application::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 'Application',
11 as InstanceOf['Google::Appengine::V1beta::Application::Application'];
12  
13 coerce 'Application',
14 from HashRef, via { 'Google::Appengine::V1beta::Application::Application'->new($_) };
15  
16 declare 'RepeatedApplication',
17 as ArrayRef[Application()];
18  
19 coerce 'RepeatedApplication',
20 from ArrayRef[HashRef], via { [ map { 'Google::Appengine::V1beta::Application::Application'->new($_) } @$_ ] };
21  
22 declare 'MapStringApplication',
23 as HashRef[Application()];
24  
25 declare 'ServingStatus',
26 as (Int | Str);
27  
28 declare 'DatabaseType',
29 as (Int | Str);
30  
31 declare 'IdentityAwareProxy',
32 as InstanceOf['Google::Appengine::V1beta::Application::Application::IdentityAwareProxy'];
33  
34 coerce 'IdentityAwareProxy',
35 from HashRef, via { 'Google::Appengine::V1beta::Application::Application::IdentityAwareProxy'->new($_) };
36  
37 declare 'RepeatedIdentityAwareProxy',
38 as ArrayRef[IdentityAwareProxy()];
39  
40 coerce 'RepeatedIdentityAwareProxy',
41 from ArrayRef[HashRef], via { [ map { 'Google::Appengine::V1beta::Application::Application::IdentityAwareProxy'->new($_) } @$_ ] };
42  
43 declare 'MapStringIdentityAwareProxy',
44 as HashRef[IdentityAwareProxy()];
45  
46 declare 'FeatureSettings',
47 as InstanceOf['Google::Appengine::V1beta::Application::Application::FeatureSettings'];
48  
49 coerce 'FeatureSettings',
50 from HashRef, via { 'Google::Appengine::V1beta::Application::Application::FeatureSettings'->new($_) };
51  
52 declare 'RepeatedFeatureSettings',
53 as ArrayRef[FeatureSettings()];
54  
55 coerce 'RepeatedFeatureSettings',
56 from ArrayRef[HashRef], via { [ map { 'Google::Appengine::V1beta::Application::Application::FeatureSettings'->new($_) } @$_ ] };
57  
58 declare 'MapStringFeatureSettings',
59 as HashRef[FeatureSettings()];
60  
61 declare 'UrlDispatchRule',
62 as InstanceOf['Google::Appengine::V1beta::Application::UrlDispatchRule'];
63  
64 coerce 'UrlDispatchRule',
65 from HashRef, via { 'Google::Appengine::V1beta::Application::UrlDispatchRule'->new($_) };
66  
67 declare 'RepeatedUrlDispatchRule',
68 as ArrayRef[UrlDispatchRule()];
69  
70 coerce 'RepeatedUrlDispatchRule',
71 from ArrayRef[HashRef], via { [ map { 'Google::Appengine::V1beta::Application::UrlDispatchRule'->new($_) } @$_ ] };
72  
73 declare 'MapStringUrlDispatchRule',
74 as HashRef[UrlDispatchRule()];
75  
76 1;
77  
78 __END__