/** * 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 { APIKeyOwnerType } from './apikey-owner-type'; import { EnvironmentRead } from './environment-read'; import { MemberAccessLevel } from './member-access-level'; import { MemberAccessObj } from './member-access-obj'; import { OrgMemberRead } from './org-member-read'; import { ProjectRead } from './project-read'; /** * * @export * @interface APIKeyRead */ export interface APIKeyRead { /** * * @type {string} * @memberof APIKeyRead */ organization_id: string; /** * * @type {string} * @memberof APIKeyRead */ project_id?: string; /** * * @type {string} * @memberof APIKeyRead */ environment_id?: string; /** * * @type {MemberAccessObj} * @memberof APIKeyRead */ object_type?: MemberAccessObj; /** * * @type {MemberAccessLevel} * @memberof APIKeyRead */ access_level?: MemberAccessLevel; /** * * @type {APIKeyOwnerType} * @memberof APIKeyRead */ owner_type: APIKeyOwnerType; /** * * @type {string} * @memberof APIKeyRead */ name?: string; /** * * @type {string} * @memberof APIKeyRead */ id: string; /** * * @type {string} * @memberof APIKeyRead */ secret?: string; /** * * @type {string} * @memberof APIKeyRead */ created_at: string; /** * * @type {OrgMemberRead} * @memberof APIKeyRead */ created_by_member?: OrgMemberRead; /** * * @type {string} * @memberof APIKeyRead */ last_used_at?: string; /** * * @type {EnvironmentRead} * @memberof APIKeyRead */ env?: EnvironmentRead; /** * * @type {ProjectRead} * @memberof APIKeyRead */ project?: ProjectRead; }