/** * 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. */ /** * This is a flattened nested representation of FosUser, Invitation, UserCloud and UserProject models in this serializer. * @export * @interface UserProject */ export interface UserProject { /** * * @type {number} * @memberof UserProject */ readonly id: number; /** * * @type {number} * @memberof UserProject */ readonly user_id: number | null; /** * * @type {number} * @memberof UserProject */ readonly invitation_id: number | null; /** * * @type {string} * @memberof UserProject */ readonly email: string; /** * * @type {string} * @memberof UserProject */ readonly firstname: string | null; /** * * @type {string} * @memberof UserProject */ readonly lastname: string | null; /** * * @type {string} * @memberof UserProject */ readonly profile_picture: string | null; /** * * @type {string} * @memberof UserProject */ readonly sub: string | null; /** * * `100` - admin * * `50` - user * * `25` - guest * @type {number} * @memberof UserProject */ readonly role: UserProjectRoleEnum; /** * * `100` - admin * * `50` - user * @type {number} * @memberof UserProject */ readonly cloud_role: UserProjectCloudRoleEnum; /** * * @type {boolean} * @memberof UserProject */ readonly in_all_projects: boolean; } /** * @export * @enum {string} */ export declare enum UserProjectRoleEnum { NUMBER_100 = 100, NUMBER_50 = 50, NUMBER_25 = 25 } /** * @export * @enum {string} */ export declare enum UserProjectCloudRoleEnum { NUMBER_100 = 100, NUMBER_50 = 50 } export declare function UserProjectFromJSON(json: any): UserProject; export declare function UserProjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserProject; export declare function UserProjectToJSON(value?: UserProject | null): any;