/** * Squidex API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.0.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { ResourceLink } from './ResourceLink'; import type { ScheduleJobDto } from './ScheduleJobDto'; import type { FieldDto } from './FieldDto'; /** * * @export * @interface ContentDto */ export interface ContentDto { /** * The links. * @type {{ [key: string]: ResourceLink; }} * @memberof ContentDto */ links: { [key: string]: ResourceLink; }; /** * The if of the content item. * @type {string} * @memberof ContentDto */ id: string; /** * The user that has created the content item. * @type {string} * @memberof ContentDto */ createdBy: string; /** * The user that has updated the content item. * @type {string} * @memberof ContentDto */ lastModifiedBy: string; /** * The data of the content item. * @type {any} * @memberof ContentDto */ data: any | null; /** * * @type {{ [key: string]: { [key: string]: any; }; }} * @memberof ContentDto */ referenceData?: { [key: string]: { [key: string]: any; }; }; /** * The date and time when the content item has been created. * @type {Date} * @memberof ContentDto */ created: Date; /** * The date and time when the content item has been modified last. * @type {Date} * @memberof ContentDto */ lastModified: Date; /** * The status of the content. * @type {string} * @memberof ContentDto */ status: string; /** * The new status of the content. * @type {string} * @memberof ContentDto */ newStatus?: string | null; /** * The color of the status. * @type {string} * @memberof ContentDto */ statusColor: string; /** * The color of the new status. * @type {string} * @memberof ContentDto */ newStatusColor?: string | null; /** * The UI token. * @type {string} * @memberof ContentDto */ editToken?: string | null; /** * * @type {ScheduleJobDto} * @memberof ContentDto */ scheduleJob?: ScheduleJobDto; /** * The ID of the schema. * @type {string} * @memberof ContentDto */ schemaId: string; /** * The name of the schema. * @type {string} * @memberof ContentDto */ schemaName?: string | null; /** * The display name of the schema. * @type {string} * @memberof ContentDto */ schemaDisplayName?: string | null; /** * The reference fields. * @type {Array} * @memberof ContentDto */ referenceFields?: Array | null; /** * Indicates whether the content is deleted. * @type {boolean} * @memberof ContentDto */ isDeleted: boolean; /** * The version of the content. * @type {number} * @memberof ContentDto */ version: number; } /** * Check if a given object implements the ContentDto interface. */ export declare function instanceOfContentDto(value: any): value is ContentDto; export declare function ContentDtoFromJSON(json: any): ContentDto; export declare function ContentDtoFromJSONTyped(json: any, _ignoreDiscriminator: boolean): ContentDto; export declare function ContentDtoToJSON(value?: ContentDto | null, _ignoreDiscriminator?: boolean): any;