/** * 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. */ /** * This object contains information that is used to control if a submission could be cancelled. * @export * @interface CancelControl */ export interface CancelControl { /** * The unique, immutable Synapse ID of the Submission. * @type {string} * @memberof CancelControl */ submissionId?: string; /** * The ID of the user who submitted this Submission. * @type {string} * @memberof CancelControl */ userId?: string; /** * Can this submission be cancelled? By default, this will be set to False. Users can read this value. Only the queue's scoring application can change this value. * @type {boolean} * @memberof CancelControl */ canCancel?: boolean; /** * Has user requested to cancel this submission? By default, this will be set to False. Submission owner can read and request to change this value. * @type {boolean} * @memberof CancelControl */ cancelRequested?: boolean; } /** * Check if a given object implements the CancelControl interface. */ export declare function instanceOfCancelControl(value: object): value is CancelControl; export declare function CancelControlFromJSON(json: any): CancelControl; export declare function CancelControlFromJSONTyped(json: any, ignoreDiscriminator: boolean): CancelControl; export declare function CancelControlToJSON(json: any): CancelControl; export declare function CancelControlToJSONTyped(value?: CancelControl | null, ignoreDiscriminator?: boolean): any;