"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.instanceOfFlowImportResult = instanceOfFlowImportResult;
exports.FlowImportResultFromJSON = FlowImportResultFromJSON;
exports.FlowImportResultFromJSONTyped = FlowImportResultFromJSONTyped;
exports.FlowImportResultToJSON = FlowImportResultToJSON;
exports.FlowImportResultToJSONTyped = FlowImportResultToJSONTyped;
const LogEvent_1 = require("./LogEvent");
/**
 * Check if a given object implements the FlowImportResult interface.
 */
function instanceOfFlowImportResult(value) {
    if (!('logs' in value) || value['logs'] === undefined)
        return false;
    if (!('success' in value) || value['success'] === undefined)
        return false;
    return true;
}
function FlowImportResultFromJSON(json) {
    return FlowImportResultFromJSONTyped(json, false);
}
function FlowImportResultFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'logs': (json['logs'].map(LogEvent_1.LogEventFromJSON)),
        'success': json['success'],
    };
}
function FlowImportResultToJSON(json) {
    return FlowImportResultToJSONTyped(json, false);
}
function FlowImportResultToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {};
}
//# sourceMappingURL=FlowImportResult.js.map