V1/CatalogManagement/Types.pm untested

filter: Statementstmt 0.0% 0 / 95 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 100 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::Designcenter::V1::CatalogManagement::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 'Space',
11 as InstanceOf['Google::Cloud::Designcenter::V1::CatalogManagement::Space'];
12  
13 coerce 'Space',
14 from HashRef, via { 'Google::Cloud::Designcenter::V1::CatalogManagement::Space'->new($_) };
15  
16 declare 'RepeatedSpace',
17 as ArrayRef[Space()];
18  
19 coerce 'RepeatedSpace',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Designcenter::V1::CatalogManagement::Space'->new($_) } @$_ ] };
21  
22 declare 'MapStringSpace',
23 as HashRef[Space()];
24  
25 declare 'TagsEntry',
26 as InstanceOf['Google::Cloud::Designcenter::V1::CatalogManagement::Space::TagsEntry'];
27  
28 coerce 'TagsEntry',
29 from HashRef, via { 'Google::Cloud::Designcenter::V1::CatalogManagement::Space::TagsEntry'->new($_) };
30  
31 declare 'RepeatedTagsEntry',
32 as ArrayRef[TagsEntry()];
33  
34 coerce 'RepeatedTagsEntry',
35 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Designcenter::V1::CatalogManagement::Space::TagsEntry'->new($_) } @$_ ] };
36  
37 declare 'MapStringTagsEntry',
38 as HashRef[TagsEntry()];
39  
40 declare 'Catalog',
41 as InstanceOf['Google::Cloud::Designcenter::V1::CatalogManagement::Catalog'];
42  
43 coerce 'Catalog',
44 from HashRef, via { 'Google::Cloud::Designcenter::V1::CatalogManagement::Catalog'->new($_) };
45  
46 declare 'RepeatedCatalog',
47 as ArrayRef[Catalog()];
48  
49 coerce 'RepeatedCatalog',
50 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Designcenter::V1::CatalogManagement::Catalog'->new($_) } @$_ ] };
51  
52 declare 'MapStringCatalog',
53 as HashRef[Catalog()];
54  
55 declare 'CatalogTemplate',
56 as InstanceOf['Google::Cloud::Designcenter::V1::CatalogManagement::CatalogTemplate'];
57  
58 coerce 'CatalogTemplate',
59 from HashRef, via { 'Google::Cloud::Designcenter::V1::CatalogManagement::CatalogTemplate'->new($_) };
60  
61 declare 'RepeatedCatalogTemplate',
62 as ArrayRef[CatalogTemplate()];
63  
64 coerce 'RepeatedCatalogTemplate',
65 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Designcenter::V1::CatalogManagement::CatalogTemplate'->new($_) } @$_ ] };
66  
67 declare 'MapStringCatalogTemplate',
68 as HashRef[CatalogTemplate()];
69  
70 declare 'CatalogTemplateRevision',
71 as InstanceOf['Google::Cloud::Designcenter::V1::CatalogManagement::CatalogTemplateRevision'];
72  
73 coerce 'CatalogTemplateRevision',
74 from HashRef, via { 'Google::Cloud::Designcenter::V1::CatalogManagement::CatalogTemplateRevision'->new($_) };
75  
76 declare 'RepeatedCatalogTemplateRevision',
77 as ArrayRef[CatalogTemplateRevision()];
78  
79 coerce 'RepeatedCatalogTemplateRevision',
80 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Designcenter::V1::CatalogManagement::CatalogTemplateRevision'->new($_) } @$_ ] };
81  
82 declare 'MapStringCatalogTemplateRevision',
83 as HashRef[CatalogTemplateRevision()];
84  
85 declare 'State',
86 as (Int | Str);
87  
88 declare 'AnnotationsEntry',
89 as InstanceOf['Google::Cloud::Designcenter::V1::CatalogManagement::CatalogTemplateRevision::AnnotationsEntry'];
90  
91 coerce 'AnnotationsEntry',
92 from HashRef, via { 'Google::Cloud::Designcenter::V1::CatalogManagement::CatalogTemplateRevision::AnnotationsEntry'->new($_) };
93  
94 declare 'RepeatedAnnotationsEntry',
95 as ArrayRef[AnnotationsEntry()];
96  
97 coerce 'RepeatedAnnotationsEntry',
98 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Designcenter::V1::CatalogManagement::CatalogTemplateRevision::AnnotationsEntry'->new($_) } @$_ ] };
99  
100 declare 'MapStringAnnotationsEntry',
101 as HashRef[AnnotationsEntry()];
102  
103 1;
104  
105 __END__