| 1 | package Google::Cloud::Support::V2beta::CaseService::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 'GetCaseRequest', | ||
| 11 | as InstanceOf['Google::Cloud::Support::V2beta::CaseService::GetCaseRequest']; | ||
| 12 | |||
| 13 | coerce 'GetCaseRequest', | ||
| 14 | from HashRef, via { 'Google::Cloud::Support::V2beta::CaseService::GetCaseRequest'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedGetCaseRequest', | ||
| 17 | as ArrayRef[GetCaseRequest()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedGetCaseRequest', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Support::V2beta::CaseService::GetCaseRequest'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringGetCaseRequest', | ||
| 23 | as HashRef[GetCaseRequest()]; | ||
| 24 | |||
| 25 | declare 'CreateCaseRequest', | ||
| 26 | as InstanceOf['Google::Cloud::Support::V2beta::CaseService::CreateCaseRequest']; | ||
| 27 | |||
| 28 | coerce 'CreateCaseRequest', | ||
| 29 | from HashRef, via { 'Google::Cloud::Support::V2beta::CaseService::CreateCaseRequest'->new($_) }; | ||
| 30 | |||
| 31 | declare 'RepeatedCreateCaseRequest', | ||
| 32 | as ArrayRef[CreateCaseRequest()]; | ||
| 33 | |||
| 34 | coerce 'RepeatedCreateCaseRequest', | ||
| 35 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Support::V2beta::CaseService::CreateCaseRequest'->new($_) } @$_ ] }; | ||
| 36 | |||
| 37 | declare 'MapStringCreateCaseRequest', | ||
| 38 | as HashRef[CreateCaseRequest()]; | ||
| 39 | |||
| 40 | declare 'ListCasesRequest', | ||
| 41 | as InstanceOf['Google::Cloud::Support::V2beta::CaseService::ListCasesRequest']; | ||
| 42 | |||
| 43 | coerce 'ListCasesRequest', | ||
| 44 | from HashRef, via { 'Google::Cloud::Support::V2beta::CaseService::ListCasesRequest'->new($_) }; | ||
| 45 | |||
| 46 | declare 'RepeatedListCasesRequest', | ||
| 47 | as ArrayRef[ListCasesRequest()]; | ||
| 48 | |||
| 49 | coerce 'RepeatedListCasesRequest', | ||
| 50 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Support::V2beta::CaseService::ListCasesRequest'->new($_) } @$_ ] }; | ||
| 51 | |||
| 52 | declare 'MapStringListCasesRequest', | ||
| 53 | as HashRef[ListCasesRequest()]; | ||
| 54 | |||
| 55 | declare 'ListCasesResponse', | ||
| 56 | as InstanceOf['Google::Cloud::Support::V2beta::CaseService::ListCasesResponse']; | ||
| 57 | |||
| 58 | coerce 'ListCasesResponse', | ||
| 59 | from HashRef, via { 'Google::Cloud::Support::V2beta::CaseService::ListCasesResponse'->new($_) }; | ||
| 60 | |||
| 61 | declare 'RepeatedListCasesResponse', | ||
| 62 | as ArrayRef[ListCasesResponse()]; | ||
| 63 | |||
| 64 | coerce 'RepeatedListCasesResponse', | ||
| 65 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Support::V2beta::CaseService::ListCasesResponse'->new($_) } @$_ ] }; | ||
| 66 | |||
| 67 | declare 'MapStringListCasesResponse', | ||
| 68 | as HashRef[ListCasesResponse()]; | ||
| 69 | |||
| 70 | declare 'SearchCasesRequest', | ||
| 71 | as InstanceOf['Google::Cloud::Support::V2beta::CaseService::SearchCasesRequest']; | ||
| 72 | |||
| 73 | coerce 'SearchCasesRequest', | ||
| 74 | from HashRef, via { 'Google::Cloud::Support::V2beta::CaseService::SearchCasesRequest'->new($_) }; | ||
| 75 | |||
| 76 | declare 'RepeatedSearchCasesRequest', | ||
| 77 | as ArrayRef[SearchCasesRequest()]; | ||
| 78 | |||
| 79 | coerce 'RepeatedSearchCasesRequest', | ||
| 80 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Support::V2beta::CaseService::SearchCasesRequest'->new($_) } @$_ ] }; | ||
| 81 | |||
| 82 | declare 'MapStringSearchCasesRequest', | ||
| 83 | as HashRef[SearchCasesRequest()]; | ||
| 84 | |||
| 85 | declare 'SearchCasesResponse', | ||
| 86 | as InstanceOf['Google::Cloud::Support::V2beta::CaseService::SearchCasesResponse']; | ||
| 87 | |||
| 88 | coerce 'SearchCasesResponse', | ||
| 89 | from HashRef, via { 'Google::Cloud::Support::V2beta::CaseService::SearchCasesResponse'->new($_) }; | ||
| 90 | |||
| 91 | declare 'RepeatedSearchCasesResponse', | ||
| 92 | as ArrayRef[SearchCasesResponse()]; | ||
| 93 | |||
| 94 | coerce 'RepeatedSearchCasesResponse', | ||
| 95 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Support::V2beta::CaseService::SearchCasesResponse'->new($_) } @$_ ] }; | ||
| 96 | |||
| 97 | declare 'MapStringSearchCasesResponse', | ||
| 98 | as HashRef[SearchCasesResponse()]; | ||
| 99 | |||
| 100 | declare 'EscalateCaseRequest', | ||
| 101 | as InstanceOf['Google::Cloud::Support::V2beta::CaseService::EscalateCaseRequest']; | ||
| 102 | |||
| 103 | coerce 'EscalateCaseRequest', | ||
| 104 | from HashRef, via { 'Google::Cloud::Support::V2beta::CaseService::EscalateCaseRequest'->new($_) }; | ||
| 105 | |||
| 106 | declare 'RepeatedEscalateCaseRequest', | ||
| 107 | as ArrayRef[EscalateCaseRequest()]; | ||
| 108 | |||
| 109 | coerce 'RepeatedEscalateCaseRequest', | ||
| 110 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Support::V2beta::CaseService::EscalateCaseRequest'->new($_) } @$_ ] }; | ||
| 111 | |||
| 112 | declare 'MapStringEscalateCaseRequest', | ||
| 113 | as HashRef[EscalateCaseRequest()]; | ||
| 114 | |||
| 115 | declare 'UpdateCaseRequest', | ||
| 116 | as InstanceOf['Google::Cloud::Support::V2beta::CaseService::UpdateCaseRequest']; | ||
| 117 | |||
| 118 | coerce 'UpdateCaseRequest', | ||
| 119 | from HashRef, via { 'Google::Cloud::Support::V2beta::CaseService::UpdateCaseRequest'->new($_) }; | ||
| 120 | |||
| 121 | declare 'RepeatedUpdateCaseRequest', | ||
| 122 | as ArrayRef[UpdateCaseRequest()]; | ||
| 123 | |||
| 124 | coerce 'RepeatedUpdateCaseRequest', | ||
| 125 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Support::V2beta::CaseService::UpdateCaseRequest'->new($_) } @$_ ] }; | ||
| 126 | |||
| 127 | declare 'MapStringUpdateCaseRequest', | ||
| 128 | as HashRef[UpdateCaseRequest()]; | ||
| 129 | |||
| 130 | declare 'CloseCaseRequest', | ||
| 131 | as InstanceOf['Google::Cloud::Support::V2beta::CaseService::CloseCaseRequest']; | ||
| 132 | |||
| 133 | coerce 'CloseCaseRequest', | ||
| 134 | from HashRef, via { 'Google::Cloud::Support::V2beta::CaseService::CloseCaseRequest'->new($_) }; | ||
| 135 | |||
| 136 | declare 'RepeatedCloseCaseRequest', | ||
| 137 | as ArrayRef[CloseCaseRequest()]; | ||
| 138 | |||
| 139 | coerce 'RepeatedCloseCaseRequest', | ||
| 140 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Support::V2beta::CaseService::CloseCaseRequest'->new($_) } @$_ ] }; | ||
| 141 | |||
| 142 | declare 'MapStringCloseCaseRequest', | ||
| 143 | as HashRef[CloseCaseRequest()]; | ||
| 144 | |||
| 145 | declare 'SearchCaseClassificationsRequest', | ||
| 146 | as InstanceOf['Google::Cloud::Support::V2beta::CaseService::SearchCaseClassificationsRequest']; | ||
| 147 | |||
| 148 | coerce 'SearchCaseClassificationsRequest', | ||
| 149 | from HashRef, via { 'Google::Cloud::Support::V2beta::CaseService::SearchCaseClassificationsRequest'->new($_) }; | ||
| 150 | |||
| 151 | declare 'RepeatedSearchCaseClassificationsRequest', | ||
| 152 | as ArrayRef[SearchCaseClassificationsRequest()]; | ||
| 153 | |||
| 154 | coerce 'RepeatedSearchCaseClassificationsRequest', | ||
| 155 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Support::V2beta::CaseService::SearchCaseClassificationsRequest'->new($_) } @$_ ] }; | ||
| 156 | |||
| 157 | declare 'MapStringSearchCaseClassificationsRequest', | ||
| 158 | as HashRef[SearchCaseClassificationsRequest()]; | ||
| 159 | |||
| 160 | declare 'SearchCaseClassificationsResponse', | ||
| 161 | as InstanceOf['Google::Cloud::Support::V2beta::CaseService::SearchCaseClassificationsResponse']; | ||
| 162 | |||
| 163 | coerce 'SearchCaseClassificationsResponse', | ||
| 164 | from HashRef, via { 'Google::Cloud::Support::V2beta::CaseService::SearchCaseClassificationsResponse'->new($_) }; | ||
| 165 | |||
| 166 | declare 'RepeatedSearchCaseClassificationsResponse', | ||
| 167 | as ArrayRef[SearchCaseClassificationsResponse()]; | ||
| 168 | |||
| 169 | coerce 'RepeatedSearchCaseClassificationsResponse', | ||
| 170 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Support::V2beta::CaseService::SearchCaseClassificationsResponse'->new($_) } @$_ ] }; | ||
| 171 | |||
| 172 | declare 'MapStringSearchCaseClassificationsResponse', | ||
| 173 | as HashRef[SearchCaseClassificationsResponse()]; | ||
| 174 | |||
| 175 | 1; | ||
| 176 | |||
| 177 | __END__ |