/* 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 SubscriptionRequestObjectTypeEnum = {
    FORUM: 'FORUM',
    THREAD: 'THREAD',
    DATA_ACCESS_SUBMISSION: 'DATA_ACCESS_SUBMISSION',
    DATA_ACCESS_SUBMISSION_STATUS: 'DATA_ACCESS_SUBMISSION_STATUS'
};
/**
 * @export
 */
export const SubscriptionRequestSortByTypeEnum = {
    SUBSCRIPTION_ID: 'SUBSCRIPTION_ID',
    SUBSCRIBER_ID: 'SUBSCRIBER_ID',
    OBJECT_ID: 'OBJECT_ID',
    OBJECT_TYPE: 'OBJECT_TYPE',
    CREATED_ON: 'CREATED_ON'
};
/**
 * @export
 */
export const SubscriptionRequestSortDirectionEnum = {
    ASC: 'ASC',
    DESC: 'DESC'
};
/**
 * Check if a given object implements the SubscriptionRequest interface.
 */
export function instanceOfSubscriptionRequest(value) {
    return true;
}
export function SubscriptionRequestFromJSON(json) {
    return SubscriptionRequestFromJSONTyped(json, false);
}
export function SubscriptionRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'objectType': json['objectType'] == null ? undefined : json['objectType'],
        'idList': json['idList'] == null ? undefined : json['idList'],
        'sortByType': json['sortByType'] == null ? undefined : json['sortByType'],
        'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
    };
}
export function SubscriptionRequestToJSON(json) {
    return SubscriptionRequestToJSONTyped(json, false);
}
export function SubscriptionRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'objectType': value['objectType'],
        'idList': value['idList'],
        'sortByType': value['sortByType'],
        'sortDirection': value['sortDirection'],
    };
}
//# sourceMappingURL=SubscriptionRequest.js.map