UNPKG

@ringer-tel/ivy

Version:
67 lines (56 loc) 1.93 kB
/* tslint:disable */ /* eslint-disable */ /** * Ringer Business API * This API provides comprehensive endpoints for the Ringer Business system. It includes functionality for managing customer accounts, addresses, sites, phone numbers, payments, users, and other business resources. Operations typically require authentication and appropriate permissions. * * The version of the OpenAPI document: 1.0.5 * Contact: support@ringer.tel * * 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'; /** * Describes an error encountered during a call record request. * @export * @interface CallRecordError */ export interface CallRecordError { /** * A human-readable message describing the validation error or issue. * @type {string} * @memberof CallRecordError */ error: string; } /** * Check if a given object implements the CallRecordError interface. */ export function instanceOfCallRecordError(value: object): value is CallRecordError { if (!('error' in value) || value['error'] === undefined) return false; return true; } export function CallRecordErrorFromJSON(json: any): CallRecordError { return CallRecordErrorFromJSONTyped(json, false); } export function CallRecordErrorFromJSONTyped(json: any, ignoreDiscriminator: boolean): CallRecordError { if (json == null) { return json; } return { 'error': json['error'], }; } export function CallRecordErrorToJSON(json: any): CallRecordError { return CallRecordErrorToJSONTyped(json, false); } export function CallRecordErrorToJSONTyped(value?: CallRecordError | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'error': value['error'], }; }