"use strict";
/* tslint:disable */
/* eslint-disable */
/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2026.2.2-rc1
 * 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.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.instanceOfPatchedApplicationEntitlementRequest = instanceOfPatchedApplicationEntitlementRequest;
exports.PatchedApplicationEntitlementRequestFromJSON = PatchedApplicationEntitlementRequestFromJSON;
exports.PatchedApplicationEntitlementRequestFromJSONTyped = PatchedApplicationEntitlementRequestFromJSONTyped;
exports.PatchedApplicationEntitlementRequestToJSON = PatchedApplicationEntitlementRequestToJSON;
exports.PatchedApplicationEntitlementRequestToJSONTyped = PatchedApplicationEntitlementRequestToJSONTyped;
/**
 * Check if a given object implements the PatchedApplicationEntitlementRequest interface.
 */
function instanceOfPatchedApplicationEntitlementRequest(value) {
    return true;
}
function PatchedApplicationEntitlementRequestFromJSON(json) {
    return PatchedApplicationEntitlementRequestFromJSONTyped(json, false);
}
function PatchedApplicationEntitlementRequestFromJSONTyped(json, ignoreDiscriminator) {
    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'],
    };
}
function PatchedApplicationEntitlementRequestToJSON(json) {
    return PatchedApplicationEntitlementRequestToJSONTyped(json, false);
}
function PatchedApplicationEntitlementRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'name': value['name'],
        'app': value['app'],
        'attributes': value['attributes'],
    };
}
//# sourceMappingURL=PatchedApplicationEntitlementRequest.js.map