| 1 | package Google::Cloud::Backupdr::V1beta::Appliedautoprotectionpolicy::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 'AppliedAutoProtectionPolicy', | ||
| 11 | as InstanceOf['Google::Cloud::Backupdr::V1beta::Appliedautoprotectionpolicy::AppliedAutoProtectionPolicy']; | ||
| 12 | |||
| 13 | coerce 'AppliedAutoProtectionPolicy', | ||
| 14 | from HashRef, via { 'Google::Cloud::Backupdr::V1beta::Appliedautoprotectionpolicy::AppliedAutoProtectionPolicy'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedAppliedAutoProtectionPolicy', | ||
| 17 | as ArrayRef[AppliedAutoProtectionPolicy()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedAppliedAutoProtectionPolicy', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::Appliedautoprotectionpolicy::AppliedAutoProtectionPolicy'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringAppliedAutoProtectionPolicy', | ||
| 23 | as HashRef[AppliedAutoProtectionPolicy()]; | ||
| 24 | |||
| 25 | declare 'State', | ||
| 26 | as (Int | Str); | ||
| 27 | |||
| 28 | declare 'ListAppliedAutoProtectionPoliciesRequest', | ||
| 29 | as InstanceOf['Google::Cloud::Backupdr::V1beta::Appliedautoprotectionpolicy::ListAppliedAutoProtectionPoliciesRequest']; | ||
| 30 | |||
| 31 | coerce 'ListAppliedAutoProtectionPoliciesRequest', | ||
| 32 | from HashRef, via { 'Google::Cloud::Backupdr::V1beta::Appliedautoprotectionpolicy::ListAppliedAutoProtectionPoliciesRequest'->new($_) }; | ||
| 33 | |||
| 34 | declare 'RepeatedListAppliedAutoProtectionPoliciesRequest', | ||
| 35 | as ArrayRef[ListAppliedAutoProtectionPoliciesRequest()]; | ||
| 36 | |||
| 37 | coerce 'RepeatedListAppliedAutoProtectionPoliciesRequest', | ||
| 38 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::Appliedautoprotectionpolicy::ListAppliedAutoProtectionPoliciesRequest'->new($_) } @$_ ] }; | ||
| 39 | |||
| 40 | declare 'MapStringListAppliedAutoProtectionPoliciesRequest', | ||
| 41 | as HashRef[ListAppliedAutoProtectionPoliciesRequest()]; | ||
| 42 | |||
| 43 | declare 'ListAppliedAutoProtectionPoliciesResponse', | ||
| 44 | as InstanceOf['Google::Cloud::Backupdr::V1beta::Appliedautoprotectionpolicy::ListAppliedAutoProtectionPoliciesResponse']; | ||
| 45 | |||
| 46 | coerce 'ListAppliedAutoProtectionPoliciesResponse', | ||
| 47 | from HashRef, via { 'Google::Cloud::Backupdr::V1beta::Appliedautoprotectionpolicy::ListAppliedAutoProtectionPoliciesResponse'->new($_) }; | ||
| 48 | |||
| 49 | declare 'RepeatedListAppliedAutoProtectionPoliciesResponse', | ||
| 50 | as ArrayRef[ListAppliedAutoProtectionPoliciesResponse()]; | ||
| 51 | |||
| 52 | coerce 'RepeatedListAppliedAutoProtectionPoliciesResponse', | ||
| 53 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1beta::Appliedautoprotectionpolicy::ListAppliedAutoProtectionPoliciesResponse'->new($_) } @$_ ] }; | ||
| 54 | |||
| 55 | declare 'MapStringListAppliedAutoProtectionPoliciesResponse', | ||
| 56 | as HashRef[ListAppliedAutoProtectionPoliciesResponse()]; | ||
| 57 | |||
| 58 | 1; | ||
| 59 | |||
| 60 | __END__ |