/* 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 TermsOfServiceSignRequest interface.
 */
export function instanceOfTermsOfServiceSignRequest(value) {
    return true;
}
export function TermsOfServiceSignRequestFromJSON(json) {
    return TermsOfServiceSignRequestFromJSONTyped(json, false);
}
export function TermsOfServiceSignRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'accessToken': json['accessToken'] == null ? undefined : json['accessToken'],
        'termsOfServiceVersion': json['termsOfServiceVersion'] == null ? undefined : json['termsOfServiceVersion'],
    };
}
export function TermsOfServiceSignRequestToJSON(json) {
    return TermsOfServiceSignRequestToJSONTyped(json, false);
}
export function TermsOfServiceSignRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'accessToken': value['accessToken'],
        'termsOfServiceVersion': value['termsOfServiceVersion'],
    };
}
//# sourceMappingURL=TermsOfServiceSignRequest.js.map