StreamingDetectIntentRequest constructor

StreamingDetectIntentRequest({
  1. String? session,
  2. QueryParameters? queryParams,
  3. QueryInput? queryInput,
  4. OutputAudioConfig? outputAudioConfig,
})

Implementation

factory StreamingDetectIntentRequest({
  $core.String? session,
  QueryParameters? queryParams,
  QueryInput? queryInput,
  $23.OutputAudioConfig? outputAudioConfig,
}) {
  final _result = create();
  if (session != null) {
    _result.session = session;
  }
  if (queryParams != null) {
    _result.queryParams = queryParams;
  }
  if (queryInput != null) {
    _result.queryInput = queryInput;
  }
  if (outputAudioConfig != null) {
    _result.outputAudioConfig = outputAudioConfig;
  }
  return _result;
}