/** * 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 { QuestionApi } from './question'; import { UserApi } from './user'; export interface CommentApi { id: string; createdBy: string; createdAt: Date; updatedAt: Date; deletedAt: Date; question: QuestionApi; /** * The id of the question related to this comment. */ questionId: string; /** * String that represents the text (the content) of the comment. */ text: string; /** * Optional string that represents an image associated with the comment */ image?: string; /** * Boolean that specify whether or not the comment has been read. */ isRead: boolean; /** * Optional string that represents the response to the comment. */ response?: string; /** * Optional string that represents the uuid of the user that responded to the comment. */ updatedBy?: string; updatedByUser?: UserApi; }