AnalyzeContentRequest constructor
AnalyzeContentRequest({
- String? participant,
- @Deprecated('This field is deprecated.') InputText? text,
- @Deprecated('This field is deprecated.') InputAudio? audio,
- OutputAudioConfig? replyAudioConfig,
- TextInput? textInput,
- AudioInput? audioInput,
- EventInput? eventInput,
- QueryParameters? queryParams,
- Timestamp? messageSendTime,
- String? requestId,
Implementation
factory AnalyzeContentRequest({
$core.String? participant,
@$core.Deprecated('This field is deprecated.') InputText? text,
@$core.Deprecated('This field is deprecated.') InputAudio? audio,
$20.OutputAudioConfig? replyAudioConfig,
$9.TextInput? textInput,
AudioInput? audioInput,
$9.EventInput? eventInput,
$9.QueryParameters? queryParams,
$17.Timestamp? messageSendTime,
$core.String? requestId,
}) {
final _result = create();
if (participant != null) {
_result.participant = participant;
}
if (text != null) {
// ignore: deprecated_member_use_from_same_package
_result.text = text;
}
if (audio != null) {
// ignore: deprecated_member_use_from_same_package
_result.audio = audio;
}
if (replyAudioConfig != null) {
_result.replyAudioConfig = replyAudioConfig;
}
if (textInput != null) {
_result.textInput = textInput;
}
if (audioInput != null) {
_result.audioInput = audioInput;
}
if (eventInput != null) {
_result.eventInput = eventInput;
}
if (queryParams != null) {
_result.queryParams = queryParams;
}
if (messageSendTime != null) {
_result.messageSendTime = messageSendTime;
}
if (requestId != null) {
_result.requestId = requestId;
}
return _result;
}