/**
 * Apideck
 * The Apideck OpenAPI Spec: SDK Optimized
 *
 * The version of the OpenAPI document: 10.13.0
 * Contact: support@apideck.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 { AttachmentReference } from './AttachmentReference';
import { PassThroughBody } from './PassThroughBody';
/**
 *
 * @export
 * @interface Attachment
 */
export interface Attachment {
    /**
     * A unique identifier for an object.
     * @type {string}
     * @memberof Attachment
     */
    readonly id?: string;
    /**
     * The display id of the file
     * @type {string}
     * @memberof Attachment
     */
    display_id?: string | null;
    /**
     * The name of the file
     * @type {string}
     * @memberof Attachment
     */
    name?: string | null;
    /**
     * The MIME type of the file.
     * @type {string}
     * @memberof Attachment
     */
    mime_type?: string | null;
    /**
     * The size of the file in bytes
     * @type {number}
     * @memberof Attachment
     */
    size?: number | null;
    /**
     *
     * @type {AttachmentReference}
     * @memberof Attachment
     */
    reference?: AttachmentReference;
    /**
     * Optional description of the file
     * @type {string}
     * @memberof Attachment
     */
    description?: string | null;
    /**
     * The folder id where this attachment belong to
     * @type {string}
     * @memberof Attachment
     */
    parent_folder_id?: string | null;
    /**
     * The user who last updated the object.
     * @type {string}
     * @memberof Attachment
     */
    readonly updated_by?: string | null;
    /**
     * The user who created the object.
     * @type {string}
     * @memberof Attachment
     */
    readonly created_by?: string | null;
    /**
     * The date and time when the object was last updated.
     * @type {Date}
     * @memberof Attachment
     */
    readonly updated_at?: Date | null;
    /**
     * The date and time when the object was created.
     * @type {Date}
     * @memberof Attachment
     */
    readonly created_at?: Date | null;
    /**
     *
     * @type {PassThroughBody}
     * @memberof Attachment
     */
    pass_through?: PassThroughBody;
}
export declare function AttachmentFromJSON(json: any): Attachment;
export declare function AttachmentFromJSONTyped(json: any, ignoreDiscriminator: boolean): Attachment;
export declare function AttachmentToJSON(value?: Attachment | null): any;
