/* 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 TermsOfServiceStatusUserCurrentTermsOfServiceStateEnum = {
    MUST_AGREE_NOW: 'MUST_AGREE_NOW',
    MUST_AGREE_SOON: 'MUST_AGREE_SOON',
    UP_TO_DATE: 'UP_TO_DATE'
};
/**
 * Check if a given object implements the TermsOfServiceStatus interface.
 */
export function instanceOfTermsOfServiceStatus(value) {
    return true;
}
export function TermsOfServiceStatusFromJSON(json) {
    return TermsOfServiceStatusFromJSONTyped(json, false);
}
export function TermsOfServiceStatusFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'userId': json['userId'] == null ? undefined : json['userId'],
        'userCurrentTermsOfServiceState': json['userCurrentTermsOfServiceState'] == null ? undefined : json['userCurrentTermsOfServiceState'],
        'lastAgreementDate': json['lastAgreementDate'] == null ? undefined : json['lastAgreementDate'],
        'lastAgreementVersion': json['lastAgreementVersion'] == null ? undefined : json['lastAgreementVersion'],
    };
}
export function TermsOfServiceStatusToJSON(json) {
    return TermsOfServiceStatusToJSONTyped(json, false);
}
export function TermsOfServiceStatusToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'userId': value['userId'],
        'userCurrentTermsOfServiceState': value['userCurrentTermsOfServiceState'],
        'lastAgreementDate': value['lastAgreementDate'],
        'lastAgreementVersion': value['lastAgreementVersion'],
    };
}
//# sourceMappingURL=TermsOfServiceStatus.js.map