/* tslint:disable */ /* eslint-disable */ /** * authentik Blueprint Registry * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: * 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'; /** * * @export * @interface PatchedOrganizationRequest */ export interface PatchedOrganizationRequest { /** * * @type {string} * @memberof PatchedOrganizationRequest */ slug?: string; /** * * @type {string} * @memberof PatchedOrganizationRequest */ name?: string; /** * * @type {boolean} * @memberof PatchedOrganizationRequest */ _private?: boolean; /** * * @type {string} * @memberof PatchedOrganizationRequest */ description?: string; } /** * Check if a given object implements the PatchedOrganizationRequest interface. */ export function instanceOfPatchedOrganizationRequest(value: object): value is PatchedOrganizationRequest { return true; } export function PatchedOrganizationRequestFromJSON(json: any): PatchedOrganizationRequest { return PatchedOrganizationRequestFromJSONTyped(json, false); } export function PatchedOrganizationRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedOrganizationRequest { if (json == null) { return json; } return { 'slug': json['slug'] == null ? undefined : json['slug'], 'name': json['name'] == null ? undefined : json['name'], '_private': json['private'] == null ? undefined : json['private'], 'description': json['description'] == null ? undefined : json['description'], }; } export function PatchedOrganizationRequestToJSON(json: any): PatchedOrganizationRequest { return PatchedOrganizationRequestToJSONTyped(json, false); } export function PatchedOrganizationRequestToJSONTyped(value?: PatchedOrganizationRequest | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'slug': value['slug'], 'name': value['name'], 'private': value['_private'], 'description': value['description'], }; }