/* 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 ApiAddStickerPackRequest
 */
export interface ApiAddStickerPackRequest {
  /**
   *
   * @type {string}
   * @memberof ApiAddStickerPackRequest
   */
  packId?: string;
  /**
   *
   * @type {string}
   * @memberof ApiAddStickerPackRequest
   */
  packKey?: string;
}

/**
 * Check if a given object implements the ApiAddStickerPackRequest interface.
 */
export function instanceOfApiAddStickerPackRequest(
  value: object,
): value is ApiAddStickerPackRequest {
  return true;
}

export function ApiAddStickerPackRequestFromJSON(
  json: any,
): ApiAddStickerPackRequest {
  return ApiAddStickerPackRequestFromJSONTyped(json, false);
}

export function ApiAddStickerPackRequestFromJSONTyped(
  json: any,
  ignoreDiscriminator: boolean,
): ApiAddStickerPackRequest {
  if (json == null) {
    return json;
  }
  return {
    packId: json["pack_id"] == null ? undefined : json["pack_id"],
    packKey: json["pack_key"] == null ? undefined : json["pack_key"],
  };
}

export function ApiAddStickerPackRequestToJSON(
  value?: ApiAddStickerPackRequest | null,
): any {
  if (value == null) {
    return value;
  }
  return {
    pack_id: value["packId"],
    pack_key: value["packKey"],
  };
}
