"use strict";
/* tslint:disable */
/* eslint-disable */
/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2026.2.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.instanceOfSourceStageRequest = instanceOfSourceStageRequest;
exports.SourceStageRequestFromJSON = SourceStageRequestFromJSON;
exports.SourceStageRequestFromJSONTyped = SourceStageRequestFromJSONTyped;
exports.SourceStageRequestToJSON = SourceStageRequestToJSON;
exports.SourceStageRequestToJSONTyped = SourceStageRequestToJSONTyped;
/**
 * Check if a given object implements the SourceStageRequest interface.
 */
function instanceOfSourceStageRequest(value) {
    if (!('name' in value) || value['name'] === undefined)
        return false;
    if (!('source' in value) || value['source'] === undefined)
        return false;
    return true;
}
function SourceStageRequestFromJSON(json) {
    return SourceStageRequestFromJSONTyped(json, false);
}
function SourceStageRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'name': json['name'],
        'source': json['source'],
        'resumeTimeout': json['resume_timeout'] == null ? undefined : json['resume_timeout'],
    };
}
function SourceStageRequestToJSON(json) {
    return SourceStageRequestToJSONTyped(json, false);
}
function SourceStageRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'name': value['name'],
        'source': value['source'],
        'resume_timeout': value['resumeTimeout'],
    };
}
//# sourceMappingURL=SourceStageRequest.js.map