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 IntegrationConditionRequest
*/
export interface IntegrationConditionRequest {
/**
*
* @type {string}
* @memberof IntegrationConditionRequest
*/
field: string;
/**
*
* @type {string}
* @memberof IntegrationConditionRequest
*/
operator: string;
/**
*
* @type {any}
* @memberof IntegrationConditionRequest
*/
value: any | null;
}
/**
* Check if a given object implements the IntegrationConditionRequest interface.
*/
export function instanceOfIntegrationConditionRequest(value: object): value is IntegrationConditionRequest {
if (!('field' in value) || value['field'] === undefined) return false;
if (!('operator' in value) || value['operator'] === undefined) return false;
if (!('value' in value) || value['value'] === undefined) return false;
return true;
}
export function IntegrationConditionRequestFromJSON(json: any): IntegrationConditionRequest {
return IntegrationConditionRequestFromJSONTyped(json, false);
}
export function IntegrationConditionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntegrationConditionRequest {
if (json == null) {
return json;
}
return {
'field': json['field'],
'operator': json['operator'],
'value': json['value'],
};
}
export function IntegrationConditionRequestToJSON(json: any): IntegrationConditionRequest {
return IntegrationConditionRequestToJSONTyped(json, false);
}
export function IntegrationConditionRequestToJSONTyped(value?: IntegrationConditionRequest | null, ignoreDiscriminator: boolean = false): any {
if (value == null) {
return value;
}
return {
'field': value['field'],
'operator': value['operator'],
'value': value['value'],
};
}