/** * BIMData API * BIMData API is a tool to interact with your models stored on BIMData’s servers. Through the API, you can manage your projects, the clouds, upload your IFC files and manage them through endpoints. * * The version of the OpenAPI document: v1 (v1) * Contact: support@bimdata.io * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { GroupFolderRead } from './GroupFolderRead'; import { LightDocument } from './LightDocument'; import { ShortUser } from './ShortUser'; /** * * @export * @interface EditFolder */ export interface EditFolder { /** * Aggregate of group user permissions and folder default permission * @type {number} * @memberof EditFolder */ readonly user_permission: EditFolderUserPermissionEnum; /** * DEPRECATED: Use 'nature' instead. Value is "Folder". It is usefull to parse the tree and discriminate folders and files * @type {string} * @memberof EditFolder */ readonly type: string; /** * * @type {number} * @memberof EditFolder */ readonly id: number; /** * Creation date * @type {Date} * @memberof EditFolder */ readonly created_at: Date; /** * * @type {ShortUser} * @memberof EditFolder */ readonly created_by: ShortUser | null; /** * Permission for a Folder * * * `1` - denied * * `50` - read_only * * `100` - read_write * @type {number} * @memberof EditFolder */ default_permission?: EditFolderDefaultPermissionEnum; /** * Date of the last update * @type {Date} * @memberof EditFolder */ readonly updated_at: Date; /** * Name of the folder * @type {string} * @memberof EditFolder */ name: string; /** * * @type {number} * @memberof EditFolder */ parent_id?: number | null; /** * List of group permissions * @type {Array} * @memberof EditFolder */ readonly groups_permissions: Array; /** * Value is "Folder". It is usefull to parse the tree and discriminate folders and files * @type {string} * @memberof EditFolder */ readonly nature: string; /** * Return document with naming conflict. This is only set when you move a folder * @type {Array} * @memberof EditFolder */ readonly conflicting_documents: Array; } /** * @export * @enum {string} */ export declare enum EditFolderUserPermissionEnum { NUMBER_1 = 1, NUMBER_50 = 50, NUMBER_100 = 100 } /** * @export * @enum {string} */ export declare enum EditFolderDefaultPermissionEnum { NUMBER_1 = 1, NUMBER_50 = 50, NUMBER_100 = 100 } export declare function EditFolderFromJSON(json: any): EditFolder; export declare function EditFolderFromJSONTyped(json: any, ignoreDiscriminator: boolean): EditFolder; export declare function EditFolderToJSON(value?: EditFolder | null): any;