/* 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.
 */
/**
 * @export
 */
export const MessageStatusStatusEnum = {
    READ: 'READ',
    UNREAD: 'UNREAD',
    ARCHIVED: 'ARCHIVED'
};
/**
 * Check if a given object implements the MessageStatus interface.
 */
export function instanceOfMessageStatus(value) {
    return true;
}
export function MessageStatusFromJSON(json) {
    return MessageStatusFromJSONTyped(json, false);
}
export function MessageStatusFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'messageId': json['messageId'] == null ? undefined : json['messageId'],
        'recipientId': json['recipientId'] == null ? undefined : json['recipientId'],
        'status': json['status'] == null ? undefined : json['status'],
    };
}
export function MessageStatusToJSON(json) {
    return MessageStatusToJSONTyped(json, false);
}
export function MessageStatusToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'messageId': value['messageId'],
        'recipientId': value['recipientId'],
        'status': value['status'],
    };
}
//# sourceMappingURL=MessageStatus.js.map