/** * 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 { ShortUser } from './ShortUser'; /** * * @export * @interface FolderWithoutChildren */ export interface FolderWithoutChildren { /** * * @type {number} * @memberof FolderWithoutChildren */ readonly id: number; /** * * @type {number} * @memberof FolderWithoutChildren */ parent_id?: number | null; /** * DEPRECATED: Use 'nature' instead. Value is "Folder". It is usefull to parse the tree and discriminate folders and files * @type {string} * @memberof FolderWithoutChildren */ readonly type: string; /** * Value is "Folder". It is usefull to parse the tree and discriminate folders and files * @type {string} * @memberof FolderWithoutChildren */ readonly nature: string; /** * Name of the folder * @type {string} * @memberof FolderWithoutChildren */ name: string; /** * Creation date * @type {Date} * @memberof FolderWithoutChildren */ readonly created_at: Date; /** * Date of the last update * @type {Date} * @memberof FolderWithoutChildren */ readonly updated_at: Date; /** * * @type {ShortUser} * @memberof FolderWithoutChildren */ readonly created_by: ShortUser | null; /** * List of group permissions * @type {Array} * @memberof FolderWithoutChildren */ readonly groups_permissions: Array; /** * Permission for a Folder * * * `1` - denied * * `50` - read_only * * `100` - read_write * @type {number} * @memberof FolderWithoutChildren */ default_permission?: FolderWithoutChildrenDefaultPermissionEnum; /** * Aggregate of group user permissions and folder default permission * @type {number} * @memberof FolderWithoutChildren */ readonly user_permission: FolderWithoutChildrenUserPermissionEnum; } /** * @export * @enum {string} */ export declare enum FolderWithoutChildrenDefaultPermissionEnum { NUMBER_1 = 1, NUMBER_50 = 50, NUMBER_100 = 100 } /** * @export * @enum {string} */ export declare enum FolderWithoutChildrenUserPermissionEnum { NUMBER_1 = 1, NUMBER_50 = 50, NUMBER_100 = 100 } export declare function FolderWithoutChildrenFromJSON(json: any): FolderWithoutChildren; export declare function FolderWithoutChildrenFromJSONTyped(json: any, ignoreDiscriminator: boolean): FolderWithoutChildren; export declare function FolderWithoutChildrenToJSON(value?: FolderWithoutChildren | null): any;