AnalyzeContentRequest constructor

AnalyzeContentRequest({
  1. String? participant,
  2. OutputAudioConfig? replyAudioConfig,
  3. TextInput? textInput,
  4. AudioInput? audioInput,
  5. EventInput? eventInput,
  6. QueryParameters? queryParams,
  7. String? requestId,
})

Implementation

factory AnalyzeContentRequest({
  $core.String? participant,
  $19.OutputAudioConfig? replyAudioConfig,
  $8.TextInput? textInput,
  AudioInput? audioInput,
  $8.EventInput? eventInput,
  $8.QueryParameters? queryParams,
  $core.String? requestId,
}) {
  final _result = create();
  if (participant != null) {
    _result.participant = participant;
  }
  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 (requestId != null) {
    _result.requestId = requestId;
  }
  return _result;
}