64 lines
1.3 KiB
TypeScript
64 lines
1.3 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.js";
|
|
/**
|
|
*
|
|
* @export
|
|
* @interface ApiTrustModeRequest
|
|
*/
|
|
export interface ApiTrustModeRequest {
|
|
/**
|
|
*
|
|
* @type {string}
|
|
* @memberof ApiTrustModeRequest
|
|
*/
|
|
trustMode?: string;
|
|
}
|
|
|
|
/**
|
|
* Check if a given object implements the ApiTrustModeRequest interface.
|
|
*/
|
|
export function instanceOfApiTrustModeRequest(
|
|
value: object,
|
|
): value is ApiTrustModeRequest {
|
|
return true;
|
|
}
|
|
|
|
export function ApiTrustModeRequestFromJSON(json: any): ApiTrustModeRequest {
|
|
return ApiTrustModeRequestFromJSONTyped(json, false);
|
|
}
|
|
|
|
export function ApiTrustModeRequestFromJSONTyped(
|
|
json: any,
|
|
ignoreDiscriminator: boolean,
|
|
): ApiTrustModeRequest {
|
|
if (json == null) {
|
|
return json;
|
|
}
|
|
return {
|
|
trustMode: json["trust_mode"] == null ? undefined : json["trust_mode"],
|
|
};
|
|
}
|
|
|
|
export function ApiTrustModeRequestToJSON(
|
|
value?: ApiTrustModeRequest | null,
|
|
): any {
|
|
if (value == null) {
|
|
return value;
|
|
}
|
|
return {
|
|
trust_mode: value["trustMode"],
|
|
};
|
|
}
|