UNPKG

@ringer-tel/ivy

Version:
75 lines (63 loc) 2.45 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'; import type { AvailableForward } from './AvailableForward'; import { AvailableForwardFromJSON, AvailableForwardFromJSONTyped, AvailableForwardToJSON, AvailableForwardToJSONTyped, } from './AvailableForward'; /** * * @export * @interface AvailableForwardListResponse */ export interface AvailableForwardListResponse { /** * Array of Forwards considered available or assigned in this context. * @type {Array<AvailableForward>} * @memberof AvailableForwardListResponse */ forwards: Array<AvailableForward>; } /** * Check if a given object implements the AvailableForwardListResponse interface. */ export function instanceOfAvailableForwardListResponse(value: object): value is AvailableForwardListResponse { if (!('forwards' in value) || value['forwards'] === undefined) return false; return true; } export function AvailableForwardListResponseFromJSON(json: any): AvailableForwardListResponse { return AvailableForwardListResponseFromJSONTyped(json, false); } export function AvailableForwardListResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AvailableForwardListResponse { if (json == null) { return json; } return { 'forwards': ((json['forwards'] as Array<any>).map(AvailableForwardFromJSON)), }; } export function AvailableForwardListResponseToJSON(json: any): AvailableForwardListResponse { return AvailableForwardListResponseToJSONTyped(json, false); } export function AvailableForwardListResponseToJSONTyped(value?: AvailableForwardListResponse | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'forwards': ((value['forwards'] as Array<any>).map(AvailableForwardToJSON)), }; }