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 WorkshopStartRequest
*/
export interface WorkshopStartRequest {
/**
*
* @type {string}
* @memberof WorkshopStartRequest
*/
project: string;
/**
*
* @type {string}
* @memberof WorkshopStartRequest
*/
dataset: string;
/**
*
* @type {Array<string>}
* @memberof WorkshopStartRequest
*/
contextDatasets?: Array<string>;
/**
*
* @type {string}
* @memberof WorkshopStartRequest
*/
objective: string;
/**
*
* @type {string}
* @memberof WorkshopStartRequest
*/
requestKey: string;
}
/**
* Check if a given object implements the WorkshopStartRequest interface.
*/
export function instanceOfWorkshopStartRequest(value: object): value is WorkshopStartRequest {
if (!('project' in value) || value['project'] === undefined) return false;
if (!('dataset' in value) || value['dataset'] === undefined) return false;
if (!('objective' in value) || value['objective'] === undefined) return false;
if (!('requestKey' in value) || value['requestKey'] === undefined) return false;
return true;
}
export function WorkshopStartRequestFromJSON(json: any): WorkshopStartRequest {
return WorkshopStartRequestFromJSONTyped(json, false);
}
export function WorkshopStartRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): WorkshopStartRequest {
if (json == null) {
return json;
}
return {
'project': json['project'],
'dataset': json['dataset'],
'contextDatasets': json['context_datasets'] == null ? undefined : json['context_datasets'],
'objective': json['objective'],
'requestKey': json['request_key'],
};
}
export function WorkshopStartRequestToJSON(json: any): WorkshopStartRequest {
return WorkshopStartRequestToJSONTyped(json, false);
}
export function WorkshopStartRequestToJSONTyped(value?: WorkshopStartRequest | null, ignoreDiscriminator: boolean = false): any {
if (value == null) {
return value;
}
return {
'project': value['project'],
'dataset': value['dataset'],
'context_datasets': value['contextDatasets'],
'objective': value['objective'],
'request_key': value['requestKey'],
};
}