| 1 | package Google::Cloud::Backupdr::V1::Bindingmatchingresource::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 'ListBindingMatchingResourcesRequest', | ||
| 11 | as InstanceOf['Google::Cloud::Backupdr::V1::Bindingmatchingresource::ListBindingMatchingResourcesRequest']; | ||
| 12 | |||
| 13 | coerce 'ListBindingMatchingResourcesRequest', | ||
| 14 | from HashRef, via { 'Google::Cloud::Backupdr::V1::Bindingmatchingresource::ListBindingMatchingResourcesRequest'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedListBindingMatchingResourcesRequest', | ||
| 17 | as ArrayRef[ListBindingMatchingResourcesRequest()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedListBindingMatchingResourcesRequest', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::Bindingmatchingresource::ListBindingMatchingResourcesRequest'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringListBindingMatchingResourcesRequest', | ||
| 23 | as HashRef[ListBindingMatchingResourcesRequest()]; | ||
| 24 | |||
| 25 | declare 'ListBindingMatchingResourcesResponse', | ||
| 26 | as InstanceOf['Google::Cloud::Backupdr::V1::Bindingmatchingresource::ListBindingMatchingResourcesResponse']; | ||
| 27 | |||
| 28 | coerce 'ListBindingMatchingResourcesResponse', | ||
| 29 | from HashRef, via { 'Google::Cloud::Backupdr::V1::Bindingmatchingresource::ListBindingMatchingResourcesResponse'->new($_) }; | ||
| 30 | |||
| 31 | declare 'RepeatedListBindingMatchingResourcesResponse', | ||
| 32 | as ArrayRef[ListBindingMatchingResourcesResponse()]; | ||
| 33 | |||
| 34 | coerce 'RepeatedListBindingMatchingResourcesResponse', | ||
| 35 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::Bindingmatchingresource::ListBindingMatchingResourcesResponse'->new($_) } @$_ ] }; | ||
| 36 | |||
| 37 | declare 'MapStringListBindingMatchingResourcesResponse', | ||
| 38 | as HashRef[ListBindingMatchingResourcesResponse()]; | ||
| 39 | |||
| 40 | declare 'BindingMatchingResource', | ||
| 41 | as InstanceOf['Google::Cloud::Backupdr::V1::Bindingmatchingresource::BindingMatchingResource']; | ||
| 42 | |||
| 43 | coerce 'BindingMatchingResource', | ||
| 44 | from HashRef, via { 'Google::Cloud::Backupdr::V1::Bindingmatchingresource::BindingMatchingResource'->new($_) }; | ||
| 45 | |||
| 46 | declare 'RepeatedBindingMatchingResource', | ||
| 47 | as ArrayRef[BindingMatchingResource()]; | ||
| 48 | |||
| 49 | coerce 'RepeatedBindingMatchingResource', | ||
| 50 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::Bindingmatchingresource::BindingMatchingResource'->new($_) } @$_ ] }; | ||
| 51 | |||
| 52 | declare 'MapStringBindingMatchingResource', | ||
| 53 | as HashRef[BindingMatchingResource()]; | ||
| 54 | |||
| 55 | declare 'AutoProtectionDetails', | ||
| 56 | as InstanceOf['Google::Cloud::Backupdr::V1::Bindingmatchingresource::AutoProtectionDetails']; | ||
| 57 | |||
| 58 | coerce 'AutoProtectionDetails', | ||
| 59 | from HashRef, via { 'Google::Cloud::Backupdr::V1::Bindingmatchingresource::AutoProtectionDetails'->new($_) }; | ||
| 60 | |||
| 61 | declare 'RepeatedAutoProtectionDetails', | ||
| 62 | as ArrayRef[AutoProtectionDetails()]; | ||
| 63 | |||
| 64 | coerce 'RepeatedAutoProtectionDetails', | ||
| 65 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Backupdr::V1::Bindingmatchingresource::AutoProtectionDetails'->new($_) } @$_ ] }; | ||
| 66 | |||
| 67 | declare 'MapStringAutoProtectionDetails', | ||
| 68 | as HashRef[AutoProtectionDetails()]; | ||
| 69 | |||
| 70 | declare 'State', | ||
| 71 | as (Int | Str); | ||
| 72 | |||
| 73 | 1; | ||
| 74 | |||
| 75 | __END__ |