| 1 | package Google::Cloud::Contentwarehouse::V1::DocumentLinkService::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 'ListLinkedTargetsResponse', | ||
| 11 | as InstanceOf['Google::Cloud::Contentwarehouse::V1::DocumentLinkService::ListLinkedTargetsResponse']; | ||
| 12 | |||
| 13 | coerce 'ListLinkedTargetsResponse', | ||
| 14 | from HashRef, via { 'Google::Cloud::Contentwarehouse::V1::DocumentLinkService::ListLinkedTargetsResponse'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedListLinkedTargetsResponse', | ||
| 17 | as ArrayRef[ListLinkedTargetsResponse()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedListLinkedTargetsResponse', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Contentwarehouse::V1::DocumentLinkService::ListLinkedTargetsResponse'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringListLinkedTargetsResponse', | ||
| 23 | as HashRef[ListLinkedTargetsResponse()]; | ||
| 24 | |||
| 25 | declare 'ListLinkedTargetsRequest', | ||
| 26 | as InstanceOf['Google::Cloud::Contentwarehouse::V1::DocumentLinkService::ListLinkedTargetsRequest']; | ||
| 27 | |||
| 28 | coerce 'ListLinkedTargetsRequest', | ||
| 29 | from HashRef, via { 'Google::Cloud::Contentwarehouse::V1::DocumentLinkService::ListLinkedTargetsRequest'->new($_) }; | ||
| 30 | |||
| 31 | declare 'RepeatedListLinkedTargetsRequest', | ||
| 32 | as ArrayRef[ListLinkedTargetsRequest()]; | ||
| 33 | |||
| 34 | coerce 'RepeatedListLinkedTargetsRequest', | ||
| 35 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Contentwarehouse::V1::DocumentLinkService::ListLinkedTargetsRequest'->new($_) } @$_ ] }; | ||
| 36 | |||
| 37 | declare 'MapStringListLinkedTargetsRequest', | ||
| 38 | as HashRef[ListLinkedTargetsRequest()]; | ||
| 39 | |||
| 40 | declare 'ListLinkedSourcesResponse', | ||
| 41 | as InstanceOf['Google::Cloud::Contentwarehouse::V1::DocumentLinkService::ListLinkedSourcesResponse']; | ||
| 42 | |||
| 43 | coerce 'ListLinkedSourcesResponse', | ||
| 44 | from HashRef, via { 'Google::Cloud::Contentwarehouse::V1::DocumentLinkService::ListLinkedSourcesResponse'->new($_) }; | ||
| 45 | |||
| 46 | declare 'RepeatedListLinkedSourcesResponse', | ||
| 47 | as ArrayRef[ListLinkedSourcesResponse()]; | ||
| 48 | |||
| 49 | coerce 'RepeatedListLinkedSourcesResponse', | ||
| 50 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Contentwarehouse::V1::DocumentLinkService::ListLinkedSourcesResponse'->new($_) } @$_ ] }; | ||
| 51 | |||
| 52 | declare 'MapStringListLinkedSourcesResponse', | ||
| 53 | as HashRef[ListLinkedSourcesResponse()]; | ||
| 54 | |||
| 55 | declare 'ListLinkedSourcesRequest', | ||
| 56 | as InstanceOf['Google::Cloud::Contentwarehouse::V1::DocumentLinkService::ListLinkedSourcesRequest']; | ||
| 57 | |||
| 58 | coerce 'ListLinkedSourcesRequest', | ||
| 59 | from HashRef, via { 'Google::Cloud::Contentwarehouse::V1::DocumentLinkService::ListLinkedSourcesRequest'->new($_) }; | ||
| 60 | |||
| 61 | declare 'RepeatedListLinkedSourcesRequest', | ||
| 62 | as ArrayRef[ListLinkedSourcesRequest()]; | ||
| 63 | |||
| 64 | coerce 'RepeatedListLinkedSourcesRequest', | ||
| 65 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Contentwarehouse::V1::DocumentLinkService::ListLinkedSourcesRequest'->new($_) } @$_ ] }; | ||
| 66 | |||
| 67 | declare 'MapStringListLinkedSourcesRequest', | ||
| 68 | as HashRef[ListLinkedSourcesRequest()]; | ||
| 69 | |||
| 70 | declare 'DocumentLink', | ||
| 71 | as InstanceOf['Google::Cloud::Contentwarehouse::V1::DocumentLinkService::DocumentLink']; | ||
| 72 | |||
| 73 | coerce 'DocumentLink', | ||
| 74 | from HashRef, via { 'Google::Cloud::Contentwarehouse::V1::DocumentLinkService::DocumentLink'->new($_) }; | ||
| 75 | |||
| 76 | declare 'RepeatedDocumentLink', | ||
| 77 | as ArrayRef[DocumentLink()]; | ||
| 78 | |||
| 79 | coerce 'RepeatedDocumentLink', | ||
| 80 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Contentwarehouse::V1::DocumentLinkService::DocumentLink'->new($_) } @$_ ] }; | ||
| 81 | |||
| 82 | declare 'MapStringDocumentLink', | ||
| 83 | as HashRef[DocumentLink()]; | ||
| 84 | |||
| 85 | declare 'State', | ||
| 86 | as (Int | Str); | ||
| 87 | |||
| 88 | declare 'CreateDocumentLinkRequest', | ||
| 89 | as InstanceOf['Google::Cloud::Contentwarehouse::V1::DocumentLinkService::CreateDocumentLinkRequest']; | ||
| 90 | |||
| 91 | coerce 'CreateDocumentLinkRequest', | ||
| 92 | from HashRef, via { 'Google::Cloud::Contentwarehouse::V1::DocumentLinkService::CreateDocumentLinkRequest'->new($_) }; | ||
| 93 | |||
| 94 | declare 'RepeatedCreateDocumentLinkRequest', | ||
| 95 | as ArrayRef[CreateDocumentLinkRequest()]; | ||
| 96 | |||
| 97 | coerce 'RepeatedCreateDocumentLinkRequest', | ||
| 98 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Contentwarehouse::V1::DocumentLinkService::CreateDocumentLinkRequest'->new($_) } @$_ ] }; | ||
| 99 | |||
| 100 | declare 'MapStringCreateDocumentLinkRequest', | ||
| 101 | as HashRef[CreateDocumentLinkRequest()]; | ||
| 102 | |||
| 103 | declare 'DeleteDocumentLinkRequest', | ||
| 104 | as InstanceOf['Google::Cloud::Contentwarehouse::V1::DocumentLinkService::DeleteDocumentLinkRequest']; | ||
| 105 | |||
| 106 | coerce 'DeleteDocumentLinkRequest', | ||
| 107 | from HashRef, via { 'Google::Cloud::Contentwarehouse::V1::DocumentLinkService::DeleteDocumentLinkRequest'->new($_) }; | ||
| 108 | |||
| 109 | declare 'RepeatedDeleteDocumentLinkRequest', | ||
| 110 | as ArrayRef[DeleteDocumentLinkRequest()]; | ||
| 111 | |||
| 112 | coerce 'RepeatedDeleteDocumentLinkRequest', | ||
| 113 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Contentwarehouse::V1::DocumentLinkService::DeleteDocumentLinkRequest'->new($_) } @$_ ] }; | ||
| 114 | |||
| 115 | declare 'MapStringDeleteDocumentLinkRequest', | ||
| 116 | as HashRef[DeleteDocumentLinkRequest()]; | ||
| 117 | |||
| 118 | 1; | ||
| 119 | |||
| 120 | __END__ |