60 lines
1.4 KiB
TypeScript
60 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 ApiTrustModeResponse
|
|
*/
|
|
export interface ApiTrustModeResponse {
|
|
/**
|
|
*
|
|
* @type {string}
|
|
* @memberof ApiTrustModeResponse
|
|
*/
|
|
trustMode?: string;
|
|
}
|
|
|
|
/**
|
|
* Check if a given object implements the ApiTrustModeResponse interface.
|
|
*/
|
|
export function instanceOfApiTrustModeResponse(value: object): value is ApiTrustModeResponse {
|
|
return true;
|
|
}
|
|
|
|
export function ApiTrustModeResponseFromJSON(json: any): ApiTrustModeResponse {
|
|
return ApiTrustModeResponseFromJSONTyped(json, false);
|
|
}
|
|
|
|
export function ApiTrustModeResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiTrustModeResponse {
|
|
if (json == null) {
|
|
return json;
|
|
}
|
|
return {
|
|
|
|
'trustMode': json['trust_mode'] == null ? undefined : json['trust_mode'],
|
|
};
|
|
}
|
|
|
|
export function ApiTrustModeResponseToJSON(value?: ApiTrustModeResponse | null): any {
|
|
if (value == null) {
|
|
return value;
|
|
}
|
|
return {
|
|
|
|
'trust_mode': value['trustMode'],
|
|
};
|
|
}
|
|
|