« Devtools/Testing/V1/AdbService/Types.pm
↑ Summary
Devtools/Testing/V1/DirectAccessService/Types.pm »
| 1 | package Google::Devtools::Testing::V1::ApplicationDetails::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 'ApkDetail', | ||
| 11 | as InstanceOf['Google::Devtools::Testing::V1::ApplicationDetails::ApkDetail']; | ||
| 12 | |||
| 13 | coerce 'ApkDetail', | ||
| 14 | from HashRef, via { 'Google::Devtools::Testing::V1::ApplicationDetails::ApkDetail'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedApkDetail', | ||
| 17 | as ArrayRef[ApkDetail()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedApkDetail', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Devtools::Testing::V1::ApplicationDetails::ApkDetail'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringApkDetail', | ||
| 23 | as HashRef[ApkDetail()]; | ||
| 24 | |||
| 25 | declare 'ApkManifest', | ||
| 26 | as InstanceOf['Google::Devtools::Testing::V1::ApplicationDetails::ApkManifest']; | ||
| 27 | |||
| 28 | coerce 'ApkManifest', | ||
| 29 | from HashRef, via { 'Google::Devtools::Testing::V1::ApplicationDetails::ApkManifest'->new($_) }; | ||
| 30 | |||
| 31 | declare 'RepeatedApkManifest', | ||
| 32 | as ArrayRef[ApkManifest()]; | ||
| 33 | |||
| 34 | coerce 'RepeatedApkManifest', | ||
| 35 | from ArrayRef[HashRef], via { [ map { 'Google::Devtools::Testing::V1::ApplicationDetails::ApkManifest'->new($_) } @$_ ] }; | ||
| 36 | |||
| 37 | declare 'MapStringApkManifest', | ||
| 38 | as HashRef[ApkManifest()]; | ||
| 39 | |||
| 40 | declare 'UsesPermissionTag', | ||
| 41 | as InstanceOf['Google::Devtools::Testing::V1::ApplicationDetails::UsesPermissionTag']; | ||
| 42 | |||
| 43 | coerce 'UsesPermissionTag', | ||
| 44 | from HashRef, via { 'Google::Devtools::Testing::V1::ApplicationDetails::UsesPermissionTag'->new($_) }; | ||
| 45 | |||
| 46 | declare 'RepeatedUsesPermissionTag', | ||
| 47 | as ArrayRef[UsesPermissionTag()]; | ||
| 48 | |||
| 49 | coerce 'RepeatedUsesPermissionTag', | ||
| 50 | from ArrayRef[HashRef], via { [ map { 'Google::Devtools::Testing::V1::ApplicationDetails::UsesPermissionTag'->new($_) } @$_ ] }; | ||
| 51 | |||
| 52 | declare 'MapStringUsesPermissionTag', | ||
| 53 | as HashRef[UsesPermissionTag()]; | ||
| 54 | |||
| 55 | declare 'Service', | ||
| 56 | as InstanceOf['Google::Devtools::Testing::V1::ApplicationDetails::Service']; | ||
| 57 | |||
| 58 | coerce 'Service', | ||
| 59 | from HashRef, via { 'Google::Devtools::Testing::V1::ApplicationDetails::Service'->new($_) }; | ||
| 60 | |||
| 61 | declare 'RepeatedService', | ||
| 62 | as ArrayRef[Service()]; | ||
| 63 | |||
| 64 | coerce 'RepeatedService', | ||
| 65 | from ArrayRef[HashRef], via { [ map { 'Google::Devtools::Testing::V1::ApplicationDetails::Service'->new($_) } @$_ ] }; | ||
| 66 | |||
| 67 | declare 'MapStringService', | ||
| 68 | as HashRef[Service()]; | ||
| 69 | |||
| 70 | declare 'IntentFilter', | ||
| 71 | as InstanceOf['Google::Devtools::Testing::V1::ApplicationDetails::IntentFilter']; | ||
| 72 | |||
| 73 | coerce 'IntentFilter', | ||
| 74 | from HashRef, via { 'Google::Devtools::Testing::V1::ApplicationDetails::IntentFilter'->new($_) }; | ||
| 75 | |||
| 76 | declare 'RepeatedIntentFilter', | ||
| 77 | as ArrayRef[IntentFilter()]; | ||
| 78 | |||
| 79 | coerce 'RepeatedIntentFilter', | ||
| 80 | from ArrayRef[HashRef], via { [ map { 'Google::Devtools::Testing::V1::ApplicationDetails::IntentFilter'->new($_) } @$_ ] }; | ||
| 81 | |||
| 82 | declare 'MapStringIntentFilter', | ||
| 83 | as HashRef[IntentFilter()]; | ||
| 84 | |||
| 85 | declare 'Metadata', | ||
| 86 | as InstanceOf['Google::Devtools::Testing::V1::ApplicationDetails::Metadata']; | ||
| 87 | |||
| 88 | coerce 'Metadata', | ||
| 89 | from HashRef, via { 'Google::Devtools::Testing::V1::ApplicationDetails::Metadata'->new($_) }; | ||
| 90 | |||
| 91 | declare 'RepeatedMetadata', | ||
| 92 | as ArrayRef[Metadata()]; | ||
| 93 | |||
| 94 | coerce 'RepeatedMetadata', | ||
| 95 | from ArrayRef[HashRef], via { [ map { 'Google::Devtools::Testing::V1::ApplicationDetails::Metadata'->new($_) } @$_ ] }; | ||
| 96 | |||
| 97 | declare 'MapStringMetadata', | ||
| 98 | as HashRef[Metadata()]; | ||
| 99 | |||
| 100 | declare 'UsesFeature', | ||
| 101 | as InstanceOf['Google::Devtools::Testing::V1::ApplicationDetails::UsesFeature']; | ||
| 102 | |||
| 103 | coerce 'UsesFeature', | ||
| 104 | from HashRef, via { 'Google::Devtools::Testing::V1::ApplicationDetails::UsesFeature'->new($_) }; | ||
| 105 | |||
| 106 | declare 'RepeatedUsesFeature', | ||
| 107 | as ArrayRef[UsesFeature()]; | ||
| 108 | |||
| 109 | coerce 'RepeatedUsesFeature', | ||
| 110 | from ArrayRef[HashRef], via { [ map { 'Google::Devtools::Testing::V1::ApplicationDetails::UsesFeature'->new($_) } @$_ ] }; | ||
| 111 | |||
| 112 | declare 'MapStringUsesFeature', | ||
| 113 | as HashRef[UsesFeature()]; | ||
| 114 | |||
| 115 | declare 'GetApkDetailsRequest', | ||
| 116 | as InstanceOf['Google::Devtools::Testing::V1::ApplicationDetails::GetApkDetailsRequest']; | ||
| 117 | |||
| 118 | coerce 'GetApkDetailsRequest', | ||
| 119 | from HashRef, via { 'Google::Devtools::Testing::V1::ApplicationDetails::GetApkDetailsRequest'->new($_) }; | ||
| 120 | |||
| 121 | declare 'RepeatedGetApkDetailsRequest', | ||
| 122 | as ArrayRef[GetApkDetailsRequest()]; | ||
| 123 | |||
| 124 | coerce 'RepeatedGetApkDetailsRequest', | ||
| 125 | from ArrayRef[HashRef], via { [ map { 'Google::Devtools::Testing::V1::ApplicationDetails::GetApkDetailsRequest'->new($_) } @$_ ] }; | ||
| 126 | |||
| 127 | declare 'MapStringGetApkDetailsRequest', | ||
| 128 | as HashRef[GetApkDetailsRequest()]; | ||
| 129 | |||
| 130 | declare 'GetApkDetailsResponse', | ||
| 131 | as InstanceOf['Google::Devtools::Testing::V1::ApplicationDetails::GetApkDetailsResponse']; | ||
| 132 | |||
| 133 | coerce 'GetApkDetailsResponse', | ||
| 134 | from HashRef, via { 'Google::Devtools::Testing::V1::ApplicationDetails::GetApkDetailsResponse'->new($_) }; | ||
| 135 | |||
| 136 | declare 'RepeatedGetApkDetailsResponse', | ||
| 137 | as ArrayRef[GetApkDetailsResponse()]; | ||
| 138 | |||
| 139 | coerce 'RepeatedGetApkDetailsResponse', | ||
| 140 | from ArrayRef[HashRef], via { [ map { 'Google::Devtools::Testing::V1::ApplicationDetails::GetApkDetailsResponse'->new($_) } @$_ ] }; | ||
| 141 | |||
| 142 | declare 'MapStringGetApkDetailsResponse', | ||
| 143 | as HashRef[GetApkDetailsResponse()]; | ||
| 144 | |||
| 145 | 1; | ||
| 146 | |||
| 147 | __END__ |