"use strict";
/* tslint:disable */
/* eslint-disable */
/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2025.12.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.instanceOfSyncObjectResult = instanceOfSyncObjectResult;
exports.SyncObjectResultFromJSON = SyncObjectResultFromJSON;
exports.SyncObjectResultFromJSONTyped = SyncObjectResultFromJSONTyped;
exports.SyncObjectResultToJSON = SyncObjectResultToJSON;
exports.SyncObjectResultToJSONTyped = SyncObjectResultToJSONTyped;
const LogEvent_1 = require("./LogEvent");
/**
 * Check if a given object implements the SyncObjectResult interface.
 */
function instanceOfSyncObjectResult(value) {
    if (!('messages' in value) || value['messages'] === undefined)
        return false;
    return true;
}
function SyncObjectResultFromJSON(json) {
    return SyncObjectResultFromJSONTyped(json, false);
}
function SyncObjectResultFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'messages': (json['messages'].map(LogEvent_1.LogEventFromJSON)),
    };
}
function SyncObjectResultToJSON(json) {
    return SyncObjectResultToJSONTyped(json, false);
}
function SyncObjectResultToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {};
}
//# sourceMappingURL=SyncObjectResult.js.map