/* 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 SubmissionPageRequestFilterByEnum = {
    SUBMITTED: 'SUBMITTED',
    APPROVED: 'APPROVED',
    REJECTED: 'REJECTED',
    CANCELLED: 'CANCELLED'
};
/**
 * @export
 */
export const SubmissionPageRequestOrderByEnum = {
    CREATED_ON: 'CREATED_ON',
    MODIFIED_ON: 'MODIFIED_ON'
};
/**
 * Check if a given object implements the SubmissionPageRequest interface.
 */
export function instanceOfSubmissionPageRequest(value) {
    return true;
}
export function SubmissionPageRequestFromJSON(json) {
    return SubmissionPageRequestFromJSONTyped(json, false);
}
export function SubmissionPageRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'accessRequirementId': json['accessRequirementId'] == null ? undefined : json['accessRequirementId'],
        'nextPageToken': json['nextPageToken'] == null ? undefined : json['nextPageToken'],
        'filterBy': json['filterBy'] == null ? undefined : json['filterBy'],
        'accessorId': json['accessorId'] == null ? undefined : json['accessorId'],
        'orderBy': json['orderBy'] == null ? undefined : json['orderBy'],
        'isAscending': json['isAscending'] == null ? undefined : json['isAscending'],
    };
}
export function SubmissionPageRequestToJSON(json) {
    return SubmissionPageRequestToJSONTyped(json, false);
}
export function SubmissionPageRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'accessRequirementId': value['accessRequirementId'],
        'nextPageToken': value['nextPageToken'],
        'filterBy': value['filterBy'],
        'accessorId': value['accessorId'],
        'orderBy': value['orderBy'],
        'isAscending': value['isAscending'],
    };
}
//# sourceMappingURL=SubmissionPageRequest.js.map