/* 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 AccessApprovalSearchSortFieldEnum = {
    MODIFIED_ON: 'MODIFIED_ON',
    EXPIRED_ON: 'EXPIRED_ON'
};
/**
 * @export
 */
export const AccessApprovalSearchSortDirectionEnum = {
    ASC: 'ASC',
    DESC: 'DESC'
};
/**
 * Check if a given object implements the AccessApprovalSearchSort interface.
 */
export function instanceOfAccessApprovalSearchSort(value) {
    return true;
}
export function AccessApprovalSearchSortFromJSON(json) {
    return AccessApprovalSearchSortFromJSONTyped(json, false);
}
export function AccessApprovalSearchSortFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'field': json['field'] == null ? undefined : json['field'],
        'direction': json['direction'] == null ? undefined : json['direction'],
    };
}
export function AccessApprovalSearchSortToJSON(json) {
    return AccessApprovalSearchSortToJSONTyped(json, false);
}
export function AccessApprovalSearchSortToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'field': value['field'],
        'direction': value['direction'],
    };
}
//# sourceMappingURL=AccessApprovalSearchSort.js.map