/* 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 EvaluationRoundLimitLimitTypeEnum = {
    TOTAL: 'TOTAL',
    DAILY: 'DAILY',
    WEEKLY: 'WEEKLY',
    MONTHLY: 'MONTHLY'
};
/**
 * Check if a given object implements the EvaluationRoundLimit interface.
 */
export function instanceOfEvaluationRoundLimit(value) {
    if (!('limitType' in value) || value['limitType'] === undefined)
        return false;
    if (!Object.values(EvaluationRoundLimitLimitTypeEnum).includes(value["limitType"])) {
        return false;
    }
    if (!('maximumSubmissions' in value) || value['maximumSubmissions'] === undefined)
        return false;
    return true;
}
export function EvaluationRoundLimitFromJSON(json) {
    return EvaluationRoundLimitFromJSONTyped(json, false);
}
export function EvaluationRoundLimitFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'limitType': json['limitType'],
        'maximumSubmissions': json['maximumSubmissions'],
    };
}
export function EvaluationRoundLimitToJSON(json) {
    return EvaluationRoundLimitToJSONTyped(json, false);
}
export function EvaluationRoundLimitToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'limitType': value['limitType'],
        'maximumSubmissions': value['maximumSubmissions'],
    };
}
//# sourceMappingURL=EvaluationRoundLimit.js.map