| 1 | package Google::Devtools::Artifactregistry::V1::YumArtifact::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 'YumArtifact', | ||
| 11 | as InstanceOf['Google::Devtools::Artifactregistry::V1::YumArtifact::YumArtifact']; | ||
| 12 | |||
| 13 | coerce 'YumArtifact', | ||
| 14 | from HashRef, via { 'Google::Devtools::Artifactregistry::V1::YumArtifact::YumArtifact'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedYumArtifact', | ||
| 17 | as ArrayRef[YumArtifact()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedYumArtifact', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Devtools::Artifactregistry::V1::YumArtifact::YumArtifact'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringYumArtifact', | ||
| 23 | as HashRef[YumArtifact()]; | ||
| 24 | |||
| 25 | declare 'PackageType', | ||
| 26 | as (Int | Str); | ||
| 27 | |||
| 28 | declare 'ImportYumArtifactsGcsSource', | ||
| 29 | as InstanceOf['Google::Devtools::Artifactregistry::V1::YumArtifact::ImportYumArtifactsGcsSource']; | ||
| 30 | |||
| 31 | coerce 'ImportYumArtifactsGcsSource', | ||
| 32 | from HashRef, via { 'Google::Devtools::Artifactregistry::V1::YumArtifact::ImportYumArtifactsGcsSource'->new($_) }; | ||
| 33 | |||
| 34 | declare 'RepeatedImportYumArtifactsGcsSource', | ||
| 35 | as ArrayRef[ImportYumArtifactsGcsSource()]; | ||
| 36 | |||
| 37 | coerce 'RepeatedImportYumArtifactsGcsSource', | ||
| 38 | from ArrayRef[HashRef], via { [ map { 'Google::Devtools::Artifactregistry::V1::YumArtifact::ImportYumArtifactsGcsSource'->new($_) } @$_ ] }; | ||
| 39 | |||
| 40 | declare 'MapStringImportYumArtifactsGcsSource', | ||
| 41 | as HashRef[ImportYumArtifactsGcsSource()]; | ||
| 42 | |||
| 43 | declare 'ImportYumArtifactsRequest', | ||
| 44 | as InstanceOf['Google::Devtools::Artifactregistry::V1::YumArtifact::ImportYumArtifactsRequest']; | ||
| 45 | |||
| 46 | coerce 'ImportYumArtifactsRequest', | ||
| 47 | from HashRef, via { 'Google::Devtools::Artifactregistry::V1::YumArtifact::ImportYumArtifactsRequest'->new($_) }; | ||
| 48 | |||
| 49 | declare 'RepeatedImportYumArtifactsRequest', | ||
| 50 | as ArrayRef[ImportYumArtifactsRequest()]; | ||
| 51 | |||
| 52 | coerce 'RepeatedImportYumArtifactsRequest', | ||
| 53 | from ArrayRef[HashRef], via { [ map { 'Google::Devtools::Artifactregistry::V1::YumArtifact::ImportYumArtifactsRequest'->new($_) } @$_ ] }; | ||
| 54 | |||
| 55 | declare 'MapStringImportYumArtifactsRequest', | ||
| 56 | as HashRef[ImportYumArtifactsRequest()]; | ||
| 57 | |||
| 58 | declare 'ImportYumArtifactsErrorInfo', | ||
| 59 | as InstanceOf['Google::Devtools::Artifactregistry::V1::YumArtifact::ImportYumArtifactsErrorInfo']; | ||
| 60 | |||
| 61 | coerce 'ImportYumArtifactsErrorInfo', | ||
| 62 | from HashRef, via { 'Google::Devtools::Artifactregistry::V1::YumArtifact::ImportYumArtifactsErrorInfo'->new($_) }; | ||
| 63 | |||
| 64 | declare 'RepeatedImportYumArtifactsErrorInfo', | ||
| 65 | as ArrayRef[ImportYumArtifactsErrorInfo()]; | ||
| 66 | |||
| 67 | coerce 'RepeatedImportYumArtifactsErrorInfo', | ||
| 68 | from ArrayRef[HashRef], via { [ map { 'Google::Devtools::Artifactregistry::V1::YumArtifact::ImportYumArtifactsErrorInfo'->new($_) } @$_ ] }; | ||
| 69 | |||
| 70 | declare 'MapStringImportYumArtifactsErrorInfo', | ||
| 71 | as HashRef[ImportYumArtifactsErrorInfo()]; | ||
| 72 | |||
| 73 | declare 'ImportYumArtifactsResponse', | ||
| 74 | as InstanceOf['Google::Devtools::Artifactregistry::V1::YumArtifact::ImportYumArtifactsResponse']; | ||
| 75 | |||
| 76 | coerce 'ImportYumArtifactsResponse', | ||
| 77 | from HashRef, via { 'Google::Devtools::Artifactregistry::V1::YumArtifact::ImportYumArtifactsResponse'->new($_) }; | ||
| 78 | |||
| 79 | declare 'RepeatedImportYumArtifactsResponse', | ||
| 80 | as ArrayRef[ImportYumArtifactsResponse()]; | ||
| 81 | |||
| 82 | coerce 'RepeatedImportYumArtifactsResponse', | ||
| 83 | from ArrayRef[HashRef], via { [ map { 'Google::Devtools::Artifactregistry::V1::YumArtifact::ImportYumArtifactsResponse'->new($_) } @$_ ] }; | ||
| 84 | |||
| 85 | declare 'MapStringImportYumArtifactsResponse', | ||
| 86 | as HashRef[ImportYumArtifactsResponse()]; | ||
| 87 | |||
| 88 | declare 'ImportYumArtifactsMetadata', | ||
| 89 | as InstanceOf['Google::Devtools::Artifactregistry::V1::YumArtifact::ImportYumArtifactsMetadata']; | ||
| 90 | |||
| 91 | coerce 'ImportYumArtifactsMetadata', | ||
| 92 | from HashRef, via { 'Google::Devtools::Artifactregistry::V1::YumArtifact::ImportYumArtifactsMetadata'->new($_) }; | ||
| 93 | |||
| 94 | declare 'RepeatedImportYumArtifactsMetadata', | ||
| 95 | as ArrayRef[ImportYumArtifactsMetadata()]; | ||
| 96 | |||
| 97 | coerce 'RepeatedImportYumArtifactsMetadata', | ||
| 98 | from ArrayRef[HashRef], via { [ map { 'Google::Devtools::Artifactregistry::V1::YumArtifact::ImportYumArtifactsMetadata'->new($_) } @$_ ] }; | ||
| 99 | |||
| 100 | declare 'MapStringImportYumArtifactsMetadata', | ||
| 101 | as HashRef[ImportYumArtifactsMetadata()]; | ||
| 102 | |||
| 103 | 1; | ||
| 104 | |||
| 105 | __END__ |