fetch-jsd
Version:
A simple and typed library, based on OpenAPI spec from developer.atlassian.com, for accessing product APIs.
77 lines (76 loc) • 2.06 kB
TypeScript
/**
* Service Desk Public REST API
* Public REST API for Jira Service Desk
*
* The version of the OpenAPI document: 1001.0.0-SNAPSHOT
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { DateDTO, PagedDTOAttachmentDTO, RenderedValueDTO, SelfLinkDTO, UserDTO } from './';
/**
*
* @export
* @interface CommentDTO
*/
export interface CommentDTO {
/**
* ID of the comment.
* @type {string}
* @memberof CommentDTO
*/
id?: string;
/**
* Content of the comment.
* @type {string}
* @memberof CommentDTO
*/
body?: string;
/**
* The rendered body of the comment.
* @type {RenderedValueDTO}
* @memberof CommentDTO
*/
renderedBody?: RenderedValueDTO;
/**
* Details of the customer who authored the comment.
* @type {UserDTO}
* @memberof CommentDTO
*/
author?: UserDTO;
/**
* Date the comment was created.
* @type {DateDTO}
* @memberof CommentDTO
*/
created?: DateDTO;
/**
* List of the attachments included in the comment.
* @type {PagedDTOAttachmentDTO}
* @memberof CommentDTO
*/
attachments?: PagedDTOAttachmentDTO;
/**
* List of items that can be expanded in the response by specifying the expand query parameter.
* @type {Array<string>}
* @memberof CommentDTO
*/
_expands?: Array<string>;
/**
* Indicates whether the comment is public (true) or private/internal (false).
* @type {boolean}
* @memberof CommentDTO
*/
_public?: boolean;
/**
* REST API URL link to the comment.
* @type {SelfLinkDTO}
* @memberof CommentDTO
*/
_links?: SelfLinkDTO;
}
export declare function CommentDTOFromJSON(json: any): CommentDTO;
export declare function CommentDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): CommentDTO;
export declare function CommentDTOToJSON(value?: CommentDTO): any;