/* 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 OAuthGrantType = {
    authorization_code: 'authorization_code',
    refresh_token: 'refresh_token'
};
export function instanceOfOAuthGrantType(value) {
    for (const key in OAuthGrantType) {
        if (Object.prototype.hasOwnProperty.call(OAuthGrantType, key)) {
            if (OAuthGrantType[key] === value) {
                return true;
            }
        }
    }
    return false;
}
export function OAuthGrantTypeFromJSON(json) {
    return OAuthGrantTypeFromJSONTyped(json, false);
}
export function OAuthGrantTypeFromJSONTyped(json, ignoreDiscriminator) {
    return json;
}
export function OAuthGrantTypeToJSON(value) {
    return value;
}
export function OAuthGrantTypeToJSONTyped(value, ignoreDiscriminator) {
    return value;
}
//# sourceMappingURL=OAuthGrantType.js.map