/** * 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 { Reference } from './Reference'; /** * JSON schema for a Link * @export * @interface Link */ export interface Link { /** * The name of this entity. Must be 256 characters or less. Names may only contain: letters, numbers, spaces, underscores, hyphens, periods, plus signs, apostrophes, and parentheses * @type {string} * @memberof Link */ name?: string; /** * The description of this entity. Must be 1000 characters or less. * @type {string} * @memberof Link */ description?: string; /** * 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 Link */ 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 Link */ etag?: string; /** * The date this entity was created. * @type {string} * @memberof Link */ createdOn?: string; /** * The date this entity was last modified. * @type {string} * @memberof Link */ modifiedOn?: string; /** * The ID of the user that created this entity. * @type {string} * @memberof Link */ createdBy?: string; /** * The ID of the user that last modified this entity. * @type {string} * @memberof Link */ modifiedBy?: string; /** * The ID of the Entity that is the parent of this Entity. * @type {string} * @memberof Link */ parentId?: string; /** * Indicates which implementation of Entity this object represents. The value is the fully qualified class name, e.g. org.sagebionetworks.repo.model.FileEntity. * @type {string} * @memberof Link */ concreteType: LinkConcreteTypeEnum; /** * * @type {Reference} * @memberof Link */ linksTo?: Reference; /** * The synapse Entity's class name that this link points to. * @type {string} * @memberof Link */ linksToClassName?: string; } /** * @export */ export declare const LinkConcreteTypeEnum: { readonly org_sagebionetworks_repo_model_Link: "org.sagebionetworks.repo.model.Link"; }; export type LinkConcreteTypeEnum = typeof LinkConcreteTypeEnum[keyof typeof LinkConcreteTypeEnum]; /** * Check if a given object implements the Link interface. */ export declare function instanceOfLink(value: object): value is Link; export declare function LinkFromJSON(json: any): Link; export declare function LinkFromJSONTyped(json: any, ignoreDiscriminator: boolean): Link; export declare function LinkToJSON(json: any): Link; export declare function LinkToJSONTyped(value?: Link | null, ignoreDiscriminator?: boolean): any;