/** * The Jira Cloud platform REST API * Jira Cloud platform REST API documentation * * The version of the OpenAPI document: 1001.0.0-SNAPSHOT * Contact: ecosystem@atlassian.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { EntityProperty, UserDetails, Visibility } from './'; /** * A comment. * @export * @interface Comment */ export interface Comment { [key: string]: object | any; /** * The ID of the user who updated the comment last. * @type {UserDetails} * @memberof Comment */ readonly updateAuthor?: UserDetails; /** * The ID of the comment. * @type {string} * @memberof Comment */ readonly id?: string; /** * A list of comment properties. Optional on create and update. * @type {Array} * @memberof Comment */ properties?: Array; /** * The date and time at which the comment was updated last. * @type {Date} * @memberof Comment */ readonly updated?: Date; /** * The group or role to which this comment is visible. Optional on create and update. * @type {Visibility} * @memberof Comment */ visibility?: Visibility; /** * The comment text in [Atlassian Document Format](https://developer.atlassian.com/cloud/jira/platform/apis/document/structure/). * @type {object} * @memberof Comment */ body?: object; /** * The URL of the comment. * @type {string} * @memberof Comment */ readonly self?: string; /** * The rendered version of the comment. * @type {string} * @memberof Comment */ readonly renderedBody?: string; /** * Indicates whether the comment is visible in Jira Service Desk. Defaults to true when comments are created in the Jira Cloud Platform. This includes when the site doesn\'t use Jira Service Desk or the project isn\'t a Jira Service Desk project and, therefore, there is no Jira Service Desk for the issue to be visible on. To create a comment with its visibility in Jira Service Desk set to false, use the Jira Service Desk REST API [Create request comment](https://developer.atlassian.com/cloud/jira/service-desk/rest/#api-rest-servicedeskapi-request-issueIdOrKey-comment-post) operation. * @type {boolean} * @memberof Comment */ readonly jsdPublic?: boolean; /** * The date and time at which the comment was created. * @type {Date} * @memberof Comment */ readonly created?: Date; /** * The ID of the user who created the comment. * @type {UserDetails} * @memberof Comment */ readonly author?: UserDetails; } export declare function CommentFromJSON(json: any): Comment; export declare function CommentFromJSONTyped(json: any, ignoreDiscriminator: boolean): Comment; export declare function CommentToJSON(value?: Comment): any;