/* 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'; /** * * @export * @interface ApiError */ export interface ApiError { /** * * @type {string} * @memberof ApiError */ error?: string; } /** * Check if a given object implements the ApiError interface. */ export function instanceOfApiError(value: object): value is ApiError { return true; } export function ApiErrorFromJSON(json: any): ApiError { return ApiErrorFromJSONTyped(json, false); } export function ApiErrorFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiError { if (json == null) { return json; } return { 'error': json['error'] == null ? undefined : json['error'], }; } export function ApiErrorToJSON(value?: ApiError | null): any { if (value == null) { return value; } return { 'error': value['error'], }; }