/* 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 OAuthClientIdAndSecret interface.
 */
export function instanceOfOAuthClientIdAndSecret(value) {
    return true;
}
export function OAuthClientIdAndSecretFromJSON(json) {
    return OAuthClientIdAndSecretFromJSONTyped(json, false);
}
export function OAuthClientIdAndSecretFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'client_id': json['client_id'] == null ? undefined : json['client_id'],
        'client_secret': json['client_secret'] == null ? undefined : json['client_secret'],
    };
}
export function OAuthClientIdAndSecretToJSON(json) {
    return OAuthClientIdAndSecretToJSONTyped(json, false);
}
export function OAuthClientIdAndSecretToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'client_id': value['client_id'],
        'client_secret': value['client_secret'],
    };
}
//# sourceMappingURL=OAuthClientIdAndSecret.js.map