/* 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 SubmissionSearchSortFieldEnum = {
    MODIFIED_ON: 'MODIFIED_ON',
    CREATED_ON: 'CREATED_ON'
};
/**
 * @export
 */
export const SubmissionSearchSortDirectionEnum = {
    ASC: 'ASC',
    DESC: 'DESC'
};
/**
 * Check if a given object implements the SubmissionSearchSort interface.
 */
export function instanceOfSubmissionSearchSort(value) {
    return true;
}
export function SubmissionSearchSortFromJSON(json) {
    return SubmissionSearchSortFromJSONTyped(json, false);
}
export function SubmissionSearchSortFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'field': json['field'] == null ? undefined : json['field'],
        'direction': json['direction'] == null ? undefined : json['direction'],
    };
}
export function SubmissionSearchSortToJSON(json) {
    return SubmissionSearchSortToJSONTyped(json, false);
}
export function SubmissionSearchSortToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'field': value['field'],
        'direction': value['direction'],
    };
}
//# sourceMappingURL=SubmissionSearchSort.js.map