/* 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 OAuthClientUserinfoSignedResponseAlgEnum = {
    RS256: 'RS256'
};
/**
 * Check if a given object implements the OAuthClient interface.
 */
export function instanceOfOAuthClient(value) {
    return true;
}
export function OAuthClientFromJSON(json) {
    return OAuthClientFromJSONTyped(json, false);
}
export function OAuthClientFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'client_id': json['client_id'] == null ? undefined : json['client_id'],
        'client_name': json['client_name'] == null ? undefined : json['client_name'],
        'redirect_uris': json['redirect_uris'] == null ? undefined : json['redirect_uris'],
        'verified': json['verified'] == null ? undefined : json['verified'],
        'client_uri': json['client_uri'] == null ? undefined : json['client_uri'],
        'policy_uri': json['policy_uri'] == null ? undefined : json['policy_uri'],
        'tos_uri': json['tos_uri'] == null ? undefined : json['tos_uri'],
        'sector_identifier_uri': json['sector_identifier_uri'] == null ? undefined : json['sector_identifier_uri'],
        'sector_identifier': json['sector_identifier'] == null ? undefined : json['sector_identifier'],
        'userinfo_signed_response_alg': json['userinfo_signed_response_alg'] == null ? undefined : json['userinfo_signed_response_alg'],
        'createdOn': json['createdOn'] == null ? undefined : json['createdOn'],
        'modifiedOn': json['modifiedOn'] == null ? undefined : json['modifiedOn'],
        'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
        'etag': json['etag'] == null ? undefined : json['etag'],
    };
}
export function OAuthClientToJSON(json) {
    return OAuthClientToJSONTyped(json, false);
}
export function OAuthClientToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'client_id': value['client_id'],
        'client_name': value['client_name'],
        'redirect_uris': value['redirect_uris'],
        'verified': value['verified'],
        'client_uri': value['client_uri'],
        'policy_uri': value['policy_uri'],
        'tos_uri': value['tos_uri'],
        'sector_identifier_uri': value['sector_identifier_uri'],
        'sector_identifier': value['sector_identifier'],
        'userinfo_signed_response_alg': value['userinfo_signed_response_alg'],
        'createdOn': value['createdOn'],
        'modifiedOn': value['modifiedOn'],
        'createdBy': value['createdBy'],
        'etag': value['etag'],
    };
}
//# sourceMappingURL=OAuthClient.js.map