/* 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 MessageRecipientSet interface.
 */
export function instanceOfMessageRecipientSet(value) {
    return true;
}
export function MessageRecipientSetFromJSON(json) {
    return MessageRecipientSetFromJSONTyped(json, false);
}
export function MessageRecipientSetFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'recipients': json['recipients'] == null ? undefined : new Set(json['recipients']),
    };
}
export function MessageRecipientSetToJSON(json) {
    return MessageRecipientSetToJSONTyped(json, false);
}
export function MessageRecipientSetToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'recipients': value['recipients'] == null ? undefined : Array.from(value['recipients']),
    };
}
//# sourceMappingURL=MessageRecipientSet.js.map