Skip to content

The platform for continuously improving AI agents.

2.1 KB
Raw Blame
/* 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 WorkshopInteraction
 */
export interface WorkshopInteraction {
    /**
     *
     * @type {string}
     * @memberof WorkshopInteraction
     */
    message: string;
    /**
     *
     * @type {string}
     * @memberof WorkshopInteraction
     */
    component: string;
    /**
     *
     * @type {{ [key: string]: any; }}
     * @memberof WorkshopInteraction
     */
    values: { [key: string]: any; };
}

/**
 * Check if a given object implements the WorkshopInteraction interface.
 */
export function instanceOfWorkshopInteraction(value: object): value is WorkshopInteraction {
    if (!('message' in value) || value['message'] === undefined) return false;
    if (!('component' in value) || value['component'] === undefined) return false;
    if (!('values' in value) || value['values'] === undefined) return false;
    return true;
}

export function WorkshopInteractionFromJSON(json: any): WorkshopInteraction {
    return WorkshopInteractionFromJSONTyped(json, false);
}

export function WorkshopInteractionFromJSONTyped(json: any, ignoreDiscriminator: boolean): WorkshopInteraction {
    if (json == null) {
        return json;
    }
    return {

        'message': json['message'],
        'component': json['component'],
        'values': json['values'],
    };
}

export function WorkshopInteractionToJSON(json: any): WorkshopInteraction {
    return WorkshopInteractionToJSONTyped(json, false);
}

export function WorkshopInteractionToJSONTyped(value?: WorkshopInteraction | null, ignoreDiscriminator: boolean = false): any {
    if (value == null) {
        return value;
    }

    return {

        'message': value['message'],
        'component': value['component'],
        'values': value['values'],
    };
}