/** * Permit.io API * Authorization as a service * * The version of the OpenAPI document: 2.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface TenantRead */ export interface TenantRead { /** * A unique id by which Permit will identify the tenant. The tenant key must be url-friendly (slugified). * @type {string} * @memberof TenantRead */ key: string; /** * Unique id of the tenant * @type {string} * @memberof TenantRead */ id: string; /** * Unique id of the organization that the tenant belongs to. * @type {string} * @memberof TenantRead */ organization_id: string; /** * Unique id of the project that the tenant belongs to. * @type {string} * @memberof TenantRead */ project_id: string; /** * Unique id of the environment that the tenant belongs to. * @type {string} * @memberof TenantRead */ environment_id: string; /** * Date and time when the tenant was created (ISO_8601 format). * @type {string} * @memberof TenantRead */ created_at: string; /** * Date and time when the tenant was last updated/modified (ISO_8601 format). * @type {string} * @memberof TenantRead */ updated_at: string; /** * Date and time when the tenant was last active (ISO_8601 format). In other words, this is the last time a permission check was done on a resource belonging to this tenant. * @type {string} * @memberof TenantRead */ last_action_at: string; /** * A descriptive name for the tenant * @type {string} * @memberof TenantRead */ name: string; /** * an optional longer description of the tenant * @type {string} * @memberof TenantRead */ description?: string; /** * Arbitraty tenant attributes that will be used to enforce attribute-based access control policies. * @type {object} * @memberof TenantRead */ attributes?: object; }