"use strict";
/* tslint:disable */
/* eslint-disable */
/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2025.10.0-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.instanceOfMetadata = instanceOfMetadata;
exports.MetadataFromJSON = MetadataFromJSON;
exports.MetadataFromJSONTyped = MetadataFromJSONTyped;
exports.MetadataToJSON = MetadataToJSON;
exports.MetadataToJSONTyped = MetadataToJSONTyped;
/**
 * Check if a given object implements the Metadata interface.
 */
function instanceOfMetadata(value) {
    if (!('name' in value) || value['name'] === undefined)
        return false;
    if (!('labels' in value) || value['labels'] === undefined)
        return false;
    return true;
}
function MetadataFromJSON(json) {
    return MetadataFromJSONTyped(json, false);
}
function MetadataFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'name': json['name'],
        'labels': json['labels'],
    };
}
function MetadataToJSON(json) {
    return MetadataToJSONTyped(json, false);
}
function MetadataToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'name': value['name'],
        'labels': value['labels'],
    };
}
//# sourceMappingURL=Metadata.js.map