V1/VmCluster/Types.pm untested

filter: Statementstmt 0.0% 0 / 74 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 79 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::Oracledatabase::V1::VmCluster::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 'CloudVmCluster',
11 as InstanceOf['Google::Cloud::Oracledatabase::V1::VmCluster::CloudVmCluster'];
12  
13 coerce 'CloudVmCluster',
14 from HashRef, via { 'Google::Cloud::Oracledatabase::V1::VmCluster::CloudVmCluster'->new($_) };
15  
16 declare 'RepeatedCloudVmCluster',
17 as ArrayRef[CloudVmCluster()];
18  
19 coerce 'RepeatedCloudVmCluster',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Oracledatabase::V1::VmCluster::CloudVmCluster'->new($_) } @$_ ] };
21  
22 declare 'MapStringCloudVmCluster',
23 as HashRef[CloudVmCluster()];
24  
25 declare 'LabelsEntry',
26 as InstanceOf['Google::Cloud::Oracledatabase::V1::VmCluster::CloudVmCluster::LabelsEntry'];
27  
28 coerce 'LabelsEntry',
29 from HashRef, via { 'Google::Cloud::Oracledatabase::V1::VmCluster::CloudVmCluster::LabelsEntry'->new($_) };
30  
31 declare 'RepeatedLabelsEntry',
32 as ArrayRef[LabelsEntry()];
33  
34 coerce 'RepeatedLabelsEntry',
35 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Oracledatabase::V1::VmCluster::CloudVmCluster::LabelsEntry'->new($_) } @$_ ] };
36  
37 declare 'MapStringLabelsEntry',
38 as HashRef[LabelsEntry()];
39  
40 declare 'CloudVmClusterProperties',
41 as InstanceOf['Google::Cloud::Oracledatabase::V1::VmCluster::CloudVmClusterProperties'];
42  
43 coerce 'CloudVmClusterProperties',
44 from HashRef, via { 'Google::Cloud::Oracledatabase::V1::VmCluster::CloudVmClusterProperties'->new($_) };
45  
46 declare 'RepeatedCloudVmClusterProperties',
47 as ArrayRef[CloudVmClusterProperties()];
48  
49 coerce 'RepeatedCloudVmClusterProperties',
50 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Oracledatabase::V1::VmCluster::CloudVmClusterProperties'->new($_) } @$_ ] };
51  
52 declare 'MapStringCloudVmClusterProperties',
53 as HashRef[CloudVmClusterProperties()];
54  
55 declare 'LicenseType',
56 as (Int | Str);
57  
58 declare 'DiskRedundancy',
59 as (Int | Str);
60  
61 declare 'State',
62 as (Int | Str);
63  
64 declare 'StorageManagementType',
65 as (Int | Str);
66  
67 declare 'VmFileSystemStorageType',
68 as (Int | Str);
69  
70 declare 'VmBackupStorageType',
71 as (Int | Str);
72  
73 declare 'DataCollectionOptions',
74 as InstanceOf['Google::Cloud::Oracledatabase::V1::VmCluster::DataCollectionOptions'];
75  
76 coerce 'DataCollectionOptions',
77 from HashRef, via { 'Google::Cloud::Oracledatabase::V1::VmCluster::DataCollectionOptions'->new($_) };
78  
79 declare 'RepeatedDataCollectionOptions',
80 as ArrayRef[DataCollectionOptions()];
81  
82 coerce 'RepeatedDataCollectionOptions',
83 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Oracledatabase::V1::VmCluster::DataCollectionOptions'->new($_) } @$_ ] };
84  
85 declare 'MapStringDataCollectionOptions',
86 as HashRef[DataCollectionOptions()];
87  
88 1;
89  
90 __END__