| 1 | package Google::Cloud::Dialogflow::Cx::V3::AdvancedSettings::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 'AdvancedSettings', | ||
| 11 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::AdvancedSettings::AdvancedSettings']; | ||
| 12 | |||
| 13 | coerce 'AdvancedSettings', | ||
| 14 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::AdvancedSettings::AdvancedSettings'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedAdvancedSettings', | ||
| 17 | as ArrayRef[AdvancedSettings()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedAdvancedSettings', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::AdvancedSettings::AdvancedSettings'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringAdvancedSettings', | ||
| 23 | as HashRef[AdvancedSettings()]; | ||
| 24 | |||
| 25 | declare 'SpeechSettings', | ||
| 26 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::AdvancedSettings::AdvancedSettings::SpeechSettings']; | ||
| 27 | |||
| 28 | coerce 'SpeechSettings', | ||
| 29 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::AdvancedSettings::AdvancedSettings::SpeechSettings'->new($_) }; | ||
| 30 | |||
| 31 | declare 'RepeatedSpeechSettings', | ||
| 32 | as ArrayRef[SpeechSettings()]; | ||
| 33 | |||
| 34 | coerce 'RepeatedSpeechSettings', | ||
| 35 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::AdvancedSettings::AdvancedSettings::SpeechSettings'->new($_) } @$_ ] }; | ||
| 36 | |||
| 37 | declare 'MapStringSpeechSettings', | ||
| 38 | as HashRef[SpeechSettings()]; | ||
| 39 | |||
| 40 | declare 'ModelsEntry', | ||
| 41 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::AdvancedSettings::AdvancedSettings::SpeechSettings::ModelsEntry']; | ||
| 42 | |||
| 43 | coerce 'ModelsEntry', | ||
| 44 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::AdvancedSettings::AdvancedSettings::SpeechSettings::ModelsEntry'->new($_) }; | ||
| 45 | |||
| 46 | declare 'RepeatedModelsEntry', | ||
| 47 | as ArrayRef[ModelsEntry()]; | ||
| 48 | |||
| 49 | coerce 'RepeatedModelsEntry', | ||
| 50 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::AdvancedSettings::AdvancedSettings::SpeechSettings::ModelsEntry'->new($_) } @$_ ] }; | ||
| 51 | |||
| 52 | declare 'MapStringModelsEntry', | ||
| 53 | as HashRef[ModelsEntry()]; | ||
| 54 | |||
| 55 | declare 'DtmfSettings', | ||
| 56 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::AdvancedSettings::AdvancedSettings::DtmfSettings']; | ||
| 57 | |||
| 58 | coerce 'DtmfSettings', | ||
| 59 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::AdvancedSettings::AdvancedSettings::DtmfSettings'->new($_) }; | ||
| 60 | |||
| 61 | declare 'RepeatedDtmfSettings', | ||
| 62 | as ArrayRef[DtmfSettings()]; | ||
| 63 | |||
| 64 | coerce 'RepeatedDtmfSettings', | ||
| 65 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::AdvancedSettings::AdvancedSettings::DtmfSettings'->new($_) } @$_ ] }; | ||
| 66 | |||
| 67 | declare 'MapStringDtmfSettings', | ||
| 68 | as HashRef[DtmfSettings()]; | ||
| 69 | |||
| 70 | declare 'LoggingSettings', | ||
| 71 | as InstanceOf['Google::Cloud::Dialogflow::Cx::V3::AdvancedSettings::AdvancedSettings::LoggingSettings']; | ||
| 72 | |||
| 73 | coerce 'LoggingSettings', | ||
| 74 | from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3::AdvancedSettings::AdvancedSettings::LoggingSettings'->new($_) }; | ||
| 75 | |||
| 76 | declare 'RepeatedLoggingSettings', | ||
| 77 | as ArrayRef[LoggingSettings()]; | ||
| 78 | |||
| 79 | coerce 'RepeatedLoggingSettings', | ||
| 80 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3::AdvancedSettings::AdvancedSettings::LoggingSettings'->new($_) } @$_ ] }; | ||
| 81 | |||
| 82 | declare 'MapStringLoggingSettings', | ||
| 83 | as HashRef[LoggingSettings()]; | ||
| 84 | |||
| 85 | 1; | ||
| 86 | |||
| 87 | __END__ |