/*
 * ThingPark things management Networks API
 * REST interface for networks management. 
 *
 * The version of the OpenAPI document: 7.3
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

package lora.ns.actility.api.model.common;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;

/**
 * ISM band name
 */
public enum IsmBandName {

  EU863_870_EU868_("EU863-870 (EU868)"),

  EU433("EU433"),

  CN779_787_CN779_("CN779-787 (CN779)"),

  AS923("AS923"),

  KR920_923_KR920_("KR920-923 (KR920)"),

  US902_915_US915_("US902-915 (US915)"),

  AU915_928_AU915_("AU915-928 (AU915)"),

  CN470_510_CN470_("CN470-510 (CN470)"),

  IN865_867_IN865_("IN865-867 (IN865)"),

  RU864_870_RU864_("RU864-870 (RU864)"),

  WW2400("WW2400");

  private String value;

  IsmBandName(String value) {
    this.value = value;
  }

  @JsonValue
  public String getValue() {
    return value;
  }

  @Override
  public String toString() {
    return String.valueOf(value);
  }

  @JsonCreator
  public static IsmBandName fromValue(String value) {
    for (IsmBandName b : IsmBandName.values()) {
      if (b.value.equals(value)) {
        return b;
      }
    }
    throw new IllegalArgumentException("Unexpected value '" + value + "'");
  }
}
