/* 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 ClientAbout */ export interface ClientAbout { /** * * @type {number} * @memberof ClientAbout */ build?: number; /** * * @type {{ [key: string]: Array; }} * @memberof ClientAbout */ capabilities?: { [key: string]: Array; }; /** * * @type {string} * @memberof ClientAbout */ mode?: string; /** * * @type {string} * @memberof ClientAbout */ version?: string; /** * * @type {Array} * @memberof ClientAbout */ versions?: Array; } /** * Check if a given object implements the ClientAbout interface. */ export function instanceOfClientAbout(value: object): value is ClientAbout { return true; } export function ClientAboutFromJSON(json: any): ClientAbout { return ClientAboutFromJSONTyped(json, false); } export function ClientAboutFromJSONTyped(json: any, ignoreDiscriminator: boolean): ClientAbout { if (json == null) { return json; } return { 'build': json['build'] == null ? undefined : json['build'], 'capabilities': json['capabilities'] == null ? undefined : json['capabilities'], 'mode': json['mode'] == null ? undefined : json['mode'], 'version': json['version'] == null ? undefined : json['version'], 'versions': json['versions'] == null ? undefined : json['versions'], }; } export function ClientAboutToJSON(value?: ClientAbout | null): any { if (value == null) { return value; } return { 'build': value['build'], 'capabilities': value['capabilities'], 'mode': value['mode'], 'version': value['version'], 'versions': value['versions'], }; }