UNPKG

fetch-jsd

Version:

A simple and typed library, based on OpenAPI spec from developer.atlassian.com, for accessing product APIs.

59 lines (58 loc) 1.52 kB
/** * 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 { AttachmentLinkDTO, DateDTO, UserDTO } from './'; /** * * @export * @interface AttachmentDTO */ export interface AttachmentDTO { /** * Filename of the item attached. * @type {string} * @memberof AttachmentDTO */ filename?: string; /** * Details of the user who attached the file. * @type {UserDTO} * @memberof AttachmentDTO */ author?: UserDTO; /** * Date the attachment was added. * @type {DateDTO} * @memberof AttachmentDTO */ created?: DateDTO; /** * Size of the attachment in bytes. * @type {number} * @memberof AttachmentDTO */ size?: number; /** * MIME type of the attachment. * @type {string} * @memberof AttachmentDTO */ mimeType?: string; /** * Various URLs for the attachment. * @type {AttachmentLinkDTO} * @memberof AttachmentDTO */ _links?: AttachmentLinkDTO; } export declare function AttachmentDTOFromJSON(json: any): AttachmentDTO; export declare function AttachmentDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttachmentDTO; export declare function AttachmentDTOToJSON(value?: AttachmentDTO): any;