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

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

export function ApiVerifyNumberSettingsFromJSON(
  json: any,
): ApiVerifyNumberSettings {
  return ApiVerifyNumberSettingsFromJSONTyped(json, false);
}

export function ApiVerifyNumberSettingsFromJSONTyped(
  json: any,
  ignoreDiscriminator: boolean,
): ApiVerifyNumberSettings {
  if (json == null) {
    return json;
  }
  return {
    pin: json["pin"] == null ? undefined : json["pin"],
  };
}

export function ApiVerifyNumberSettingsToJSON(
  value?: ApiVerifyNumberSettings | null,
): any {
  if (value == null) {
    return value;
  }
  return {
    pin: value["pin"],
  };
}
