/** * OpenAPI definition * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v0 * * * 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 ApiKeyCreate */ export interface ApiKeyCreate { /** * * @type {string} * @memberof ApiKeyCreate */ name?: string; /** * * @type {string} * @memberof ApiKeyCreate */ objectType?: ApiKeyCreateObjectTypeEnum; /** * * @type {string} * @memberof ApiKeyCreate */ ownerType?: ApiKeyCreateOwnerTypeEnum; /** * * @type {string} * @memberof ApiKeyCreate */ organizationId?: string; /** * * @type {string} * @memberof ApiKeyCreate */ projectId?: string; /** * * @type {string} * @memberof ApiKeyCreate */ environmentId?: string; } /** * @export */ export declare const ApiKeyCreateObjectTypeEnum: { readonly Org: "ORG"; readonly Project: "PROJECT"; readonly Env: "ENV"; }; export type ApiKeyCreateObjectTypeEnum = typeof ApiKeyCreateObjectTypeEnum[keyof typeof ApiKeyCreateObjectTypeEnum]; /** * @export */ export declare const ApiKeyCreateOwnerTypeEnum: { readonly Member: "MEMBER"; readonly PdpConfig: "PDP_CONFIG"; readonly Elements: "ELEMENTS"; }; export type ApiKeyCreateOwnerTypeEnum = typeof ApiKeyCreateOwnerTypeEnum[keyof typeof ApiKeyCreateOwnerTypeEnum]; /** * Check if a given object implements the ApiKeyCreate interface. */ export declare function instanceOfApiKeyCreate(value: object): value is ApiKeyCreate; export declare function ApiKeyCreateFromJSON(json: any): ApiKeyCreate; export declare function ApiKeyCreateFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiKeyCreate; export declare function ApiKeyCreateToJSON(json: any): ApiKeyCreate; export declare function ApiKeyCreateToJSONTyped(value?: ApiKeyCreate | null, ignoreDiscriminator?: boolean): any;