V3beta1/AudioConfig/Types.pm untested

filter: Statementstmt 0.0% 0 / 124 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 129 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Google::Cloud::Dialogflow::Cx::V3beta1::AudioConfig::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 'AudioEncoding',
11 as (Int | Str);
12  
13 declare 'SpeechModelVariant',
14 as (Int | Str);
15  
16 declare 'SsmlVoiceGender',
17 as (Int | Str);
18  
19 declare 'OutputAudioEncoding',
20 as (Int | Str);
21  
22 declare 'SpeechWordInfo',
23 as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::AudioConfig::SpeechWordInfo'];
24  
25 coerce 'SpeechWordInfo',
26 from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::AudioConfig::SpeechWordInfo'->new($_) };
27  
28 declare 'RepeatedSpeechWordInfo',
29 as ArrayRef[SpeechWordInfo()];
30  
31 coerce 'RepeatedSpeechWordInfo',
32 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::AudioConfig::SpeechWordInfo'->new($_) } @$_ ] };
33  
34 declare 'MapStringSpeechWordInfo',
35 as HashRef[SpeechWordInfo()];
36  
37 declare 'BargeInConfig',
38 as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::AudioConfig::BargeInConfig'];
39  
40 coerce 'BargeInConfig',
41 from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::AudioConfig::BargeInConfig'->new($_) };
42  
43 declare 'RepeatedBargeInConfig',
44 as ArrayRef[BargeInConfig()];
45  
46 coerce 'RepeatedBargeInConfig',
47 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::AudioConfig::BargeInConfig'->new($_) } @$_ ] };
48  
49 declare 'MapStringBargeInConfig',
50 as HashRef[BargeInConfig()];
51  
52 declare 'InputAudioConfig',
53 as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::AudioConfig::InputAudioConfig'];
54  
55 coerce 'InputAudioConfig',
56 from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::AudioConfig::InputAudioConfig'->new($_) };
57  
58 declare 'RepeatedInputAudioConfig',
59 as ArrayRef[InputAudioConfig()];
60  
61 coerce 'RepeatedInputAudioConfig',
62 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::AudioConfig::InputAudioConfig'->new($_) } @$_ ] };
63  
64 declare 'MapStringInputAudioConfig',
65 as HashRef[InputAudioConfig()];
66  
67 declare 'VoiceSelectionParams',
68 as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::AudioConfig::VoiceSelectionParams'];
69  
70 coerce 'VoiceSelectionParams',
71 from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::AudioConfig::VoiceSelectionParams'->new($_) };
72  
73 declare 'RepeatedVoiceSelectionParams',
74 as ArrayRef[VoiceSelectionParams()];
75  
76 coerce 'RepeatedVoiceSelectionParams',
77 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::AudioConfig::VoiceSelectionParams'->new($_) } @$_ ] };
78  
79 declare 'MapStringVoiceSelectionParams',
80 as HashRef[VoiceSelectionParams()];
81  
82 declare 'SynthesizeSpeechConfig',
83 as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::AudioConfig::SynthesizeSpeechConfig'];
84  
85 coerce 'SynthesizeSpeechConfig',
86 from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::AudioConfig::SynthesizeSpeechConfig'->new($_) };
87  
88 declare 'RepeatedSynthesizeSpeechConfig',
89 as ArrayRef[SynthesizeSpeechConfig()];
90  
91 coerce 'RepeatedSynthesizeSpeechConfig',
92 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::AudioConfig::SynthesizeSpeechConfig'->new($_) } @$_ ] };
93  
94 declare 'MapStringSynthesizeSpeechConfig',
95 as HashRef[SynthesizeSpeechConfig()];
96  
97 declare 'OutputAudioConfig',
98 as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::AudioConfig::OutputAudioConfig'];
99  
100 coerce 'OutputAudioConfig',
101 from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::AudioConfig::OutputAudioConfig'->new($_) };
102  
103 declare 'RepeatedOutputAudioConfig',
104 as ArrayRef[OutputAudioConfig()];
105  
106 coerce 'RepeatedOutputAudioConfig',
107 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::AudioConfig::OutputAudioConfig'->new($_) } @$_ ] };
108  
109 declare 'MapStringOutputAudioConfig',
110 as HashRef[OutputAudioConfig()];
111  
112 declare 'TextToSpeechSettings',
113 as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::AudioConfig::TextToSpeechSettings'];
114  
115 coerce 'TextToSpeechSettings',
116 from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::AudioConfig::TextToSpeechSettings'->new($_) };
117  
118 declare 'RepeatedTextToSpeechSettings',
119 as ArrayRef[TextToSpeechSettings()];
120  
121 coerce 'RepeatedTextToSpeechSettings',
122 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::AudioConfig::TextToSpeechSettings'->new($_) } @$_ ] };
123  
124 declare 'MapStringTextToSpeechSettings',
125 as HashRef[TextToSpeechSettings()];
126  
127 declare 'SynthesizeSpeechConfigsEntry',
128 as InstanceOf['Google::Cloud::Dialogflow::Cx::V3beta1::AudioConfig::TextToSpeechSettings::SynthesizeSpeechConfigsEntry'];
129  
130 coerce 'SynthesizeSpeechConfigsEntry',
131 from HashRef, via { 'Google::Cloud::Dialogflow::Cx::V3beta1::AudioConfig::TextToSpeechSettings::SynthesizeSpeechConfigsEntry'->new($_) };
132  
133 declare 'RepeatedSynthesizeSpeechConfigsEntry',
134 as ArrayRef[SynthesizeSpeechConfigsEntry()];
135  
136 coerce 'RepeatedSynthesizeSpeechConfigsEntry',
137 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dialogflow::Cx::V3beta1::AudioConfig::TextToSpeechSettings::SynthesizeSpeechConfigsEntry'->new($_) } @$_ ] };
138  
139 declare 'MapStringSynthesizeSpeechConfigsEntry',
140 as HashRef[SynthesizeSpeechConfigsEntry()];
141  
142 1;
143  
144 __END__