| 1 | package Google::Cloud::Support::V2::SupportEventSubscriptionService::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 'CreateSupportEventSubscriptionRequest', | ||
| 11 | as InstanceOf['Google::Cloud::Support::V2::SupportEventSubscriptionService::CreateSupportEventSubscriptionRequest']; | ||
| 12 | |||
| 13 | coerce 'CreateSupportEventSubscriptionRequest', | ||
| 14 | from HashRef, via { 'Google::Cloud::Support::V2::SupportEventSubscriptionService::CreateSupportEventSubscriptionRequest'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedCreateSupportEventSubscriptionRequest', | ||
| 17 | as ArrayRef[CreateSupportEventSubscriptionRequest()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedCreateSupportEventSubscriptionRequest', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Support::V2::SupportEventSubscriptionService::CreateSupportEventSubscriptionRequest'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringCreateSupportEventSubscriptionRequest', | ||
| 23 | as HashRef[CreateSupportEventSubscriptionRequest()]; | ||
| 24 | |||
| 25 | declare 'GetSupportEventSubscriptionRequest', | ||
| 26 | as InstanceOf['Google::Cloud::Support::V2::SupportEventSubscriptionService::GetSupportEventSubscriptionRequest']; | ||
| 27 | |||
| 28 | coerce 'GetSupportEventSubscriptionRequest', | ||
| 29 | from HashRef, via { 'Google::Cloud::Support::V2::SupportEventSubscriptionService::GetSupportEventSubscriptionRequest'->new($_) }; | ||
| 30 | |||
| 31 | declare 'RepeatedGetSupportEventSubscriptionRequest', | ||
| 32 | as ArrayRef[GetSupportEventSubscriptionRequest()]; | ||
| 33 | |||
| 34 | coerce 'RepeatedGetSupportEventSubscriptionRequest', | ||
| 35 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Support::V2::SupportEventSubscriptionService::GetSupportEventSubscriptionRequest'->new($_) } @$_ ] }; | ||
| 36 | |||
| 37 | declare 'MapStringGetSupportEventSubscriptionRequest', | ||
| 38 | as HashRef[GetSupportEventSubscriptionRequest()]; | ||
| 39 | |||
| 40 | declare 'ListSupportEventSubscriptionsRequest', | ||
| 41 | as InstanceOf['Google::Cloud::Support::V2::SupportEventSubscriptionService::ListSupportEventSubscriptionsRequest']; | ||
| 42 | |||
| 43 | coerce 'ListSupportEventSubscriptionsRequest', | ||
| 44 | from HashRef, via { 'Google::Cloud::Support::V2::SupportEventSubscriptionService::ListSupportEventSubscriptionsRequest'->new($_) }; | ||
| 45 | |||
| 46 | declare 'RepeatedListSupportEventSubscriptionsRequest', | ||
| 47 | as ArrayRef[ListSupportEventSubscriptionsRequest()]; | ||
| 48 | |||
| 49 | coerce 'RepeatedListSupportEventSubscriptionsRequest', | ||
| 50 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Support::V2::SupportEventSubscriptionService::ListSupportEventSubscriptionsRequest'->new($_) } @$_ ] }; | ||
| 51 | |||
| 52 | declare 'MapStringListSupportEventSubscriptionsRequest', | ||
| 53 | as HashRef[ListSupportEventSubscriptionsRequest()]; | ||
| 54 | |||
| 55 | declare 'ListSupportEventSubscriptionsResponse', | ||
| 56 | as InstanceOf['Google::Cloud::Support::V2::SupportEventSubscriptionService::ListSupportEventSubscriptionsResponse']; | ||
| 57 | |||
| 58 | coerce 'ListSupportEventSubscriptionsResponse', | ||
| 59 | from HashRef, via { 'Google::Cloud::Support::V2::SupportEventSubscriptionService::ListSupportEventSubscriptionsResponse'->new($_) }; | ||
| 60 | |||
| 61 | declare 'RepeatedListSupportEventSubscriptionsResponse', | ||
| 62 | as ArrayRef[ListSupportEventSubscriptionsResponse()]; | ||
| 63 | |||
| 64 | coerce 'RepeatedListSupportEventSubscriptionsResponse', | ||
| 65 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Support::V2::SupportEventSubscriptionService::ListSupportEventSubscriptionsResponse'->new($_) } @$_ ] }; | ||
| 66 | |||
| 67 | declare 'MapStringListSupportEventSubscriptionsResponse', | ||
| 68 | as HashRef[ListSupportEventSubscriptionsResponse()]; | ||
| 69 | |||
| 70 | declare 'UpdateSupportEventSubscriptionRequest', | ||
| 71 | as InstanceOf['Google::Cloud::Support::V2::SupportEventSubscriptionService::UpdateSupportEventSubscriptionRequest']; | ||
| 72 | |||
| 73 | coerce 'UpdateSupportEventSubscriptionRequest', | ||
| 74 | from HashRef, via { 'Google::Cloud::Support::V2::SupportEventSubscriptionService::UpdateSupportEventSubscriptionRequest'->new($_) }; | ||
| 75 | |||
| 76 | declare 'RepeatedUpdateSupportEventSubscriptionRequest', | ||
| 77 | as ArrayRef[UpdateSupportEventSubscriptionRequest()]; | ||
| 78 | |||
| 79 | coerce 'RepeatedUpdateSupportEventSubscriptionRequest', | ||
| 80 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Support::V2::SupportEventSubscriptionService::UpdateSupportEventSubscriptionRequest'->new($_) } @$_ ] }; | ||
| 81 | |||
| 82 | declare 'MapStringUpdateSupportEventSubscriptionRequest', | ||
| 83 | as HashRef[UpdateSupportEventSubscriptionRequest()]; | ||
| 84 | |||
| 85 | declare 'DeleteSupportEventSubscriptionRequest', | ||
| 86 | as InstanceOf['Google::Cloud::Support::V2::SupportEventSubscriptionService::DeleteSupportEventSubscriptionRequest']; | ||
| 87 | |||
| 88 | coerce 'DeleteSupportEventSubscriptionRequest', | ||
| 89 | from HashRef, via { 'Google::Cloud::Support::V2::SupportEventSubscriptionService::DeleteSupportEventSubscriptionRequest'->new($_) }; | ||
| 90 | |||
| 91 | declare 'RepeatedDeleteSupportEventSubscriptionRequest', | ||
| 92 | as ArrayRef[DeleteSupportEventSubscriptionRequest()]; | ||
| 93 | |||
| 94 | coerce 'RepeatedDeleteSupportEventSubscriptionRequest', | ||
| 95 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Support::V2::SupportEventSubscriptionService::DeleteSupportEventSubscriptionRequest'->new($_) } @$_ ] }; | ||
| 96 | |||
| 97 | declare 'MapStringDeleteSupportEventSubscriptionRequest', | ||
| 98 | as HashRef[DeleteSupportEventSubscriptionRequest()]; | ||
| 99 | |||
| 100 | declare 'UndeleteSupportEventSubscriptionRequest', | ||
| 101 | as InstanceOf['Google::Cloud::Support::V2::SupportEventSubscriptionService::UndeleteSupportEventSubscriptionRequest']; | ||
| 102 | |||
| 103 | coerce 'UndeleteSupportEventSubscriptionRequest', | ||
| 104 | from HashRef, via { 'Google::Cloud::Support::V2::SupportEventSubscriptionService::UndeleteSupportEventSubscriptionRequest'->new($_) }; | ||
| 105 | |||
| 106 | declare 'RepeatedUndeleteSupportEventSubscriptionRequest', | ||
| 107 | as ArrayRef[UndeleteSupportEventSubscriptionRequest()]; | ||
| 108 | |||
| 109 | coerce 'RepeatedUndeleteSupportEventSubscriptionRequest', | ||
| 110 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Support::V2::SupportEventSubscriptionService::UndeleteSupportEventSubscriptionRequest'->new($_) } @$_ ] }; | ||
| 111 | |||
| 112 | declare 'MapStringUndeleteSupportEventSubscriptionRequest', | ||
| 113 | as HashRef[UndeleteSupportEventSubscriptionRequest()]; | ||
| 114 | |||
| 115 | declare 'ExpungeSupportEventSubscriptionRequest', | ||
| 116 | as InstanceOf['Google::Cloud::Support::V2::SupportEventSubscriptionService::ExpungeSupportEventSubscriptionRequest']; | ||
| 117 | |||
| 118 | coerce 'ExpungeSupportEventSubscriptionRequest', | ||
| 119 | from HashRef, via { 'Google::Cloud::Support::V2::SupportEventSubscriptionService::ExpungeSupportEventSubscriptionRequest'->new($_) }; | ||
| 120 | |||
| 121 | declare 'RepeatedExpungeSupportEventSubscriptionRequest', | ||
| 122 | as ArrayRef[ExpungeSupportEventSubscriptionRequest()]; | ||
| 123 | |||
| 124 | coerce 'RepeatedExpungeSupportEventSubscriptionRequest', | ||
| 125 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Support::V2::SupportEventSubscriptionService::ExpungeSupportEventSubscriptionRequest'->new($_) } @$_ ] }; | ||
| 126 | |||
| 127 | declare 'MapStringExpungeSupportEventSubscriptionRequest', | ||
| 128 | as HashRef[ExpungeSupportEventSubscriptionRequest()]; | ||
| 129 | |||
| 130 | 1; | ||
| 131 | |||
| 132 | __END__ |