/* 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 OAuthConsentGrantedResponse interface.
 */
export function instanceOfOAuthConsentGrantedResponse(value) {
    return true;
}
export function OAuthConsentGrantedResponseFromJSON(json) {
    return OAuthConsentGrantedResponseFromJSONTyped(json, false);
}
export function OAuthConsentGrantedResponseFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'granted': json['granted'] == null ? undefined : json['granted'],
    };
}
export function OAuthConsentGrantedResponseToJSON(json) {
    return OAuthConsentGrantedResponseToJSONTyped(json, false);
}
export function OAuthConsentGrantedResponseToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'granted': value['granted'],
    };
}
//# sourceMappingURL=OAuthConsentGrantedResponse.js.map