"use strict";
/* tslint:disable */
/* eslint-disable */
/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2026.2.0-rc5
 * 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.instanceOfPatchedCertificateKeyPairRequest = instanceOfPatchedCertificateKeyPairRequest;
exports.PatchedCertificateKeyPairRequestFromJSON = PatchedCertificateKeyPairRequestFromJSON;
exports.PatchedCertificateKeyPairRequestFromJSONTyped = PatchedCertificateKeyPairRequestFromJSONTyped;
exports.PatchedCertificateKeyPairRequestToJSON = PatchedCertificateKeyPairRequestToJSON;
exports.PatchedCertificateKeyPairRequestToJSONTyped = PatchedCertificateKeyPairRequestToJSONTyped;
/**
 * Check if a given object implements the PatchedCertificateKeyPairRequest interface.
 */
function instanceOfPatchedCertificateKeyPairRequest(value) {
    return true;
}
function PatchedCertificateKeyPairRequestFromJSON(json) {
    return PatchedCertificateKeyPairRequestFromJSONTyped(json, false);
}
function PatchedCertificateKeyPairRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'name': json['name'] == null ? undefined : json['name'],
        'certificateData': json['certificate_data'] == null ? undefined : json['certificate_data'],
        'keyData': json['key_data'] == null ? undefined : json['key_data'],
    };
}
function PatchedCertificateKeyPairRequestToJSON(json) {
    return PatchedCertificateKeyPairRequestToJSONTyped(json, false);
}
function PatchedCertificateKeyPairRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'name': value['name'],
        'certificate_data': value['certificateData'],
        'key_data': value['keyData'],
    };
}
//# sourceMappingURL=PatchedCertificateKeyPairRequest.js.map