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

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

export function ApiLoggingConfigurationFromJSON(
  json: any,
): ApiLoggingConfiguration {
  return ApiLoggingConfigurationFromJSONTyped(json, false);
}

export function ApiLoggingConfigurationFromJSONTyped(
  json: any,
  ignoreDiscriminator: boolean,
): ApiLoggingConfiguration {
  if (json == null) {
    return json;
  }
  return {
    level: json["Level"] == null ? undefined : json["Level"],
  };
}

export function ApiLoggingConfigurationToJSON(
  value?: ApiLoggingConfiguration | null,
): any {
  if (value == null) {
    return value;
  }
  return {
    Level: value["level"],
  };
}
