/* 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 AccessRequirementSearchSortFieldEnum = {
    CREATED_ON: 'CREATED_ON',
    NAME: 'NAME',
    CONCRETE_TYPE: 'CONCRETE_TYPE'
};
/**
 * @export
 */
export const AccessRequirementSearchSortDirectionEnum = {
    ASC: 'ASC',
    DESC: 'DESC'
};
/**
 * Check if a given object implements the AccessRequirementSearchSort interface.
 */
export function instanceOfAccessRequirementSearchSort(value) {
    return true;
}
export function AccessRequirementSearchSortFromJSON(json) {
    return AccessRequirementSearchSortFromJSONTyped(json, false);
}
export function AccessRequirementSearchSortFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'field': json['field'] == null ? undefined : json['field'],
        'direction': json['direction'] == null ? undefined : json['direction'],
    };
}
export function AccessRequirementSearchSortToJSON(json) {
    return AccessRequirementSearchSortToJSONTyped(json, false);
}
export function AccessRequirementSearchSortToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'field': value['field'],
        'direction': value['direction'],
    };
}
//# sourceMappingURL=AccessRequirementSearchSort.js.map