GptRun constructor

GptRun({
  1. required String id,
  2. String object = "thread.run",
  3. required String threadId,
  4. required String assistantId,
  5. required int createdAt,
  6. required List<String> fileIds,
  7. required Map<String, dynamic> metadata,
  8. GptRunRequiredAction? requiredAction,
  9. required String instructions,
  10. required String model,
  11. required GptRunStatus status,
  12. int? cancelledAt,
  13. int? completedAt,
  14. int? expiresAt,
  15. int? failedAt,
  16. GptRunError? lastError,
  17. int? startedAt,
  18. required List<AssistantTool> tools,
})

Implementation

GptRun({ required this.id, this.object = "thread.run", required this.threadId, required this.assistantId, required this.createdAt, required this.fileIds, required this.metadata, this.requiredAction, required this.instructions, required this.model, required this.status, this.cancelledAt, this.completedAt, this.expiresAt, this.failedAt, this.lastError, this.startedAt, required this.tools});