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 WorkshopPresentationImage
*/
export interface WorkshopPresentationImage {
/**
*
* @type {string}
* @memberof WorkshopPresentationImage
*/
url: string;
/**
*
* @type {string}
* @memberof WorkshopPresentationImage
*/
sha256: string;
}
/**
* Check if a given object implements the WorkshopPresentationImage interface.
*/
export function instanceOfWorkshopPresentationImage(value: object): value is WorkshopPresentationImage {
if (!('url' in value) || value['url'] === undefined) return false;
if (!('sha256' in value) || value['sha256'] === undefined) return false;
return true;
}
export function WorkshopPresentationImageFromJSON(json: any): WorkshopPresentationImage {
return WorkshopPresentationImageFromJSONTyped(json, false);
}
export function WorkshopPresentationImageFromJSONTyped(json: any, ignoreDiscriminator: boolean): WorkshopPresentationImage {
if (json == null) {
return json;
}
return {
'url': json['url'],
'sha256': json['sha256'],
};
}
export function WorkshopPresentationImageToJSON(json: any): WorkshopPresentationImage {
return WorkshopPresentationImageToJSONTyped(json, false);
}
export function WorkshopPresentationImageToJSONTyped(value?: WorkshopPresentationImage | null, ignoreDiscriminator: boolean = false): any {
if (value == null) {
return value;
}
return {
'url': value['url'],
'sha256': value['sha256'],
};
}