93 lines
2.2 KiB
TypeScript
93 lines
2.2 KiB
TypeScript
|
|
/* 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 ClientIdentityEntry
|
||
|
|
*/
|
||
|
|
export interface ClientIdentityEntry {
|
||
|
|
/**
|
||
|
|
*
|
||
|
|
* @type {string}
|
||
|
|
* @memberof ClientIdentityEntry
|
||
|
|
*/
|
||
|
|
added?: string;
|
||
|
|
/**
|
||
|
|
*
|
||
|
|
* @type {string}
|
||
|
|
* @memberof ClientIdentityEntry
|
||
|
|
*/
|
||
|
|
fingerprint?: string;
|
||
|
|
/**
|
||
|
|
*
|
||
|
|
* @type {string}
|
||
|
|
* @memberof ClientIdentityEntry
|
||
|
|
*/
|
||
|
|
number?: string;
|
||
|
|
/**
|
||
|
|
*
|
||
|
|
* @type {string}
|
||
|
|
* @memberof ClientIdentityEntry
|
||
|
|
*/
|
||
|
|
safetyNumber?: string;
|
||
|
|
/**
|
||
|
|
*
|
||
|
|
* @type {string}
|
||
|
|
* @memberof ClientIdentityEntry
|
||
|
|
*/
|
||
|
|
status?: string;
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Check if a given object implements the ClientIdentityEntry interface.
|
||
|
|
*/
|
||
|
|
export function instanceOfClientIdentityEntry(value: object): value is ClientIdentityEntry {
|
||
|
|
return true;
|
||
|
|
}
|
||
|
|
|
||
|
|
export function ClientIdentityEntryFromJSON(json: any): ClientIdentityEntry {
|
||
|
|
return ClientIdentityEntryFromJSONTyped(json, false);
|
||
|
|
}
|
||
|
|
|
||
|
|
export function ClientIdentityEntryFromJSONTyped(json: any, ignoreDiscriminator: boolean): ClientIdentityEntry {
|
||
|
|
if (json == null) {
|
||
|
|
return json;
|
||
|
|
}
|
||
|
|
return {
|
||
|
|
|
||
|
|
'added': json['added'] == null ? undefined : json['added'],
|
||
|
|
'fingerprint': json['fingerprint'] == null ? undefined : json['fingerprint'],
|
||
|
|
'number': json['number'] == null ? undefined : json['number'],
|
||
|
|
'safetyNumber': json['safety_number'] == null ? undefined : json['safety_number'],
|
||
|
|
'status': json['status'] == null ? undefined : json['status'],
|
||
|
|
};
|
||
|
|
}
|
||
|
|
|
||
|
|
export function ClientIdentityEntryToJSON(value?: ClientIdentityEntry | null): any {
|
||
|
|
if (value == null) {
|
||
|
|
return value;
|
||
|
|
}
|
||
|
|
return {
|
||
|
|
|
||
|
|
'added': value['added'],
|
||
|
|
'fingerprint': value['fingerprint'],
|
||
|
|
'number': value['number'],
|
||
|
|
'safety_number': value['safetyNumber'],
|
||
|
|
'status': value['status'],
|
||
|
|
};
|
||
|
|
}
|
||
|
|
|