/* tslint:disable */ /* eslint-disable */ /** * authentik * Making authentication simple. * * The version of the OpenAPI document: 2025.6.3 * Contact: hello@goauthentik.io * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { mapValues } from '../runtime'; /** * Info about a single blueprint instance file * @export * @interface BlueprintInstanceRequest */ export interface BlueprintInstanceRequest { /** * * @type {string} * @memberof BlueprintInstanceRequest */ name: string; /** * * @type {string} * @memberof BlueprintInstanceRequest */ path?: string; /** * * @type {{ [key: string]: any; }} * @memberof BlueprintInstanceRequest */ context?: { [key: string]: any; }; /** * * @type {boolean} * @memberof BlueprintInstanceRequest */ enabled?: boolean; /** * * @type {string} * @memberof BlueprintInstanceRequest */ content?: string; } /** * Check if a given object implements the BlueprintInstanceRequest interface. */ export function instanceOfBlueprintInstanceRequest(value: object): value is BlueprintInstanceRequest { if (!('name' in value) || value['name'] === undefined) return false; return true; } export function BlueprintInstanceRequestFromJSON(json: any): BlueprintInstanceRequest { return BlueprintInstanceRequestFromJSONTyped(json, false); } export function BlueprintInstanceRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): BlueprintInstanceRequest { if (json == null) { return json; } return { 'name': json['name'], 'path': json['path'] == null ? undefined : json['path'], 'context': json['context'] == null ? undefined : json['context'], 'enabled': json['enabled'] == null ? undefined : json['enabled'], 'content': json['content'] == null ? undefined : json['content'], }; } export function BlueprintInstanceRequestToJSON(json: any): BlueprintInstanceRequest { return BlueprintInstanceRequestToJSONTyped(json, false); } export function BlueprintInstanceRequestToJSONTyped(value?: BlueprintInstanceRequest | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'name': value['name'], 'path': value['path'], 'context': value['context'], 'enabled': value['enabled'], 'content': value['content'], }; }