/** * 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. */ import type { EntityPath } from './EntityPath'; /** * JSON schema for a Hit in the search results. Each Hit contains a subset of entity data. * @export * @interface Hit */ export interface Hit { /** * The unique immutable ID for this entity. A new ID will be generated for new Entities. Once issued, this ID is guaranteed to never change or be re-issued * @type {string} * @memberof Hit */ id?: string; /** * Synapse employs an Optimistic Concurrency Control (OCC) scheme to handle concurrent updates. Since the E-Tag changes every time an entity is updated it is used to detect when a client's current representation of an entity is out-of-date. * @type {string} * @memberof Hit */ etag?: string; /** * The name of this entity * @type {string} * @memberof Hit */ name?: string; /** * The alias of this entity * @type {string} * @memberof Hit */ alias?: string; /** * * @type {EntityPath} * @memberof Hit */ path?: EntityPath; /** * The description of this entity. * @type {string} * @memberof Hit */ description?: string; /** * The type of this entity. Corresponds to an (EntityType) value. * @type {string} * @memberof Hit */ node_type?: string; /** * The seconds since epoch date this entity was created. * @type {number} * @memberof Hit */ created_on?: number; /** * The seconds since epoch date this entity was last modified. * @type {number} * @memberof Hit */ modified_on?: number; /** * The user that created this entity. * @type {string} * @memberof Hit */ created_by?: string; /** * The user that last modified this entity. * @type {string} * @memberof Hit */ modified_by?: string; /** * The result of a medical investigation to identify a disorder from its signs and symptoms. * @type {string} * @memberof Hit */ diagnosis?: string; /** * Type of tissue for the samples in this entity. * @type {string} * @memberof Hit */ tissue?: string; /** * The name of the consortium * @type {string} * @memberof Hit */ consortium?: string; /** * A unique macroscopic (gross) anatomic structure that performs specific functions. It is composed of various tissues. An organ is part of an anatomic system or a body region. * @type {string} * @memberof Hit */ organ?: string; } /** * Check if a given object implements the Hit interface. */ export declare function instanceOfHit(value: object): value is Hit; export declare function HitFromJSON(json: any): Hit; export declare function HitFromJSONTyped(json: any, ignoreDiscriminator: boolean): Hit; export declare function HitToJSON(json: any): Hit; export declare function HitToJSONTyped(value?: Hit | null, ignoreDiscriminator?: boolean): any;