UNPKG

@ringer-tel/ivy

Version:
75 lines (63 loc) 2.37 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 { FaxMachineResponse } from './FaxMachineResponse'; import { FaxMachineResponseFromJSON, FaxMachineResponseFromJSONTyped, FaxMachineResponseToJSON, FaxMachineResponseToJSONTyped, } from './FaxMachineResponse'; /** * A list of fax machines for a site. * @export * @interface FaxMachineListResponse */ export interface FaxMachineListResponse { /** * * @type {Array<FaxMachineResponse>} * @memberof FaxMachineListResponse */ faxMachines: Array<FaxMachineResponse>; } /** * Check if a given object implements the FaxMachineListResponse interface. */ export function instanceOfFaxMachineListResponse(value: object): value is FaxMachineListResponse { if (!('faxMachines' in value) || value['faxMachines'] === undefined) return false; return true; } export function FaxMachineListResponseFromJSON(json: any): FaxMachineListResponse { return FaxMachineListResponseFromJSONTyped(json, false); } export function FaxMachineListResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): FaxMachineListResponse { if (json == null) { return json; } return { 'faxMachines': ((json['fax_machines'] as Array<any>).map(FaxMachineResponseFromJSON)), }; } export function FaxMachineListResponseToJSON(json: any): FaxMachineListResponse { return FaxMachineListResponseToJSONTyped(json, false); } export function FaxMachineListResponseToJSONTyped(value?: FaxMachineListResponse | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'fax_machines': ((value['faxMachines'] as Array<any>).map(FaxMachineResponseToJSON)), }; }