Skip to content

The platform for continuously improving AI agents.

1.4 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.
 */


/**
 * * `head` - head
 * * `tail` - tail
 * * `random` - random
 * * `hash` - hash
 * @export
 */
export const PositionEnum = {
    head: 'head',
    tail: 'tail',
    random: 'random',
    hash: 'hash'
} as const;
export type PositionEnum = typeof PositionEnum[keyof typeof PositionEnum];


export function instanceOfPositionEnum(value: any): boolean {
    for (const key in PositionEnum) {
        if (Object.prototype.hasOwnProperty.call(PositionEnum, key)) {
            if (PositionEnum[key as keyof typeof PositionEnum] === value) {
                return true;
            }
        }
    }
    return false;
}

export function PositionEnumFromJSON(json: any): PositionEnum {
    return PositionEnumFromJSONTyped(json, false);
}

export function PositionEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): PositionEnum {
    return json as PositionEnum;
}

export function PositionEnumToJSON(value?: PositionEnum | null): any {
    return value as any;
}

export function PositionEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): PositionEnum {
    return value as PositionEnum;
}