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 PartitionRequestRequest
*/
export interface PartitionRequestRequest {
/**
*
* @type {string}
* @memberof PartitionRequestRequest
*/
project: string;
/**
*
* @type {string}
* @memberof PartitionRequestRequest
*/
name: string;
/**
*
* @type {string}
* @memberof PartitionRequestRequest
*/
requestKey: string;
/**
*
* @type {string}
* @memberof PartitionRequestRequest
*/
sourceCell: string;
/**
*
* @type {any}
* @memberof PartitionRequestRequest
*/
recipe: any | null;
}
/**
* Check if a given object implements the PartitionRequestRequest interface.
*/
export function instanceOfPartitionRequestRequest(value: object): value is PartitionRequestRequest {
if (!('project' in value) || value['project'] === undefined) return false;
if (!('name' in value) || value['name'] === undefined) return false;
if (!('requestKey' in value) || value['requestKey'] === undefined) return false;
if (!('sourceCell' in value) || value['sourceCell'] === undefined) return false;
if (!('recipe' in value) || value['recipe'] === undefined) return false;
return true;
}
export function PartitionRequestRequestFromJSON(json: any): PartitionRequestRequest {
return PartitionRequestRequestFromJSONTyped(json, false);
}
export function PartitionRequestRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PartitionRequestRequest {
if (json == null) {
return json;
}
return {
'project': json['project'],
'name': json['name'],
'requestKey': json['request_key'],
'sourceCell': json['source_cell'],
'recipe': json['recipe'],
};
}
export function PartitionRequestRequestToJSON(json: any): PartitionRequestRequest {
return PartitionRequestRequestToJSONTyped(json, false);
}
export function PartitionRequestRequestToJSONTyped(value?: PartitionRequestRequest | null, ignoreDiscriminator: boolean = false): any {
if (value == null) {
return value;
}
return {
'project': value['project'],
'name': value['name'],
'request_key': value['requestKey'],
'source_cell': value['sourceCell'],
'recipe': value['recipe'],
};
}