/** * 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. */ /** * List of parent IDs that define a view scope. * @export * @interface ViewScope */ export interface ViewScope { /** * Bit mask representing the types to include in the view. The following are the possible types (type=): File=0x01, Project=0x02, Table=0x04, Folder=0x08, View=0x10, Docker=0x20, SubmissionView=0x40, Dataset=0x80, DatasetCollection=0x100, MaterializedView=0x200. * @type {number} * @memberof ViewScope */ viewTypeMask?: number; /** * List of parent IDs that define a view scope. For an entityview the ids should point to entities, for a submissionview the ids should point to evaluation ids * @type {Array} * @memberof ViewScope */ scope?: Array; /** * Subset of EntityType for views * @type {string} * @memberof ViewScope */ viewEntityType?: ViewScopeViewEntityTypeEnum; /** * Deprecated. Use: 'viewTypeMask' * @type {string} * @memberof ViewScope */ viewType?: ViewScopeViewTypeEnum; } /** * @export */ export declare const ViewScopeViewEntityTypeEnum: { readonly entityview: "entityview"; readonly submissionview: "submissionview"; readonly dataset: "dataset"; readonly datasetcollection: "datasetcollection"; }; export type ViewScopeViewEntityTypeEnum = typeof ViewScopeViewEntityTypeEnum[keyof typeof ViewScopeViewEntityTypeEnum]; /** * @export */ export declare const ViewScopeViewTypeEnum: { readonly file: "file"; readonly project: "project"; readonly file_and_table: "file_and_table"; }; export type ViewScopeViewTypeEnum = typeof ViewScopeViewTypeEnum[keyof typeof ViewScopeViewTypeEnum]; /** * Check if a given object implements the ViewScope interface. */ export declare function instanceOfViewScope(value: object): value is ViewScope; export declare function ViewScopeFromJSON(json: any): ViewScope; export declare function ViewScopeFromJSONTyped(json: any, ignoreDiscriminator: boolean): ViewScope; export declare function ViewScopeToJSON(json: any): ViewScope; export declare function ViewScopeToJSONTyped(value?: ViewScope | null, ignoreDiscriminator?: boolean): any;