/* 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 OAuthTokenIntrospectionRequest interface.
 */
export function instanceOfOAuthTokenIntrospectionRequest(value) {
    return true;
}
export function OAuthTokenIntrospectionRequestFromJSON(json) {
    return OAuthTokenIntrospectionRequestFromJSONTyped(json, false);
}
export function OAuthTokenIntrospectionRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'token': json['token'] == null ? undefined : json['token'],
        'max_age': json['max_age'] == null ? undefined : json['max_age'],
    };
}
export function OAuthTokenIntrospectionRequestToJSON(json) {
    return OAuthTokenIntrospectionRequestToJSONTyped(json, false);
}
export function OAuthTokenIntrospectionRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'token': value['token'],
        'max_age': value['max_age'],
    };
}
//# sourceMappingURL=OAuthTokenIntrospectionRequest.js.map