« V2alpha/MerchantCenterAccountLink.pm
↑ Summary
V2alpha/MerchantCenterAccountLinkService/Types.pm »
| 1 | package Google::Cloud::Retail::V2alpha::MerchantCenterAccountLink::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 'MerchantCenterAccountLink', | ||
| 11 | as InstanceOf['Google::Cloud::Retail::V2alpha::MerchantCenterAccountLink::MerchantCenterAccountLink']; | ||
| 12 | |||
| 13 | coerce 'MerchantCenterAccountLink', | ||
| 14 | from HashRef, via { 'Google::Cloud::Retail::V2alpha::MerchantCenterAccountLink::MerchantCenterAccountLink'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedMerchantCenterAccountLink', | ||
| 17 | as ArrayRef[MerchantCenterAccountLink()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedMerchantCenterAccountLink', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2alpha::MerchantCenterAccountLink::MerchantCenterAccountLink'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringMerchantCenterAccountLink', | ||
| 23 | as HashRef[MerchantCenterAccountLink()]; | ||
| 24 | |||
| 25 | declare 'State', | ||
| 26 | as (Int | Str); | ||
| 27 | |||
| 28 | declare 'MerchantCenterFeedFilter', | ||
| 29 | as InstanceOf['Google::Cloud::Retail::V2alpha::MerchantCenterAccountLink::MerchantCenterAccountLink::MerchantCenterFeedFilter']; | ||
| 30 | |||
| 31 | coerce 'MerchantCenterFeedFilter', | ||
| 32 | from HashRef, via { 'Google::Cloud::Retail::V2alpha::MerchantCenterAccountLink::MerchantCenterAccountLink::MerchantCenterFeedFilter'->new($_) }; | ||
| 33 | |||
| 34 | declare 'RepeatedMerchantCenterFeedFilter', | ||
| 35 | as ArrayRef[MerchantCenterFeedFilter()]; | ||
| 36 | |||
| 37 | coerce 'RepeatedMerchantCenterFeedFilter', | ||
| 38 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2alpha::MerchantCenterAccountLink::MerchantCenterAccountLink::MerchantCenterFeedFilter'->new($_) } @$_ ] }; | ||
| 39 | |||
| 40 | declare 'MapStringMerchantCenterFeedFilter', | ||
| 41 | as HashRef[MerchantCenterFeedFilter()]; | ||
| 42 | |||
| 43 | declare 'CreateMerchantCenterAccountLinkMetadata', | ||
| 44 | as InstanceOf['Google::Cloud::Retail::V2alpha::MerchantCenterAccountLink::CreateMerchantCenterAccountLinkMetadata']; | ||
| 45 | |||
| 46 | coerce 'CreateMerchantCenterAccountLinkMetadata', | ||
| 47 | from HashRef, via { 'Google::Cloud::Retail::V2alpha::MerchantCenterAccountLink::CreateMerchantCenterAccountLinkMetadata'->new($_) }; | ||
| 48 | |||
| 49 | declare 'RepeatedCreateMerchantCenterAccountLinkMetadata', | ||
| 50 | as ArrayRef[CreateMerchantCenterAccountLinkMetadata()]; | ||
| 51 | |||
| 52 | coerce 'RepeatedCreateMerchantCenterAccountLinkMetadata', | ||
| 53 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2alpha::MerchantCenterAccountLink::CreateMerchantCenterAccountLinkMetadata'->new($_) } @$_ ] }; | ||
| 54 | |||
| 55 | declare 'MapStringCreateMerchantCenterAccountLinkMetadata', | ||
| 56 | as HashRef[CreateMerchantCenterAccountLinkMetadata()]; | ||
| 57 | |||
| 58 | 1; | ||
| 59 | |||
| 60 | __END__ |