/* 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 AccessorChangeTypeEnum = {
    GAIN_ACCESS: 'GAIN_ACCESS',
    RENEW_ACCESS: 'RENEW_ACCESS',
    REVOKE_ACCESS: 'REVOKE_ACCESS'
};
/**
 * Check if a given object implements the AccessorChange interface.
 */
export function instanceOfAccessorChange(value) {
    return true;
}
export function AccessorChangeFromJSON(json) {
    return AccessorChangeFromJSONTyped(json, false);
}
export function AccessorChangeFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'userId': json['userId'] == null ? undefined : json['userId'],
        'type': json['type'] == null ? undefined : json['type'],
    };
}
export function AccessorChangeToJSON(json) {
    return AccessorChangeToJSONTyped(json, false);
}
export function AccessorChangeToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'userId': value['userId'],
        'type': value['type'],
    };
}
//# sourceMappingURL=AccessorChange.js.map