| 1 | package Google::Cloud::Chronicle::V1::RuleExecutionError::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 'ListRuleExecutionErrorsRequest', | ||
| 11 | as InstanceOf['Google::Cloud::Chronicle::V1::RuleExecutionError::ListRuleExecutionErrorsRequest']; | ||
| 12 | |||
| 13 | coerce 'ListRuleExecutionErrorsRequest', | ||
| 14 | from HashRef, via { 'Google::Cloud::Chronicle::V1::RuleExecutionError::ListRuleExecutionErrorsRequest'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedListRuleExecutionErrorsRequest', | ||
| 17 | as ArrayRef[ListRuleExecutionErrorsRequest()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedListRuleExecutionErrorsRequest', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::RuleExecutionError::ListRuleExecutionErrorsRequest'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringListRuleExecutionErrorsRequest', | ||
| 23 | as HashRef[ListRuleExecutionErrorsRequest()]; | ||
| 24 | |||
| 25 | declare 'ListRuleExecutionErrorsResponse', | ||
| 26 | as InstanceOf['Google::Cloud::Chronicle::V1::RuleExecutionError::ListRuleExecutionErrorsResponse']; | ||
| 27 | |||
| 28 | coerce 'ListRuleExecutionErrorsResponse', | ||
| 29 | from HashRef, via { 'Google::Cloud::Chronicle::V1::RuleExecutionError::ListRuleExecutionErrorsResponse'->new($_) }; | ||
| 30 | |||
| 31 | declare 'RepeatedListRuleExecutionErrorsResponse', | ||
| 32 | as ArrayRef[ListRuleExecutionErrorsResponse()]; | ||
| 33 | |||
| 34 | coerce 'RepeatedListRuleExecutionErrorsResponse', | ||
| 35 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::RuleExecutionError::ListRuleExecutionErrorsResponse'->new($_) } @$_ ] }; | ||
| 36 | |||
| 37 | declare 'MapStringListRuleExecutionErrorsResponse', | ||
| 38 | as HashRef[ListRuleExecutionErrorsResponse()]; | ||
| 39 | |||
| 40 | declare 'RuleExecutionError', | ||
| 41 | as InstanceOf['Google::Cloud::Chronicle::V1::RuleExecutionError::RuleExecutionError']; | ||
| 42 | |||
| 43 | coerce 'RuleExecutionError', | ||
| 44 | from HashRef, via { 'Google::Cloud::Chronicle::V1::RuleExecutionError::RuleExecutionError'->new($_) }; | ||
| 45 | |||
| 46 | declare 'RepeatedRuleExecutionError', | ||
| 47 | as ArrayRef[RuleExecutionError()]; | ||
| 48 | |||
| 49 | coerce 'RepeatedRuleExecutionError', | ||
| 50 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Chronicle::V1::RuleExecutionError::RuleExecutionError'->new($_) } @$_ ] }; | ||
| 51 | |||
| 52 | declare 'MapStringRuleExecutionError', | ||
| 53 | as HashRef[RuleExecutionError()]; | ||
| 54 | |||
| 55 | 1; | ||
| 56 | |||
| 57 | __END__ |