/* 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.
 */
/**
 * Check if a given object implements the ToggleSourceAuthenticationSchema interface.
 */
export function instanceOfToggleSourceAuthenticationSchema(value) {
    if (!('isEnabled' in value) || value['isEnabled'] === undefined)
        return false;
    if (!('modifiedBy' in value) || value['modifiedBy'] === undefined)
        return false;
    return true;
}
export function ToggleSourceAuthenticationSchemaFromJSON(json) {
    return ToggleSourceAuthenticationSchemaFromJSONTyped(json, false);
}
export function ToggleSourceAuthenticationSchemaFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'isEnabled': json['isEnabled'],
        'modifiedBy': json['modifiedBy'],
    };
}
export function ToggleSourceAuthenticationSchemaToJSON(json) {
    return ToggleSourceAuthenticationSchemaToJSONTyped(json, false);
}
export function ToggleSourceAuthenticationSchemaToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'isEnabled': value['isEnabled'],
        'modifiedBy': value['modifiedBy'],
    };
}
