/* 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 SubmissionQuota interface.
 */
export function instanceOfSubmissionQuota(value) {
    return true;
}
export function SubmissionQuotaFromJSON(json) {
    return SubmissionQuotaFromJSONTyped(json, false);
}
export function SubmissionQuotaFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'firstRoundStart': json['firstRoundStart'] == null ? undefined : json['firstRoundStart'],
        'roundDurationMillis': json['roundDurationMillis'] == null ? undefined : json['roundDurationMillis'],
        'numberOfRounds': json['numberOfRounds'] == null ? undefined : json['numberOfRounds'],
        'submissionLimit': json['submissionLimit'] == null ? undefined : json['submissionLimit'],
    };
}
export function SubmissionQuotaToJSON(json) {
    return SubmissionQuotaToJSONTyped(json, false);
}
export function SubmissionQuotaToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'firstRoundStart': value['firstRoundStart'],
        'roundDurationMillis': value['roundDurationMillis'],
        'numberOfRounds': value['numberOfRounds'],
        'submissionLimit': value['submissionLimit'],
    };
}
//# sourceMappingURL=SubmissionQuota.js.map