| 1 | package Google::Cloud::Oracledatabase::V1::GoldengateConnectionType::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 'GoldengateConnectionType', | ||
| 11 | as InstanceOf['Google::Cloud::Oracledatabase::V1::GoldengateConnectionType::GoldengateConnectionType']; | ||
| 12 | |||
| 13 | coerce 'GoldengateConnectionType', | ||
| 14 | from HashRef, via { 'Google::Cloud::Oracledatabase::V1::GoldengateConnectionType::GoldengateConnectionType'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedGoldengateConnectionType', | ||
| 17 | as ArrayRef[GoldengateConnectionType()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedGoldengateConnectionType', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Oracledatabase::V1::GoldengateConnectionType::GoldengateConnectionType'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringGoldengateConnectionType', | ||
| 23 | as HashRef[GoldengateConnectionType()]; | ||
| 24 | |||
| 25 | declare 'ConnectionType', | ||
| 26 | as (Int | Str); | ||
| 27 | |||
| 28 | declare 'ListGoldengateConnectionTypesRequest', | ||
| 29 | as InstanceOf['Google::Cloud::Oracledatabase::V1::GoldengateConnectionType::ListGoldengateConnectionTypesRequest']; | ||
| 30 | |||
| 31 | coerce 'ListGoldengateConnectionTypesRequest', | ||
| 32 | from HashRef, via { 'Google::Cloud::Oracledatabase::V1::GoldengateConnectionType::ListGoldengateConnectionTypesRequest'->new($_) }; | ||
| 33 | |||
| 34 | declare 'RepeatedListGoldengateConnectionTypesRequest', | ||
| 35 | as ArrayRef[ListGoldengateConnectionTypesRequest()]; | ||
| 36 | |||
| 37 | coerce 'RepeatedListGoldengateConnectionTypesRequest', | ||
| 38 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Oracledatabase::V1::GoldengateConnectionType::ListGoldengateConnectionTypesRequest'->new($_) } @$_ ] }; | ||
| 39 | |||
| 40 | declare 'MapStringListGoldengateConnectionTypesRequest', | ||
| 41 | as HashRef[ListGoldengateConnectionTypesRequest()]; | ||
| 42 | |||
| 43 | declare 'ListGoldengateConnectionTypesResponse', | ||
| 44 | as InstanceOf['Google::Cloud::Oracledatabase::V1::GoldengateConnectionType::ListGoldengateConnectionTypesResponse']; | ||
| 45 | |||
| 46 | coerce 'ListGoldengateConnectionTypesResponse', | ||
| 47 | from HashRef, via { 'Google::Cloud::Oracledatabase::V1::GoldengateConnectionType::ListGoldengateConnectionTypesResponse'->new($_) }; | ||
| 48 | |||
| 49 | declare 'RepeatedListGoldengateConnectionTypesResponse', | ||
| 50 | as ArrayRef[ListGoldengateConnectionTypesResponse()]; | ||
| 51 | |||
| 52 | coerce 'RepeatedListGoldengateConnectionTypesResponse', | ||
| 53 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Oracledatabase::V1::GoldengateConnectionType::ListGoldengateConnectionTypesResponse'->new($_) } @$_ ] }; | ||
| 54 | |||
| 55 | declare 'MapStringListGoldengateConnectionTypesResponse', | ||
| 56 | as HashRef[ListGoldengateConnectionTypesResponse()]; | ||
| 57 | |||
| 58 | 1; | ||
| 59 | |||
| 60 | __END__ |