/* 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 OAuthTokenRevocationRequestTokenTypeHintEnum = {
    access_token: 'access_token',
    refresh_token: 'refresh_token'
};
/**
 * Check if a given object implements the OAuthTokenRevocationRequest interface.
 */
export function instanceOfOAuthTokenRevocationRequest(value) {
    return true;
}
export function OAuthTokenRevocationRequestFromJSON(json) {
    return OAuthTokenRevocationRequestFromJSONTyped(json, false);
}
export function OAuthTokenRevocationRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'token': json['token'] == null ? undefined : json['token'],
        'token_type_hint': json['token_type_hint'] == null ? undefined : json['token_type_hint'],
    };
}
export function OAuthTokenRevocationRequestToJSON(json) {
    return OAuthTokenRevocationRequestToJSONTyped(json, false);
}
export function OAuthTokenRevocationRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'token': value['token'],
        'token_type_hint': value['token_type_hint'],
    };
}
//# sourceMappingURL=OAuthTokenRevocationRequest.js.map