link-stack/packages/signal-api/models/ApiTrustModeResponse.ts

65 lines
1.3 KiB
TypeScript
Raw Normal View History

/* tslint:disable */
/* eslint-disable */
/**
* Signal Cli REST API
* This is the Signal Cli REST API documentation.
*
* The version of the OpenAPI document: 1.0
2024-06-28 07:49:39 +02:00
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
2024-06-28 07:49:39 +02:00
import { mapValues } from "../runtime.js";
/**
2024-06-28 07:49:39 +02:00
*
* @export
* @interface ApiTrustModeResponse
*/
export interface ApiTrustModeResponse {
2024-06-28 07:49:39 +02:00
/**
*
* @type {string}
* @memberof ApiTrustModeResponse
*/
trustMode?: string;
}
/**
* Check if a given object implements the ApiTrustModeResponse interface.
*/
2024-06-28 07:49:39 +02:00
export function instanceOfApiTrustModeResponse(
value: object,
): value is ApiTrustModeResponse {
return true;
}
export function ApiTrustModeResponseFromJSON(json: any): ApiTrustModeResponse {
2024-06-28 07:49:39 +02:00
return ApiTrustModeResponseFromJSONTyped(json, false);
}
2024-06-28 07:49:39 +02:00
export function ApiTrustModeResponseFromJSONTyped(
json: any,
ignoreDiscriminator: boolean,
): ApiTrustModeResponse {
if (json == null) {
return json;
}
return {
trustMode: json["trust_mode"] == null ? undefined : json["trust_mode"],
};
}
2024-06-28 07:49:39 +02:00
export function ApiTrustModeResponseToJSON(
value?: ApiTrustModeResponse | null,
): any {
if (value == null) {
return value;
}
return {
trust_mode: value["trustMode"],
};
}