/* 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 ClientListInstalledStickerPacksResponse */ export interface ClientListInstalledStickerPacksResponse { /** * * @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; } /** * Check if a given object implements the ClientListInstalledStickerPacksResponse interface. */ export function instanceOfClientListInstalledStickerPacksResponse( value: object, ): value is ClientListInstalledStickerPacksResponse { return true; } export function ClientListInstalledStickerPacksResponseFromJSON( json: any, ): ClientListInstalledStickerPacksResponse { return ClientListInstalledStickerPacksResponseFromJSONTyped(json, false); } 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"], }; } 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"], }; }