/* 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 ListRequestFilterByStateEnum = {
    WAITING_FOR_SUBMISSION: 'WAITING_FOR_SUBMISSION',
    SUBMITTED_WAITING_FOR_REVIEW: 'SUBMITTED_WAITING_FOR_REVIEW',
    ACCEPTED: 'ACCEPTED',
    REJECTED: 'REJECTED'
};
/**
 * Check if a given object implements the ListRequest interface.
 */
export function instanceOfListRequest(value) {
    return true;
}
export function ListRequestFromJSON(json) {
    return ListRequestFromJSONTyped(json, false);
}
export function ListRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'filterByState': json['filterByState'] == null ? undefined : new Set(json['filterByState']),
        'groupId': json['groupId'] == null ? undefined : json['groupId'],
        'nextPageToken': json['nextPageToken'] == null ? undefined : json['nextPageToken'],
    };
}
export function ListRequestToJSON(json) {
    return ListRequestToJSONTyped(json, false);
}
export function ListRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'filterByState': value['filterByState'] == null ? undefined : Array.from(value['filterByState']),
        'groupId': value['groupId'],
        'nextPageToken': value['nextPageToken'],
    };
}
//# sourceMappingURL=ListRequest.js.map