/** * 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, ContentUpdateBody, ContentUpdateVersion } from './'; /** * * @export * @interface ContentUpdate */ export interface ContentUpdate { /** * * @type {ContentUpdateVersion} * @memberof ContentUpdate */ version: ContentUpdateVersion; /** * The updated title of the content. If you are not changing this field, set this to the current `title`. * @type {string} * @memberof ContentUpdate */ title: string; /** * The type of content. Set this to the current type of the content. * @type {string} * @memberof ContentUpdate */ type: ContentUpdateTypeEnum; /** * The updated status of the content. Note, if you change the status of a page from \'current\' to \'draft\' and it has an existing draft, the existing draft will be deleted in favor of the updated page. * @type {string} * @memberof ContentUpdate */ status?: ContentUpdateStatusEnum; /** * The new parent for the content. Only one parent content \'id\' can be specified. * @type {Array} * @memberof ContentUpdate */ ancestors?: Array; /** * * @type {ContentUpdateBody} * @memberof ContentUpdate */ body?: ContentUpdateBody; } export declare function ContentUpdateFromJSON(json: any): ContentUpdate; export declare function ContentUpdateFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContentUpdate; export declare function ContentUpdateToJSON(value?: ContentUpdate): any; /** * @export * @enum {string} */ export declare enum ContentUpdateTypeEnum { Page = "page", Blogpost = "blogpost", Comment = "comment", Attachment = "attachment" } /** * @export * @enum {string} */ export declare enum ContentUpdateStatusEnum { Current = "current", Trashed = "trashed", Historical = "historical", Draft = "draft" }