The platform for continuously improving AI agents.
/* tslint:disable */
/* eslint-disable */
/**
* Overbae API
* Backend API for the Overclaw / Overmind platform.
*
* The version of the OpenAPI document: 2.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { mapValues } from '../runtime';
/**
*
* @export
* @interface WorkshopHandoffAction
*/
export interface WorkshopHandoffAction {
/**
*
* @type {string}
* @memberof WorkshopHandoffAction
*/
id: string;
/**
*
* @type {string}
* @memberof WorkshopHandoffAction
*/
text: string;
/**
*
* @type {string}
* @memberof WorkshopHandoffAction
*/
status: string;
}
/**
* Check if a given object implements the WorkshopHandoffAction interface.
*/
export function instanceOfWorkshopHandoffAction(value: object): value is WorkshopHandoffAction {
if (!('id' in value) || value['id'] === undefined) return false;
if (!('text' in value) || value['text'] === undefined) return false;
if (!('status' in value) || value['status'] === undefined) return false;
return true;
}
export function WorkshopHandoffActionFromJSON(json: any): WorkshopHandoffAction {
return WorkshopHandoffActionFromJSONTyped(json, false);
}
export function WorkshopHandoffActionFromJSONTyped(json: any, ignoreDiscriminator: boolean): WorkshopHandoffAction {
if (json == null) {
return json;
}
return {
'id': json['id'],
'text': json['text'],
'status': json['status'],
};
}
export function WorkshopHandoffActionToJSON(json: any): WorkshopHandoffAction {
return WorkshopHandoffActionToJSONTyped(json, false);
}
export function WorkshopHandoffActionToJSONTyped(value?: WorkshopHandoffAction | null, ignoreDiscriminator: boolean = false): any {
if (value == null) {
return value;
}
return {
'id': value['id'],
'text': value['text'],
'status': value['status'],
};
}