RealtimeSessionCreateResponse constructor

const RealtimeSessionCreateResponse({
  1. required String id,
  2. required String object,
  3. required String type,
  4. String? model,
  5. int? expiresAt,
  6. RealtimeAudioConfig? audio,
  7. List<String>? outputModalities,
  8. String? instructions,
  9. List<RealtimeTool>? tools,
  10. RealtimeToolChoice? toolChoice,
  11. InfOrInt? maxOutputTokens,
  12. bool? parallelToolCalls,
  13. RealtimeReasoning? reasoning,
  14. RealtimeTracingConfig? tracing,
  15. RealtimeTruncation? truncation,
  16. List<String>? include,
})

Implementation

const RealtimeSessionCreateResponse({
  required this.id,
  required this.object,
  required this.type,
  this.model,
  this.expiresAt,
  this.audio,
  this.outputModalities,
  this.instructions,
  this.tools,
  this.toolChoice,
  this.maxOutputTokens,
  this.parallelToolCalls,
  this.reasoning,
  this.tracing,
  this.truncation,
  this.include,
});