/** * TrainX API * ### The TrainX API documentation In order to use the Swagger, please retrieve your JWT at the following link: [https://trainx.getcockpit.io/jwt](https://trainx.getcockpit.io/jwt) and add it to the bearer field in the authorization section. * * The version of the OpenAPI document: v1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { CommentApi } from './comment'; import { ProgramApi } from './program'; import { ProgramRunQuestionApi } from './programRunQuestion'; import { UserQuestionPushedApi } from './userQuestionPushed'; import { CoachApi } from './coach'; import { GuessApi } from './guess'; import { AnswerFormatTypeEnumApi } from './answerFormatTypeEnum'; import { TagApi } from './tag'; import { QuestionSubmittedApi } from './questionSubmitted'; import { QuestionTypeEnumApi } from './questionTypeEnum'; export interface QuestionApi { id: string; createdBy: string; createdAt: Date; updatedAt: Date; deletedAt: Date; type: QuestionTypeEnumApi; answerType: AnswerFormatTypeEnumApi; /** * The title of the question. */ title: string; /** * The tags associated with the question. Optional. */ tags?: Array; /** * The programs associated with the question. Optional. */ programs?: Array; /** * The array of accepted answers for the question. Must have at least one answer. */ answersAccepted: Array; /** * The array of wrong answers for the question. Must have at least one answer. */ answersWrong: Array; /** * An optional explanation for the question. */ explanation?: string; /** * An optional link for the question. */ link?: string; /** * The comments associated with the question. Optional. */ comments?: Array; programRunQuestions: Array; guesses: Array; pushedToUsers?: Array; submittedQuestion?: QuestionSubmittedApi; coach?: CoachApi; coachId?: string; }