/** * 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. */ /** * JSON schema for a comment on a Synapse object * @export * @interface Comment */ export interface Comment { /** * The unique identifier of the message or comment * @type {string} * @memberof Comment */ id?: string; /** * The unique identifier of the sender of this message * @type {string} * @memberof Comment */ createdBy?: string; /** * The S3 file handle storing the body of this message. Note: The file's mime type should be 'text/plain' or 'text/html'. If no character encoding is specified, then UTF-8 is assumed. * @type {string} * @memberof Comment */ fileHandleId?: string; /** * When this message was created * @type {string} * @memberof Comment */ createdOn?: string; /** * JSON enum for the types of objects in Synapse. * @type {string} * @memberof Comment */ targetType?: CommentTargetTypeEnum; /** * The unique identifier of the target object * @type {string} * @memberof Comment */ targetId?: string; } /** * @export */ export declare const CommentTargetTypeEnum: { 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 CommentTargetTypeEnum = typeof CommentTargetTypeEnum[keyof typeof CommentTargetTypeEnum]; /** * Check if a given object implements the Comment interface. */ export declare function instanceOfComment(value: object): value is Comment; export declare function CommentFromJSON(json: any): Comment; export declare function CommentFromJSONTyped(json: any, ignoreDiscriminator: boolean): Comment; export declare function CommentToJSON(json: any): Comment; export declare function CommentToJSONTyped(value?: Comment | null, ignoreDiscriminator?: boolean): any;