/** * 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. */ /** * An event fired when a user runs a query that results in a cache hit. * @export * @interface QueryCacheHitEvent */ export interface QueryCacheHitEvent { /** * * @type {string} * @memberof QueryCacheHitEvent */ concreteType: QueryCacheHitEventConcreteTypeEnum; /** * The unique identifier of the object that changed. * @type {string} * @memberof QueryCacheHitEvent */ objectId?: string; /** * Identifier for a specific version of an object. * @type {number} * @memberof QueryCacheHitEvent */ objectVersion?: number; /** * JSON enum for the types of objects in Synapse. * @type {string} * @memberof QueryCacheHitEvent */ objectType?: QueryCacheHitEventObjectTypeEnum; /** * The timestamp when this change was originally committed. * @type {string} * @memberof QueryCacheHitEvent */ timestamp?: string; /** * The has (SHA 256 Hex) of a query request that resulted in the cache hit. * @type {string} * @memberof QueryCacheHitEvent */ queryRequestHash?: string; } /** * @export */ export declare const QueryCacheHitEventConcreteTypeEnum: { readonly org_sagebionetworks_repo_model_table_QueryCacheHitEvent: "org.sagebionetworks.repo.model.table.QueryCacheHitEvent"; }; export type QueryCacheHitEventConcreteTypeEnum = typeof QueryCacheHitEventConcreteTypeEnum[keyof typeof QueryCacheHitEventConcreteTypeEnum]; /** * @export */ export declare const QueryCacheHitEventObjectTypeEnum: { readonly ENTITY: "ENTITY"; readonly ENTITY_CONTAINER: "ENTITY_CONTAINER"; readonly PRINCIPAL: "PRINCIPAL"; readonly ACTIVITY: "ACTIVITY"; readonly EVALUATION: "EVALUATION"; readonly EVALUATION_ROUND: "EVALUATION_ROUND"; readonly SUBMISSION: "SUBMISSION"; readonly EVALUATION_SUBMISSIONS: "EVALUATION_SUBMISSIONS"; readonly FILE: "FILE"; readonly MESSAGE: "MESSAGE"; readonly WIKI: "WIKI"; readonly FAVORITE: "FAVORITE"; readonly ACCESS_REQUIREMENT: "ACCESS_REQUIREMENT"; readonly ACCESS_APPROVAL: "ACCESS_APPROVAL"; readonly TEAM: "TEAM"; readonly TABLE: "TABLE"; readonly ACCESS_CONTROL_LIST: "ACCESS_CONTROL_LIST"; readonly PROJECT_SETTING: "PROJECT_SETTING"; readonly VERIFICATION_SUBMISSION: "VERIFICATION_SUBMISSION"; readonly CERTIFIED_USER_PASSING_RECORD: "CERTIFIED_USER_PASSING_RECORD"; readonly FORUM: "FORUM"; readonly THREAD: "THREAD"; readonly REPLY: "REPLY"; readonly FORM_GROUP: "FORM_GROUP"; readonly ORGANIZATION: "ORGANIZATION"; readonly FORM_DATA: "FORM_DATA"; readonly ENTITY_VIEW: "ENTITY_VIEW"; readonly USER_PROFILE: "USER_PROFILE"; readonly DATA_ACCESS_REQUEST: "DATA_ACCESS_REQUEST"; readonly DATA_ACCESS_SUBMISSION: "DATA_ACCESS_SUBMISSION"; readonly DATA_ACCESS_SUBMISSION_STATUS: "DATA_ACCESS_SUBMISSION_STATUS"; readonly MEMBERSHIP_INVITATION: "MEMBERSHIP_INVITATION"; readonly JSON_SCHEMA: "JSON_SCHEMA"; readonly JSON_SCHEMA_DEPENDANT: "JSON_SCHEMA_DEPENDANT"; readonly DATASET: "DATASET"; readonly DATASET_COLLECTION: "DATASET_COLLECTION"; readonly THREAD_VIEW: "THREAD_VIEW"; readonly MATERIALIZED_VIEW: "MATERIALIZED_VIEW"; readonly VIRTUAL_TABLE: "VIRTUAL_TABLE"; readonly TABLE_STATUS_EVENT: "TABLE_STATUS_EVENT"; readonly DATA_ACCESS_SUBMISSION_EVENT: "DATA_ACCESS_SUBMISSION_EVENT"; readonly FILE_EVENT: "FILE_EVENT"; readonly QUERY_CACHE_HIT: "QUERY_CACHE_HIT"; readonly PROJECT_STORAGE_EVENT: "PROJECT_STORAGE_EVENT"; readonly REPLICATED_EVENT: "REPLICATED_EVENT"; readonly PORTAL: "PORTAL"; readonly OAUTH_CLIENT: "OAUTH_CLIENT"; readonly GRID_SESSION: "GRID_SESSION"; }; export type QueryCacheHitEventObjectTypeEnum = typeof QueryCacheHitEventObjectTypeEnum[keyof typeof QueryCacheHitEventObjectTypeEnum]; /** * Check if a given object implements the QueryCacheHitEvent interface. */ export declare function instanceOfQueryCacheHitEvent(value: object): value is QueryCacheHitEvent; export declare function QueryCacheHitEventFromJSON(json: any): QueryCacheHitEvent; export declare function QueryCacheHitEventFromJSONTyped(json: any, ignoreDiscriminator: boolean): QueryCacheHitEvent; export declare function QueryCacheHitEventToJSON(json: any): QueryCacheHitEvent; export declare function QueryCacheHitEventToJSONTyped(value?: QueryCacheHitEvent | null, ignoreDiscriminator?: boolean): any;