/* tslint:disable */
/* eslint-disable */
/**
 * Synapse REST API
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: v1
 *
 *
 * 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 Settings interface.
 */
export function instanceOfSettings(value) {
    return true;
}
export function SettingsFromJSON(json) {
    return SettingsFromJSONTyped(json, false);
}
export function SettingsFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'sendEmailNotifications': json['sendEmailNotifications'] == null ? undefined : json['sendEmailNotifications'],
        'markEmailedMessagesAsRead': json['markEmailedMessagesAsRead'] == null ? undefined : json['markEmailedMessagesAsRead'],
    };
}
export function SettingsToJSON(json) {
    return SettingsToJSONTyped(json, false);
}
export function SettingsToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'sendEmailNotifications': value['sendEmailNotifications'],
        'markEmailedMessagesAsRead': value['markEmailedMessagesAsRead'],
    };
}
//# sourceMappingURL=Settings.js.map