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';
import type { WorkshopPresentationImage } from './WorkshopPresentationImage';
import {
WorkshopPresentationImageFromJSON,
WorkshopPresentationImageFromJSONTyped,
WorkshopPresentationImageToJSON,
WorkshopPresentationImageToJSONTyped,
} from './WorkshopPresentationImage';
import type { WorkshopPresentationTable } from './WorkshopPresentationTable';
import {
WorkshopPresentationTableFromJSON,
WorkshopPresentationTableFromJSONTyped,
WorkshopPresentationTableToJSON,
WorkshopPresentationTableToJSONTyped,
} from './WorkshopPresentationTable';
/**
*
* @export
* @interface WorkshopPresentation
*/
export interface WorkshopPresentation {
/**
*
* @type {string}
* @memberof WorkshopPresentation
*/
program: string;
/**
*
* @type {any}
* @memberof WorkshopPresentation
*/
document: any | null;
/**
*
* @type {{ [key: string]: WorkshopPresentationTable; }}
* @memberof WorkshopPresentation
*/
data: { [key: string]: WorkshopPresentationTable; };
/**
*
* @type {{ [key: string]: WorkshopPresentationImage; }}
* @memberof WorkshopPresentation
*/
images: { [key: string]: WorkshopPresentationImage; };
}
/**
* Check if a given object implements the WorkshopPresentation interface.
*/
export function instanceOfWorkshopPresentation(value: object): value is WorkshopPresentation {
if (!('program' in value) || value['program'] === undefined) return false;
if (!('document' in value) || value['document'] === undefined) return false;
if (!('data' in value) || value['data'] === undefined) return false;
if (!('images' in value) || value['images'] === undefined) return false;
return true;
}
export function WorkshopPresentationFromJSON(json: any): WorkshopPresentation {
return WorkshopPresentationFromJSONTyped(json, false);
}
export function WorkshopPresentationFromJSONTyped(json: any, ignoreDiscriminator: boolean): WorkshopPresentation {
if (json == null) {
return json;
}
return {
'program': json['program'],
'document': json['document'],
'data': (mapValues(json['data'], WorkshopPresentationTableFromJSON)),
'images': (mapValues(json['images'], WorkshopPresentationImageFromJSON)),
};
}
export function WorkshopPresentationToJSON(json: any): WorkshopPresentation {
return WorkshopPresentationToJSONTyped(json, false);
}
export function WorkshopPresentationToJSONTyped(value?: WorkshopPresentation | null, ignoreDiscriminator: boolean = false): any {
if (value == null) {
return value;
}
return {
'program': value['program'],
'document': value['document'],
'data': (mapValues(value['data'], WorkshopPresentationTableToJSON)),
'images': (mapValues(value['images'], WorkshopPresentationImageToJSON)),
};
}