| 1 | package Google::Cloud::Geminidataanalytics::V1beta::Conversation::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 'Conversation', | ||
| 11 | as InstanceOf['Google::Cloud::Geminidataanalytics::V1beta::Conversation::Conversation']; | ||
| 12 | |||
| 13 | coerce 'Conversation', | ||
| 14 | from HashRef, via { 'Google::Cloud::Geminidataanalytics::V1beta::Conversation::Conversation'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedConversation', | ||
| 17 | as ArrayRef[Conversation()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedConversation', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Geminidataanalytics::V1beta::Conversation::Conversation'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringConversation', | ||
| 23 | as HashRef[Conversation()]; | ||
| 24 | |||
| 25 | declare 'LabelsEntry', | ||
| 26 | as InstanceOf['Google::Cloud::Geminidataanalytics::V1beta::Conversation::Conversation::LabelsEntry']; | ||
| 27 | |||
| 28 | coerce 'LabelsEntry', | ||
| 29 | from HashRef, via { 'Google::Cloud::Geminidataanalytics::V1beta::Conversation::Conversation::LabelsEntry'->new($_) }; | ||
| 30 | |||
| 31 | declare 'RepeatedLabelsEntry', | ||
| 32 | as ArrayRef[LabelsEntry()]; | ||
| 33 | |||
| 34 | coerce 'RepeatedLabelsEntry', | ||
| 35 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Geminidataanalytics::V1beta::Conversation::Conversation::LabelsEntry'->new($_) } @$_ ] }; | ||
| 36 | |||
| 37 | declare 'MapStringLabelsEntry', | ||
| 38 | as HashRef[LabelsEntry()]; | ||
| 39 | |||
| 40 | declare 'CreateConversationRequest', | ||
| 41 | as InstanceOf['Google::Cloud::Geminidataanalytics::V1beta::Conversation::CreateConversationRequest']; | ||
| 42 | |||
| 43 | coerce 'CreateConversationRequest', | ||
| 44 | from HashRef, via { 'Google::Cloud::Geminidataanalytics::V1beta::Conversation::CreateConversationRequest'->new($_) }; | ||
| 45 | |||
| 46 | declare 'RepeatedCreateConversationRequest', | ||
| 47 | as ArrayRef[CreateConversationRequest()]; | ||
| 48 | |||
| 49 | coerce 'RepeatedCreateConversationRequest', | ||
| 50 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Geminidataanalytics::V1beta::Conversation::CreateConversationRequest'->new($_) } @$_ ] }; | ||
| 51 | |||
| 52 | declare 'MapStringCreateConversationRequest', | ||
| 53 | as HashRef[CreateConversationRequest()]; | ||
| 54 | |||
| 55 | declare 'UpdateConversationRequest', | ||
| 56 | as InstanceOf['Google::Cloud::Geminidataanalytics::V1beta::Conversation::UpdateConversationRequest']; | ||
| 57 | |||
| 58 | coerce 'UpdateConversationRequest', | ||
| 59 | from HashRef, via { 'Google::Cloud::Geminidataanalytics::V1beta::Conversation::UpdateConversationRequest'->new($_) }; | ||
| 60 | |||
| 61 | declare 'RepeatedUpdateConversationRequest', | ||
| 62 | as ArrayRef[UpdateConversationRequest()]; | ||
| 63 | |||
| 64 | coerce 'RepeatedUpdateConversationRequest', | ||
| 65 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Geminidataanalytics::V1beta::Conversation::UpdateConversationRequest'->new($_) } @$_ ] }; | ||
| 66 | |||
| 67 | declare 'MapStringUpdateConversationRequest', | ||
| 68 | as HashRef[UpdateConversationRequest()]; | ||
| 69 | |||
| 70 | declare 'GetConversationRequest', | ||
| 71 | as InstanceOf['Google::Cloud::Geminidataanalytics::V1beta::Conversation::GetConversationRequest']; | ||
| 72 | |||
| 73 | coerce 'GetConversationRequest', | ||
| 74 | from HashRef, via { 'Google::Cloud::Geminidataanalytics::V1beta::Conversation::GetConversationRequest'->new($_) }; | ||
| 75 | |||
| 76 | declare 'RepeatedGetConversationRequest', | ||
| 77 | as ArrayRef[GetConversationRequest()]; | ||
| 78 | |||
| 79 | coerce 'RepeatedGetConversationRequest', | ||
| 80 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Geminidataanalytics::V1beta::Conversation::GetConversationRequest'->new($_) } @$_ ] }; | ||
| 81 | |||
| 82 | declare 'MapStringGetConversationRequest', | ||
| 83 | as HashRef[GetConversationRequest()]; | ||
| 84 | |||
| 85 | declare 'ListConversationsRequest', | ||
| 86 | as InstanceOf['Google::Cloud::Geminidataanalytics::V1beta::Conversation::ListConversationsRequest']; | ||
| 87 | |||
| 88 | coerce 'ListConversationsRequest', | ||
| 89 | from HashRef, via { 'Google::Cloud::Geminidataanalytics::V1beta::Conversation::ListConversationsRequest'->new($_) }; | ||
| 90 | |||
| 91 | declare 'RepeatedListConversationsRequest', | ||
| 92 | as ArrayRef[ListConversationsRequest()]; | ||
| 93 | |||
| 94 | coerce 'RepeatedListConversationsRequest', | ||
| 95 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Geminidataanalytics::V1beta::Conversation::ListConversationsRequest'->new($_) } @$_ ] }; | ||
| 96 | |||
| 97 | declare 'MapStringListConversationsRequest', | ||
| 98 | as HashRef[ListConversationsRequest()]; | ||
| 99 | |||
| 100 | declare 'ListConversationsResponse', | ||
| 101 | as InstanceOf['Google::Cloud::Geminidataanalytics::V1beta::Conversation::ListConversationsResponse']; | ||
| 102 | |||
| 103 | coerce 'ListConversationsResponse', | ||
| 104 | from HashRef, via { 'Google::Cloud::Geminidataanalytics::V1beta::Conversation::ListConversationsResponse'->new($_) }; | ||
| 105 | |||
| 106 | declare 'RepeatedListConversationsResponse', | ||
| 107 | as ArrayRef[ListConversationsResponse()]; | ||
| 108 | |||
| 109 | coerce 'RepeatedListConversationsResponse', | ||
| 110 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Geminidataanalytics::V1beta::Conversation::ListConversationsResponse'->new($_) } @$_ ] }; | ||
| 111 | |||
| 112 | declare 'MapStringListConversationsResponse', | ||
| 113 | as HashRef[ListConversationsResponse()]; | ||
| 114 | |||
| 115 | declare 'DeleteConversationRequest', | ||
| 116 | as InstanceOf['Google::Cloud::Geminidataanalytics::V1beta::Conversation::DeleteConversationRequest']; | ||
| 117 | |||
| 118 | coerce 'DeleteConversationRequest', | ||
| 119 | from HashRef, via { 'Google::Cloud::Geminidataanalytics::V1beta::Conversation::DeleteConversationRequest'->new($_) }; | ||
| 120 | |||
| 121 | declare 'RepeatedDeleteConversationRequest', | ||
| 122 | as ArrayRef[DeleteConversationRequest()]; | ||
| 123 | |||
| 124 | coerce 'RepeatedDeleteConversationRequest', | ||
| 125 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Geminidataanalytics::V1beta::Conversation::DeleteConversationRequest'->new($_) } @$_ ] }; | ||
| 126 | |||
| 127 | declare 'MapStringDeleteConversationRequest', | ||
| 128 | as HashRef[DeleteConversationRequest()]; | ||
| 129 | |||
| 130 | 1; | ||
| 131 | |||
| 132 | __END__ |