61 lines
1.4 KiB
TypeScript
61 lines
1.4 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 ApiTypingIndicatorRequest
|
||
|
|
*/
|
||
|
|
export interface ApiTypingIndicatorRequest {
|
||
|
|
/**
|
||
|
|
*
|
||
|
|
* @type {string}
|
||
|
|
* @memberof ApiTypingIndicatorRequest
|
||
|
|
*/
|
||
|
|
recipient?: string;
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Check if a given object implements the ApiTypingIndicatorRequest interface.
|
||
|
|
*/
|
||
|
|
export function instanceOfApiTypingIndicatorRequest(value: object): value is ApiTypingIndicatorRequest {
|
||
|
|
return true;
|
||
|
|
}
|
||
|
|
|
||
|
|
export function ApiTypingIndicatorRequestFromJSON(json: any): ApiTypingIndicatorRequest {
|
||
|
|
return ApiTypingIndicatorRequestFromJSONTyped(json, false);
|
||
|
|
}
|
||
|
|
|
||
|
|
export function ApiTypingIndicatorRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiTypingIndicatorRequest {
|
||
|
|
if (json == null) {
|
||
|
|
return json;
|
||
|
|
}
|
||
|
|
return {
|
||
|
|
|
||
|
|
'recipient': json['recipient'] == null ? undefined : json['recipient'],
|
||
|
|
};
|
||
|
|
}
|
||
|
|
|
||
|
|
export function ApiTypingIndicatorRequestToJSON(value?: ApiTypingIndicatorRequest | null): any {
|
||
|
|
if (value == null) {
|
||
|
|
return value;
|
||
|
|
}
|
||
|
|
return {
|
||
|
|
|
||
|
|
'recipient': value['recipient'],
|
||
|
|
};
|
||
|
|
}
|
||
|
|
|