/** * Synapse REST API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * JSON schema for File POJO * @export * @interface FileEntity */ export interface FileEntity { /** * The name of this entity. Must be 256 characters or less. Names may only contain: letters, numbers, spaces, underscores, hyphens, periods, plus signs, apostrophes, and parentheses * @type {string} * @memberof FileEntity */ name?: string; /** * The description of this entity. Must be 1000 characters or less. * @type {string} * @memberof FileEntity */ description?: string; /** * The unique immutable ID for this entity. A new ID will be generated for new Entities. Once issued, this ID is guaranteed to never change or be re-issued * @type {string} * @memberof FileEntity */ id?: string; /** * Synapse employs an Optimistic Concurrency Control (OCC) scheme to handle concurrent updates. Since the E-Tag changes every time an entity is updated it is used to detect when a client's current representation of an entity is out-of-date. * @type {string} * @memberof FileEntity */ etag?: string; /** * The date this entity was created. * @type {string} * @memberof FileEntity */ createdOn?: string; /** * The date this entity was last modified. * @type {string} * @memberof FileEntity */ modifiedOn?: string; /** * The ID of the user that created this entity. * @type {string} * @memberof FileEntity */ createdBy?: string; /** * The ID of the user that last modified this entity. * @type {string} * @memberof FileEntity */ modifiedBy?: string; /** * The ID of the Entity that is the parent of this Entity. * @type {string} * @memberof FileEntity */ parentId?: string; /** * Indicates which implementation of Entity this object represents. The value is the fully qualified class name, e.g. org.sagebionetworks.repo.model.FileEntity. * @type {string} * @memberof FileEntity */ concreteType: FileEntityConcreteTypeEnum; /** * The version number issued to this version on the object. * @type {number} * @memberof FileEntity */ versionNumber?: number; /** * The version label for this entity * @type {string} * @memberof FileEntity */ versionLabel?: string; /** * The version comment for this entity * @type {string} * @memberof FileEntity */ versionComment?: string; /** * If this is the latest version of the object. * @type {boolean} * @memberof FileEntity */ isLatestVersion?: boolean; /** * ID of the file associated with this entity. * @type {string} * @memberof FileEntity */ dataFileHandleId?: string; /** * An optional replacement for the name of the uploaded file. This is distinct from the entity name. If omitted the file will retain its original name. * @type {string} * @memberof FileEntity */ fileNameOverride?: string; } /** * @export */ export declare const FileEntityConcreteTypeEnum: { readonly org_sagebionetworks_repo_model_FileEntity: "org.sagebionetworks.repo.model.FileEntity"; }; export type FileEntityConcreteTypeEnum = typeof FileEntityConcreteTypeEnum[keyof typeof FileEntityConcreteTypeEnum]; /** * Check if a given object implements the FileEntity interface. */ export declare function instanceOfFileEntity(value: object): value is FileEntity; export declare function FileEntityFromJSON(json: any): FileEntity; export declare function FileEntityFromJSONTyped(json: any, ignoreDiscriminator: boolean): FileEntity; export declare function FileEntityToJSON(json: any): FileEntity; export declare function FileEntityToJSONTyped(value?: FileEntity | null, ignoreDiscriminator?: boolean): any;