2024-06-05 10:06:41 +02:00
|
|
|
/* 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
|
|
|
*
|
2024-06-05 10:06:41 +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-05 10:06:41 +02:00
|
|
|
/**
|
2024-06-28 07:49:39 +02:00
|
|
|
*
|
2024-06-05 10:06:41 +02:00
|
|
|
* @export
|
|
|
|
|
* @interface ClientListInstalledStickerPacksResponse
|
|
|
|
|
*/
|
|
|
|
|
export interface ClientListInstalledStickerPacksResponse {
|
2024-06-28 07:49:39 +02:00
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
* @type {string}
|
|
|
|
|
* @memberof ClientListInstalledStickerPacksResponse
|
|
|
|
|
*/
|
|
|
|
|
author?: string;
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
* @type {boolean}
|
|
|
|
|
* @memberof ClientListInstalledStickerPacksResponse
|
|
|
|
|
*/
|
|
|
|
|
installed?: boolean;
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
* @type {string}
|
|
|
|
|
* @memberof ClientListInstalledStickerPacksResponse
|
|
|
|
|
*/
|
|
|
|
|
packId?: string;
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
* @type {string}
|
|
|
|
|
* @memberof ClientListInstalledStickerPacksResponse
|
|
|
|
|
*/
|
|
|
|
|
title?: string;
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
* @type {string}
|
|
|
|
|
* @memberof ClientListInstalledStickerPacksResponse
|
|
|
|
|
*/
|
|
|
|
|
url?: string;
|
2024-06-05 10:06:41 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Check if a given object implements the ClientListInstalledStickerPacksResponse interface.
|
|
|
|
|
*/
|
2024-06-28 07:49:39 +02:00
|
|
|
export function instanceOfClientListInstalledStickerPacksResponse(
|
|
|
|
|
value: object,
|
|
|
|
|
): value is ClientListInstalledStickerPacksResponse {
|
|
|
|
|
return true;
|
2024-06-05 10:06:41 +02:00
|
|
|
}
|
|
|
|
|
|
2024-06-28 07:49:39 +02:00
|
|
|
export function ClientListInstalledStickerPacksResponseFromJSON(
|
|
|
|
|
json: any,
|
|
|
|
|
): ClientListInstalledStickerPacksResponse {
|
|
|
|
|
return ClientListInstalledStickerPacksResponseFromJSONTyped(json, false);
|
2024-06-05 10:06:41 +02:00
|
|
|
}
|
|
|
|
|
|
2024-06-28 07:49:39 +02:00
|
|
|
export function ClientListInstalledStickerPacksResponseFromJSONTyped(
|
|
|
|
|
json: any,
|
|
|
|
|
ignoreDiscriminator: boolean,
|
|
|
|
|
): ClientListInstalledStickerPacksResponse {
|
|
|
|
|
if (json == null) {
|
|
|
|
|
return json;
|
|
|
|
|
}
|
|
|
|
|
return {
|
|
|
|
|
author: json["author"] == null ? undefined : json["author"],
|
|
|
|
|
installed: json["installed"] == null ? undefined : json["installed"],
|
|
|
|
|
packId: json["pack_id"] == null ? undefined : json["pack_id"],
|
|
|
|
|
title: json["title"] == null ? undefined : json["title"],
|
|
|
|
|
url: json["url"] == null ? undefined : json["url"],
|
|
|
|
|
};
|
2024-06-05 10:06:41 +02:00
|
|
|
}
|
|
|
|
|
|
2024-06-28 07:49:39 +02:00
|
|
|
export function ClientListInstalledStickerPacksResponseToJSON(
|
|
|
|
|
value?: ClientListInstalledStickerPacksResponse | null,
|
|
|
|
|
): any {
|
|
|
|
|
if (value == null) {
|
|
|
|
|
return value;
|
|
|
|
|
}
|
|
|
|
|
return {
|
|
|
|
|
author: value["author"],
|
|
|
|
|
installed: value["installed"],
|
|
|
|
|
pack_id: value["packId"],
|
|
|
|
|
title: value["title"],
|
|
|
|
|
url: value["url"],
|
|
|
|
|
};
|
2024-06-05 10:06:41 +02:00
|
|
|
}
|