/* 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.
 */
import { JsonWebKeyRSAFromJSON, JsonWebKeyRSAToJSON, } from './JsonWebKeyRSA';
/**
 * Check if a given object implements the JsonWebKeySet interface.
 */
export function instanceOfJsonWebKeySet(value) {
    return true;
}
export function JsonWebKeySetFromJSON(json) {
    return JsonWebKeySetFromJSONTyped(json, false);
}
export function JsonWebKeySetFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'keys': json['keys'] == null ? undefined : (json['keys'].map(JsonWebKeyRSAFromJSON)),
    };
}
export function JsonWebKeySetToJSON(json) {
    return JsonWebKeySetToJSONTyped(json, false);
}
export function JsonWebKeySetToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'keys': value['keys'] == null ? undefined : (value['keys'].map(JsonWebKeyRSAToJSON)),
    };
}
//# sourceMappingURL=JsonWebKeySet.js.map