/* 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 MemberSubmissionEligibility interface.
 */
export function instanceOfMemberSubmissionEligibility(value) {
    return true;
}
export function MemberSubmissionEligibilityFromJSON(json) {
    return MemberSubmissionEligibilityFromJSONTyped(json, false);
}
export function MemberSubmissionEligibilityFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'isEligible': json['isEligible'] == null ? undefined : json['isEligible'],
        'isRegistered': json['isRegistered'] == null ? undefined : json['isRegistered'],
        'isQuotaFilled': json['isQuotaFilled'] == null ? undefined : json['isQuotaFilled'],
        'principalId': json['principalId'] == null ? undefined : json['principalId'],
        'hasConflictingSubmission': json['hasConflictingSubmission'] == null ? undefined : json['hasConflictingSubmission'],
    };
}
export function MemberSubmissionEligibilityToJSON(json) {
    return MemberSubmissionEligibilityToJSONTyped(json, false);
}
export function MemberSubmissionEligibilityToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'isEligible': value['isEligible'],
        'isRegistered': value['isRegistered'],
        'isQuotaFilled': value['isQuotaFilled'],
        'principalId': value['principalId'],
        'hasConflictingSubmission': value['hasConflictingSubmission'],
    };
}
//# sourceMappingURL=MemberSubmissionEligibility.js.map