/* 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'; import type { LogEvent } from './LogEvent'; import { LogEventFromJSON, LogEventFromJSONTyped, LogEventToJSON, LogEventToJSONTyped, } from './LogEvent'; /** * Result of a single object sync * @export * @interface SyncObjectResult */ export interface SyncObjectResult { /** * * @type {Array} * @memberof SyncObjectResult */ readonly messages: Array; } /** * Check if a given object implements the SyncObjectResult interface. */ export function instanceOfSyncObjectResult(value: object): value is SyncObjectResult { if (!('messages' in value) || value['messages'] === undefined) return false; return true; } export function SyncObjectResultFromJSON(json: any): SyncObjectResult { return SyncObjectResultFromJSONTyped(json, false); } export function SyncObjectResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): SyncObjectResult { if (json == null) { return json; } return { 'messages': ((json['messages'] as Array).map(LogEventFromJSON)), }; } export function SyncObjectResultToJSON(json: any): SyncObjectResult { return SyncObjectResultToJSONTyped(json, false); } export function SyncObjectResultToJSONTyped(value?: Omit | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { }; }