/** * 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. */ import { AttributeType } from './attribute-type'; /** * * @export * @interface ResourceAttributeRead */ export interface ResourceAttributeRead { /** * The type of the attribute, we currently support: `bool`, `number` (ints, floats), `time` (a timestamp), `string`, and `json`. * @type {AttributeType} * @memberof ResourceAttributeRead */ type: AttributeType; /** * An optional longer description of what this attribute respresents in your system * @type {string} * @memberof ResourceAttributeRead */ description?: string; /** * A URL-friendly name of the attribute (i.e: slug). You will be able to query later using this key instead of the id (UUID) of the attribute. * @type {string} * @memberof ResourceAttributeRead */ key: string; /** * Unique id of the attribute * @type {string} * @memberof ResourceAttributeRead */ id: string; /** * Unique id of the resource that the attribute belongs to. * @type {string} * @memberof ResourceAttributeRead */ resource_id: string; /** * A URL-friendly name of the resource (i.e: slug). You will be able to query later using this key instead of the id (UUID) of the resource. * @type {string} * @memberof ResourceAttributeRead */ resource_key: string; /** * Unique id of the organization that the attribute belongs to. * @type {string} * @memberof ResourceAttributeRead */ organization_id: string; /** * Unique id of the project that the attribute belongs to. * @type {string} * @memberof ResourceAttributeRead */ project_id: string; /** * Unique id of the environment that the attribute belongs to. * @type {string} * @memberof ResourceAttributeRead */ environment_id: string; /** * Date and time when the attribute was created (ISO_8601 format). * @type {string} * @memberof ResourceAttributeRead */ created_at: string; /** * Date and time when the attribute was last updated/modified (ISO_8601 format). * @type {string} * @memberof ResourceAttributeRead */ updated_at: string; /** * Whether the attribute is built-in, and managed by the Permit system. * @type {boolean} * @memberof ResourceAttributeRead */ built_in: boolean; }