"use strict";
/* tslint:disable */
/* eslint-disable */
/**
 * UCX Proxy
 * A single use API for the UCX Proxy.
 *
 * The version of the OpenAPI document: 0.0.12
 * Contact: customersuccess@equisoft.com
 *
 * 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.instanceOfToggleSourceAuthenticationSchema = instanceOfToggleSourceAuthenticationSchema;
exports.ToggleSourceAuthenticationSchemaFromJSON = ToggleSourceAuthenticationSchemaFromJSON;
exports.ToggleSourceAuthenticationSchemaFromJSONTyped = ToggleSourceAuthenticationSchemaFromJSONTyped;
exports.ToggleSourceAuthenticationSchemaToJSON = ToggleSourceAuthenticationSchemaToJSON;
exports.ToggleSourceAuthenticationSchemaToJSONTyped = ToggleSourceAuthenticationSchemaToJSONTyped;
/**
 * Check if a given object implements the ToggleSourceAuthenticationSchema interface.
 */
function instanceOfToggleSourceAuthenticationSchema(value) {
    if (!('isEnabled' in value) || value['isEnabled'] === undefined)
        return false;
    if (!('modifiedBy' in value) || value['modifiedBy'] === undefined)
        return false;
    return true;
}
function ToggleSourceAuthenticationSchemaFromJSON(json) {
    return ToggleSourceAuthenticationSchemaFromJSONTyped(json, false);
}
function ToggleSourceAuthenticationSchemaFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'isEnabled': json['isEnabled'],
        'modifiedBy': json['modifiedBy'],
    };
}
function ToggleSourceAuthenticationSchemaToJSON(json) {
    return ToggleSourceAuthenticationSchemaToJSONTyped(json, false);
}
function ToggleSourceAuthenticationSchemaToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'isEnabled': value['isEnabled'],
        'modifiedBy': value['modifiedBy'],
    };
}
