@ringer-tel/ivy
Version:
TypeScript SDK for Ringer APIs
74 lines (63 loc) • 2.52 kB
text/typescript
/* 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.6
* 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';
/**
*
* @export
* @interface CallBlockComponentsSchemasErrorDetailsInner
*/
export interface CallBlockComponentsSchemasErrorDetailsInner {
/**
* JSON pointer to the field that caused the error.
* @type {string}
* @memberof CallBlockComponentsSchemasErrorDetailsInner
*/
field?: string;
/**
* Specific issue with the field.
* @type {string}
* @memberof CallBlockComponentsSchemasErrorDetailsInner
*/
issue?: string;
}
/**
* Check if a given object implements the CallBlockComponentsSchemasErrorDetailsInner interface.
*/
export function instanceOfCallBlockComponentsSchemasErrorDetailsInner(value: object): value is CallBlockComponentsSchemasErrorDetailsInner {
return true;
}
export function CallBlockComponentsSchemasErrorDetailsInnerFromJSON(json: any): CallBlockComponentsSchemasErrorDetailsInner {
return CallBlockComponentsSchemasErrorDetailsInnerFromJSONTyped(json, false);
}
export function CallBlockComponentsSchemasErrorDetailsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): CallBlockComponentsSchemasErrorDetailsInner {
if (json == null) {
return json;
}
return {
'field': json['field'] == null ? undefined : json['field'],
'issue': json['issue'] == null ? undefined : json['issue'],
};
}
export function CallBlockComponentsSchemasErrorDetailsInnerToJSON(json: any): CallBlockComponentsSchemasErrorDetailsInner {
return CallBlockComponentsSchemasErrorDetailsInnerToJSONTyped(json, false);
}
export function CallBlockComponentsSchemasErrorDetailsInnerToJSONTyped(value?: CallBlockComponentsSchemasErrorDetailsInner | null, ignoreDiscriminator: boolean = false): any {
if (value == null) {
return value;
}
return {
'field': value['field'],
'issue': value['issue'],
};
}