| 1 | package Google::Cloud::Oracledatabase::V1::GoldengateDeploymentType::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 'GoldengateDeploymentType', | ||
| 11 | as InstanceOf['Google::Cloud::Oracledatabase::V1::GoldengateDeploymentType::GoldengateDeploymentType']; | ||
| 12 | |||
| 13 | coerce 'GoldengateDeploymentType', | ||
| 14 | from HashRef, via { 'Google::Cloud::Oracledatabase::V1::GoldengateDeploymentType::GoldengateDeploymentType'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedGoldengateDeploymentType', | ||
| 17 | as ArrayRef[GoldengateDeploymentType()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedGoldengateDeploymentType', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Oracledatabase::V1::GoldengateDeploymentType::GoldengateDeploymentType'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringGoldengateDeploymentType', | ||
| 23 | as HashRef[GoldengateDeploymentType()]; | ||
| 24 | |||
| 25 | declare 'DeploymentType', | ||
| 26 | as (Int | Str); | ||
| 27 | |||
| 28 | declare 'DeploymentCategory', | ||
| 29 | as (Int | Str); | ||
| 30 | |||
| 31 | declare 'ListGoldengateDeploymentTypesRequest', | ||
| 32 | as InstanceOf['Google::Cloud::Oracledatabase::V1::GoldengateDeploymentType::ListGoldengateDeploymentTypesRequest']; | ||
| 33 | |||
| 34 | coerce 'ListGoldengateDeploymentTypesRequest', | ||
| 35 | from HashRef, via { 'Google::Cloud::Oracledatabase::V1::GoldengateDeploymentType::ListGoldengateDeploymentTypesRequest'->new($_) }; | ||
| 36 | |||
| 37 | declare 'RepeatedListGoldengateDeploymentTypesRequest', | ||
| 38 | as ArrayRef[ListGoldengateDeploymentTypesRequest()]; | ||
| 39 | |||
| 40 | coerce 'RepeatedListGoldengateDeploymentTypesRequest', | ||
| 41 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Oracledatabase::V1::GoldengateDeploymentType::ListGoldengateDeploymentTypesRequest'->new($_) } @$_ ] }; | ||
| 42 | |||
| 43 | declare 'MapStringListGoldengateDeploymentTypesRequest', | ||
| 44 | as HashRef[ListGoldengateDeploymentTypesRequest()]; | ||
| 45 | |||
| 46 | declare 'ListGoldengateDeploymentTypesResponse', | ||
| 47 | as InstanceOf['Google::Cloud::Oracledatabase::V1::GoldengateDeploymentType::ListGoldengateDeploymentTypesResponse']; | ||
| 48 | |||
| 49 | coerce 'ListGoldengateDeploymentTypesResponse', | ||
| 50 | from HashRef, via { 'Google::Cloud::Oracledatabase::V1::GoldengateDeploymentType::ListGoldengateDeploymentTypesResponse'->new($_) }; | ||
| 51 | |||
| 52 | declare 'RepeatedListGoldengateDeploymentTypesResponse', | ||
| 53 | as ArrayRef[ListGoldengateDeploymentTypesResponse()]; | ||
| 54 | |||
| 55 | coerce 'RepeatedListGoldengateDeploymentTypesResponse', | ||
| 56 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Oracledatabase::V1::GoldengateDeploymentType::ListGoldengateDeploymentTypesResponse'->new($_) } @$_ ] }; | ||
| 57 | |||
| 58 | declare 'MapStringListGoldengateDeploymentTypesResponse', | ||
| 59 | as HashRef[ListGoldengateDeploymentTypesResponse()]; | ||
| 60 | |||
| 61 | 1; | ||
| 62 | |||
| 63 | __END__ |