/** * 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 { UserDetails } from './'; /** * Details about an attachment. * @export * @interface Attachment */ export interface Attachment { [key: string]: object | any; /** * The MIME type of the attachment. * @type {string} * @memberof Attachment */ readonly mimeType?: string; /** * The ID of the attachment. * @type {string} * @memberof Attachment */ readonly id?: string; /** * The size of the attachment. * @type {number} * @memberof Attachment */ readonly size?: number; /** * The URL of the attachment details response. * @type {string} * @memberof Attachment */ readonly self?: string; /** * The URL of a thumbnail representing the attachment. * @type {string} * @memberof Attachment */ readonly thumbnail?: string; /** * The file name of the attachment. * @type {string} * @memberof Attachment */ readonly filename?: string; /** * Details of the user who added the attachment. * @type {UserDetails} * @memberof Attachment */ readonly author?: UserDetails; /** * The datetime the attachment was created. * @type {Date} * @memberof Attachment */ readonly created?: Date; /** * The content of the attachment. * @type {string} * @memberof Attachment */ readonly content?: string; } export declare function AttachmentFromJSON(json: any): Attachment; export declare function AttachmentFromJSONTyped(json: any, ignoreDiscriminator: boolean): Attachment; export declare function AttachmentToJSON(value?: Attachment): any;