/* tslint:disable */
/* eslint-disable */
/**
 * Signal Cli REST API
 * This is the Signal Cli REST API documentation.
 *
 * The version of the OpenAPI document: 1.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.js";
/**
 *
 * @export
 * @interface ApiSendMessageResponse
 */
export interface ApiSendMessageResponse {
  /**
   *
   * @type {string}
   * @memberof ApiSendMessageResponse
   */
  timestamp?: string;
}

/**
 * Check if a given object implements the ApiSendMessageResponse interface.
 */
export function instanceOfApiSendMessageResponse(
  value: object,
): value is ApiSendMessageResponse {
  return true;
}

export function ApiSendMessageResponseFromJSON(
  json: any,
): ApiSendMessageResponse {
  return ApiSendMessageResponseFromJSONTyped(json, false);
}

export function ApiSendMessageResponseFromJSONTyped(
  json: any,
  ignoreDiscriminator: boolean,
): ApiSendMessageResponse {
  if (json == null) {
    return json;
  }
  return {
    timestamp: json["timestamp"] == null ? undefined : json["timestamp"],
  };
}

export function ApiSendMessageResponseToJSON(
  value?: ApiSendMessageResponse | null,
): any {
  if (value == null) {
    return value;
  }
  return {
    timestamp: value["timestamp"],
  };
}
