| 1 | package Google::Cloud::Apihub::V1::LintingService::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 'GetStyleGuideRequest', | ||
| 11 | as InstanceOf['Google::Cloud::Apihub::V1::LintingService::GetStyleGuideRequest']; | ||
| 12 | |||
| 13 | coerce 'GetStyleGuideRequest', | ||
| 14 | from HashRef, via { 'Google::Cloud::Apihub::V1::LintingService::GetStyleGuideRequest'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedGetStyleGuideRequest', | ||
| 17 | as ArrayRef[GetStyleGuideRequest()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedGetStyleGuideRequest', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::LintingService::GetStyleGuideRequest'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringGetStyleGuideRequest', | ||
| 23 | as HashRef[GetStyleGuideRequest()]; | ||
| 24 | |||
| 25 | declare 'UpdateStyleGuideRequest', | ||
| 26 | as InstanceOf['Google::Cloud::Apihub::V1::LintingService::UpdateStyleGuideRequest']; | ||
| 27 | |||
| 28 | coerce 'UpdateStyleGuideRequest', | ||
| 29 | from HashRef, via { 'Google::Cloud::Apihub::V1::LintingService::UpdateStyleGuideRequest'->new($_) }; | ||
| 30 | |||
| 31 | declare 'RepeatedUpdateStyleGuideRequest', | ||
| 32 | as ArrayRef[UpdateStyleGuideRequest()]; | ||
| 33 | |||
| 34 | coerce 'RepeatedUpdateStyleGuideRequest', | ||
| 35 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::LintingService::UpdateStyleGuideRequest'->new($_) } @$_ ] }; | ||
| 36 | |||
| 37 | declare 'MapStringUpdateStyleGuideRequest', | ||
| 38 | as HashRef[UpdateStyleGuideRequest()]; | ||
| 39 | |||
| 40 | declare 'GetStyleGuideContentsRequest', | ||
| 41 | as InstanceOf['Google::Cloud::Apihub::V1::LintingService::GetStyleGuideContentsRequest']; | ||
| 42 | |||
| 43 | coerce 'GetStyleGuideContentsRequest', | ||
| 44 | from HashRef, via { 'Google::Cloud::Apihub::V1::LintingService::GetStyleGuideContentsRequest'->new($_) }; | ||
| 45 | |||
| 46 | declare 'RepeatedGetStyleGuideContentsRequest', | ||
| 47 | as ArrayRef[GetStyleGuideContentsRequest()]; | ||
| 48 | |||
| 49 | coerce 'RepeatedGetStyleGuideContentsRequest', | ||
| 50 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::LintingService::GetStyleGuideContentsRequest'->new($_) } @$_ ] }; | ||
| 51 | |||
| 52 | declare 'MapStringGetStyleGuideContentsRequest', | ||
| 53 | as HashRef[GetStyleGuideContentsRequest()]; | ||
| 54 | |||
| 55 | declare 'LintSpecRequest', | ||
| 56 | as InstanceOf['Google::Cloud::Apihub::V1::LintingService::LintSpecRequest']; | ||
| 57 | |||
| 58 | coerce 'LintSpecRequest', | ||
| 59 | from HashRef, via { 'Google::Cloud::Apihub::V1::LintingService::LintSpecRequest'->new($_) }; | ||
| 60 | |||
| 61 | declare 'RepeatedLintSpecRequest', | ||
| 62 | as ArrayRef[LintSpecRequest()]; | ||
| 63 | |||
| 64 | coerce 'RepeatedLintSpecRequest', | ||
| 65 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::LintingService::LintSpecRequest'->new($_) } @$_ ] }; | ||
| 66 | |||
| 67 | declare 'MapStringLintSpecRequest', | ||
| 68 | as HashRef[LintSpecRequest()]; | ||
| 69 | |||
| 70 | declare 'StyleGuideContents', | ||
| 71 | as InstanceOf['Google::Cloud::Apihub::V1::LintingService::StyleGuideContents']; | ||
| 72 | |||
| 73 | coerce 'StyleGuideContents', | ||
| 74 | from HashRef, via { 'Google::Cloud::Apihub::V1::LintingService::StyleGuideContents'->new($_) }; | ||
| 75 | |||
| 76 | declare 'RepeatedStyleGuideContents', | ||
| 77 | as ArrayRef[StyleGuideContents()]; | ||
| 78 | |||
| 79 | coerce 'RepeatedStyleGuideContents', | ||
| 80 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::LintingService::StyleGuideContents'->new($_) } @$_ ] }; | ||
| 81 | |||
| 82 | declare 'MapStringStyleGuideContents', | ||
| 83 | as HashRef[StyleGuideContents()]; | ||
| 84 | |||
| 85 | declare 'StyleGuide', | ||
| 86 | as InstanceOf['Google::Cloud::Apihub::V1::LintingService::StyleGuide']; | ||
| 87 | |||
| 88 | coerce 'StyleGuide', | ||
| 89 | from HashRef, via { 'Google::Cloud::Apihub::V1::LintingService::StyleGuide'->new($_) }; | ||
| 90 | |||
| 91 | declare 'RepeatedStyleGuide', | ||
| 92 | as ArrayRef[StyleGuide()]; | ||
| 93 | |||
| 94 | coerce 'RepeatedStyleGuide', | ||
| 95 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::LintingService::StyleGuide'->new($_) } @$_ ] }; | ||
| 96 | |||
| 97 | declare 'MapStringStyleGuide', | ||
| 98 | as HashRef[StyleGuide()]; | ||
| 99 | |||
| 100 | 1; | ||
| 101 | |||
| 102 | __END__ |