"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.instanceOfScheduleRequest = instanceOfScheduleRequest;
exports.ScheduleRequestFromJSON = ScheduleRequestFromJSON;
exports.ScheduleRequestFromJSONTyped = ScheduleRequestFromJSONTyped;
exports.ScheduleRequestToJSON = ScheduleRequestToJSON;
exports.ScheduleRequestToJSONTyped = ScheduleRequestToJSONTyped;
/**
 * Check if a given object implements the ScheduleRequest interface.
 */
function instanceOfScheduleRequest(value) {
    if (!('crontab' in value) || value['crontab'] === undefined)
        return false;
    return true;
}
function ScheduleRequestFromJSON(json) {
    return ScheduleRequestFromJSONTyped(json, false);
}
function ScheduleRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'relObjId': json['rel_obj_id'] == null ? undefined : json['rel_obj_id'],
        'crontab': json['crontab'],
        'paused': json['paused'] == null ? undefined : json['paused'],
    };
}
function ScheduleRequestToJSON(json) {
    return ScheduleRequestToJSONTyped(json, false);
}
function ScheduleRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'rel_obj_id': value['relObjId'],
        'crontab': value['crontab'],
        'paused': value['paused'],
    };
}
//# sourceMappingURL=ScheduleRequest.js.map