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

67 lines
1.3 KiB
TypeScript
Raw Permalink 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 ApiCreateGroupResponse
*/
export interface ApiCreateGroupResponse {
2024-06-28 07:49:39 +02:00
/**
*
* @type {string}
* @memberof ApiCreateGroupResponse
*/
id?: string;
}
/**
* Check if a given object implements the ApiCreateGroupResponse interface.
*/
2024-06-28 07:49:39 +02:00
export function instanceOfApiCreateGroupResponse(
value: object,
): value is ApiCreateGroupResponse {
return true;
}
2024-06-28 07:49:39 +02:00
export function ApiCreateGroupResponseFromJSON(
json: any,
): ApiCreateGroupResponse {
return ApiCreateGroupResponseFromJSONTyped(json, false);
}
2024-06-28 07:49:39 +02:00
export function ApiCreateGroupResponseFromJSONTyped(
json: any,
ignoreDiscriminator: boolean,
): ApiCreateGroupResponse {
if (json == null) {
return json;
}
return {
id: json["id"] == null ? undefined : json["id"],
};
}
2024-06-28 07:49:39 +02:00
export function ApiCreateGroupResponseToJSON(
value?: ApiCreateGroupResponse | null,
): any {
if (value == null) {
return value;
}
return {
id: value["id"],
};
}