/* 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'; /** * ApplicationEntitlement Serializer * @export * @interface PatchedApplicationEntitlementRequest */ export interface PatchedApplicationEntitlementRequest { /** * * @type {string} * @memberof PatchedApplicationEntitlementRequest */ name?: string; /** * * @type {string} * @memberof PatchedApplicationEntitlementRequest */ app?: string; /** * * @type {{ [key: string]: any; }} * @memberof PatchedApplicationEntitlementRequest */ attributes?: { [key: string]: any; }; } /** * Check if a given object implements the PatchedApplicationEntitlementRequest interface. */ export function instanceOfPatchedApplicationEntitlementRequest(value: object): value is PatchedApplicationEntitlementRequest { return true; } export function PatchedApplicationEntitlementRequestFromJSON(json: any): PatchedApplicationEntitlementRequest { return PatchedApplicationEntitlementRequestFromJSONTyped(json, false); } export function PatchedApplicationEntitlementRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedApplicationEntitlementRequest { if (json == null) { return json; } return { 'name': json['name'] == null ? undefined : json['name'], 'app': json['app'] == null ? undefined : json['app'], 'attributes': json['attributes'] == null ? undefined : json['attributes'], }; } export function PatchedApplicationEntitlementRequestToJSON(json: any): PatchedApplicationEntitlementRequest { return PatchedApplicationEntitlementRequestToJSONTyped(json, false); } export function PatchedApplicationEntitlementRequestToJSONTyped(value?: PatchedApplicationEntitlementRequest | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'name': value['name'], 'app': value['app'], 'attributes': value['attributes'], }; }