Skip to content

The platform for continuously improving AI agents.

1.6 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 SignalEventSeenResponse
 */
export interface SignalEventSeenResponse {
    /**
     *
     * @type {number}
     * @memberof SignalEventSeenResponse
     */
    updated: number;
}

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

export function SignalEventSeenResponseFromJSON(json: any): SignalEventSeenResponse {
    return SignalEventSeenResponseFromJSONTyped(json, false);
}

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

        'updated': json['updated'],
    };
}

export function SignalEventSeenResponseToJSON(json: any): SignalEventSeenResponse {
    return SignalEventSeenResponseToJSONTyped(json, false);
}

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

    return {

        'updated': value['updated'],
    };
}