/** * The Confluence Cloud REST API * This document describes the REST API and resources provided by Confluence. The REST APIs are for developers who want to integrate Confluence into their application and for administrators who want to script interactions with the Confluence server.Confluence\'s REST APIs provide access to resources (data entities) via URI paths. To use a REST API, your application will make an HTTP request and parse the response. The response format is JSON. Your methods will be the standard HTTP methods like GET, PUT, POST and DELETE. Because the REST API is based on open standards, you can use any web development language to access the API. * * The version of the OpenAPI document: 1.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 { ContentCreateAncestors, ContentCreateBody, ContentCreateContainer, ContentCreateSpace } from './'; /** * * @export * @interface ContentCreate */ export interface ContentCreate { /** * The ID of the draft content. Required when publishing a draft. * @type {string} * @memberof ContentCreate */ id?: string; /** * * @type {string} * @memberof ContentCreate */ title: string; /** * The type of the new content. Custom content types defined by apps are also supported. * @type {string} * @memberof ContentCreate */ type: ContentCreateTypeEnum; /** * * @type {ContentCreateSpace} * @memberof ContentCreate */ space: ContentCreateSpace; /** * * @type {ContentCreateContainer} * @memberof ContentCreate */ container?: ContentCreateContainer; /** * The status of the new content. * @type {string} * @memberof ContentCreate */ status?: ContentCreateStatusEnum; /** * The parent content of the new content. Only one parent content `id` can be specified. * @type {Array} * @memberof ContentCreate */ ancestors?: Array; /** * * @type {ContentCreateBody} * @memberof ContentCreate */ body: ContentCreateBody; } export declare function ContentCreateFromJSON(json: any): ContentCreate; export declare function ContentCreateFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContentCreate; export declare function ContentCreateToJSON(value?: ContentCreate): any; /** * @export * @enum {string} */ export declare enum ContentCreateTypeEnum { Page = "page", Blogpost = "blogpost", Comment = "comment", Attachment = "attachment" } /** * @export * @enum {string} */ export declare enum ContentCreateStatusEnum { Current = "current", Trashed = "trashed", Historical = "historical", Draft = "draft" }