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 Participant
*/
export interface Participant {
/**
*
* @type {number}
* @memberof Participant
*/
user: number;
/**
*
* @type {string}
* @memberof Participant
*/
email: string;
/**
*
* @type {boolean}
* @memberof Participant
*/
me: boolean;
}
/**
* Check if a given object implements the Participant interface.
*/
export function instanceOfParticipant(value: object): value is Participant {
if (!('user' in value) || value['user'] === undefined) return false;
if (!('email' in value) || value['email'] === undefined) return false;
if (!('me' in value) || value['me'] === undefined) return false;
return true;
}
export function ParticipantFromJSON(json: any): Participant {
return ParticipantFromJSONTyped(json, false);
}
export function ParticipantFromJSONTyped(json: any, ignoreDiscriminator: boolean): Participant {
if (json == null) {
return json;
}
return {
'user': json['user'],
'email': json['email'],
'me': json['me'],
};
}
export function ParticipantToJSON(json: any): Participant {
return ParticipantToJSONTyped(json, false);
}
export function ParticipantToJSONTyped(value?: Participant | null, ignoreDiscriminator: boolean = false): any {
if (value == null) {
return value;
}
return {
'user': value['user'],
'email': value['email'],
'me': value['me'],
};
}