/** * 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 { MemberAccessLevel } from './member-access-level'; import { MemberAccessObj } from './member-access-obj'; /** * * @export * @interface APIKeyCreate */ export interface APIKeyCreate { /** * * @type {string} * @memberof APIKeyCreate */ organization_id: string; /** * * @type {string} * @memberof APIKeyCreate */ project_id?: string; /** * * @type {string} * @memberof APIKeyCreate */ environment_id?: string; /** * * @type {MemberAccessObj} * @memberof APIKeyCreate */ object_type?: MemberAccessObj; /** * * @type {MemberAccessLevel} * @memberof APIKeyCreate */ access_level?: MemberAccessLevel; /** * * @type {APIKeyOwnerType} * @memberof APIKeyCreate */ owner_type?: APIKeyOwnerType; /** * * @type {string} * @memberof APIKeyCreate */ name?: string; }