| 1 | package Google::Cloud::Dataplex::V1::DataQualityRuleTemplate::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 'DataQualityRuleTemplate', | ||
| 11 | as InstanceOf['Google::Cloud::Dataplex::V1::DataQualityRuleTemplate::DataQualityRuleTemplate']; | ||
| 12 | |||
| 13 | coerce 'DataQualityRuleTemplate', | ||
| 14 | from HashRef, via { 'Google::Cloud::Dataplex::V1::DataQualityRuleTemplate::DataQualityRuleTemplate'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedDataQualityRuleTemplate', | ||
| 17 | as ArrayRef[DataQualityRuleTemplate()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedDataQualityRuleTemplate', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::DataQualityRuleTemplate::DataQualityRuleTemplate'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringDataQualityRuleTemplate', | ||
| 23 | as HashRef[DataQualityRuleTemplate()]; | ||
| 24 | |||
| 25 | declare 'Sql', | ||
| 26 | as InstanceOf['Google::Cloud::Dataplex::V1::DataQualityRuleTemplate::DataQualityRuleTemplate::Sql']; | ||
| 27 | |||
| 28 | coerce 'Sql', | ||
| 29 | from HashRef, via { 'Google::Cloud::Dataplex::V1::DataQualityRuleTemplate::DataQualityRuleTemplate::Sql'->new($_) }; | ||
| 30 | |||
| 31 | declare 'RepeatedSql', | ||
| 32 | as ArrayRef[Sql()]; | ||
| 33 | |||
| 34 | coerce 'RepeatedSql', | ||
| 35 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::DataQualityRuleTemplate::DataQualityRuleTemplate::Sql'->new($_) } @$_ ] }; | ||
| 36 | |||
| 37 | declare 'MapStringSql', | ||
| 38 | as HashRef[Sql()]; | ||
| 39 | |||
| 40 | declare 'ParameterDescription', | ||
| 41 | as InstanceOf['Google::Cloud::Dataplex::V1::DataQualityRuleTemplate::DataQualityRuleTemplate::ParameterDescription']; | ||
| 42 | |||
| 43 | coerce 'ParameterDescription', | ||
| 44 | from HashRef, via { 'Google::Cloud::Dataplex::V1::DataQualityRuleTemplate::DataQualityRuleTemplate::ParameterDescription'->new($_) }; | ||
| 45 | |||
| 46 | declare 'RepeatedParameterDescription', | ||
| 47 | as ArrayRef[ParameterDescription()]; | ||
| 48 | |||
| 49 | coerce 'RepeatedParameterDescription', | ||
| 50 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::DataQualityRuleTemplate::DataQualityRuleTemplate::ParameterDescription'->new($_) } @$_ ] }; | ||
| 51 | |||
| 52 | declare 'MapStringParameterDescription', | ||
| 53 | as HashRef[ParameterDescription()]; | ||
| 54 | |||
| 55 | declare 'InputParametersEntry', | ||
| 56 | as InstanceOf['Google::Cloud::Dataplex::V1::DataQualityRuleTemplate::DataQualityRuleTemplate::InputParametersEntry']; | ||
| 57 | |||
| 58 | coerce 'InputParametersEntry', | ||
| 59 | from HashRef, via { 'Google::Cloud::Dataplex::V1::DataQualityRuleTemplate::DataQualityRuleTemplate::InputParametersEntry'->new($_) }; | ||
| 60 | |||
| 61 | declare 'RepeatedInputParametersEntry', | ||
| 62 | as ArrayRef[InputParametersEntry()]; | ||
| 63 | |||
| 64 | coerce 'RepeatedInputParametersEntry', | ||
| 65 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::DataQualityRuleTemplate::DataQualityRuleTemplate::InputParametersEntry'->new($_) } @$_ ] }; | ||
| 66 | |||
| 67 | declare 'MapStringInputParametersEntry', | ||
| 68 | as HashRef[InputParametersEntry()]; | ||
| 69 | |||
| 70 | 1; | ||
| 71 | |||
| 72 | __END__ |