| 1 | package Google::Cloud::Talent::V4beta1::TenantService::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 'CreateTenantRequest', | ||
| 11 | as InstanceOf['Google::Cloud::Talent::V4beta1::TenantService::CreateTenantRequest']; | ||
| 12 | |||
| 13 | coerce 'CreateTenantRequest', | ||
| 14 | from HashRef, via { 'Google::Cloud::Talent::V4beta1::TenantService::CreateTenantRequest'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedCreateTenantRequest', | ||
| 17 | as ArrayRef[CreateTenantRequest()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedCreateTenantRequest', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Talent::V4beta1::TenantService::CreateTenantRequest'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringCreateTenantRequest', | ||
| 23 | as HashRef[CreateTenantRequest()]; | ||
| 24 | |||
| 25 | declare 'GetTenantRequest', | ||
| 26 | as InstanceOf['Google::Cloud::Talent::V4beta1::TenantService::GetTenantRequest']; | ||
| 27 | |||
| 28 | coerce 'GetTenantRequest', | ||
| 29 | from HashRef, via { 'Google::Cloud::Talent::V4beta1::TenantService::GetTenantRequest'->new($_) }; | ||
| 30 | |||
| 31 | declare 'RepeatedGetTenantRequest', | ||
| 32 | as ArrayRef[GetTenantRequest()]; | ||
| 33 | |||
| 34 | coerce 'RepeatedGetTenantRequest', | ||
| 35 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Talent::V4beta1::TenantService::GetTenantRequest'->new($_) } @$_ ] }; | ||
| 36 | |||
| 37 | declare 'MapStringGetTenantRequest', | ||
| 38 | as HashRef[GetTenantRequest()]; | ||
| 39 | |||
| 40 | declare 'UpdateTenantRequest', | ||
| 41 | as InstanceOf['Google::Cloud::Talent::V4beta1::TenantService::UpdateTenantRequest']; | ||
| 42 | |||
| 43 | coerce 'UpdateTenantRequest', | ||
| 44 | from HashRef, via { 'Google::Cloud::Talent::V4beta1::TenantService::UpdateTenantRequest'->new($_) }; | ||
| 45 | |||
| 46 | declare 'RepeatedUpdateTenantRequest', | ||
| 47 | as ArrayRef[UpdateTenantRequest()]; | ||
| 48 | |||
| 49 | coerce 'RepeatedUpdateTenantRequest', | ||
| 50 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Talent::V4beta1::TenantService::UpdateTenantRequest'->new($_) } @$_ ] }; | ||
| 51 | |||
| 52 | declare 'MapStringUpdateTenantRequest', | ||
| 53 | as HashRef[UpdateTenantRequest()]; | ||
| 54 | |||
| 55 | declare 'DeleteTenantRequest', | ||
| 56 | as InstanceOf['Google::Cloud::Talent::V4beta1::TenantService::DeleteTenantRequest']; | ||
| 57 | |||
| 58 | coerce 'DeleteTenantRequest', | ||
| 59 | from HashRef, via { 'Google::Cloud::Talent::V4beta1::TenantService::DeleteTenantRequest'->new($_) }; | ||
| 60 | |||
| 61 | declare 'RepeatedDeleteTenantRequest', | ||
| 62 | as ArrayRef[DeleteTenantRequest()]; | ||
| 63 | |||
| 64 | coerce 'RepeatedDeleteTenantRequest', | ||
| 65 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Talent::V4beta1::TenantService::DeleteTenantRequest'->new($_) } @$_ ] }; | ||
| 66 | |||
| 67 | declare 'MapStringDeleteTenantRequest', | ||
| 68 | as HashRef[DeleteTenantRequest()]; | ||
| 69 | |||
| 70 | declare 'ListTenantsRequest', | ||
| 71 | as InstanceOf['Google::Cloud::Talent::V4beta1::TenantService::ListTenantsRequest']; | ||
| 72 | |||
| 73 | coerce 'ListTenantsRequest', | ||
| 74 | from HashRef, via { 'Google::Cloud::Talent::V4beta1::TenantService::ListTenantsRequest'->new($_) }; | ||
| 75 | |||
| 76 | declare 'RepeatedListTenantsRequest', | ||
| 77 | as ArrayRef[ListTenantsRequest()]; | ||
| 78 | |||
| 79 | coerce 'RepeatedListTenantsRequest', | ||
| 80 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Talent::V4beta1::TenantService::ListTenantsRequest'->new($_) } @$_ ] }; | ||
| 81 | |||
| 82 | declare 'MapStringListTenantsRequest', | ||
| 83 | as HashRef[ListTenantsRequest()]; | ||
| 84 | |||
| 85 | declare 'ListTenantsResponse', | ||
| 86 | as InstanceOf['Google::Cloud::Talent::V4beta1::TenantService::ListTenantsResponse']; | ||
| 87 | |||
| 88 | coerce 'ListTenantsResponse', | ||
| 89 | from HashRef, via { 'Google::Cloud::Talent::V4beta1::TenantService::ListTenantsResponse'->new($_) }; | ||
| 90 | |||
| 91 | declare 'RepeatedListTenantsResponse', | ||
| 92 | as ArrayRef[ListTenantsResponse()]; | ||
| 93 | |||
| 94 | coerce 'RepeatedListTenantsResponse', | ||
| 95 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Talent::V4beta1::TenantService::ListTenantsResponse'->new($_) } @$_ ] }; | ||
| 96 | |||
| 97 | declare 'MapStringListTenantsResponse', | ||
| 98 | as HashRef[ListTenantsResponse()]; | ||
| 99 | |||
| 100 | 1; | ||
| 101 | |||
| 102 | __END__ |