/* 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 ViewScopeViewEntityTypeEnum = {
    entityview: 'entityview',
    submissionview: 'submissionview',
    dataset: 'dataset',
    datasetcollection: 'datasetcollection'
};
/**
 * @export
 */
export const ViewScopeViewTypeEnum = {
    file: 'file',
    project: 'project',
    file_and_table: 'file_and_table'
};
/**
 * Check if a given object implements the ViewScope interface.
 */
export function instanceOfViewScope(value) {
    return true;
}
export function ViewScopeFromJSON(json) {
    return ViewScopeFromJSONTyped(json, false);
}
export function ViewScopeFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'viewTypeMask': json['viewTypeMask'] == null ? undefined : json['viewTypeMask'],
        'scope': json['scope'] == null ? undefined : json['scope'],
        'viewEntityType': json['viewEntityType'] == null ? undefined : json['viewEntityType'],
        'viewType': json['viewType'] == null ? undefined : json['viewType'],
    };
}
export function ViewScopeToJSON(json) {
    return ViewScopeToJSONTyped(json, false);
}
export function ViewScopeToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'viewTypeMask': value['viewTypeMask'],
        'scope': value['scope'],
        'viewEntityType': value['viewEntityType'],
        'viewType': value['viewType'],
    };
}
//# sourceMappingURL=ViewScope.js.map