/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *   https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */
package org.apache.plc4x.java.opcua.readwrite;

import java.util.HashMap;
import java.util.Map;

// Code generated by code-generation. DO NOT EDIT.

public enum OpcuaNodeIdServicesVariableMulti {
  MultiStateDiscreteType_EnumStrings((int) 2377L),
  MultiStateDiscreteType_Definition((int) 3780L),
  MultiStateDiscreteType_ValuePrecision((int) 3781L),
  MultiStateValueDiscreteType_Definition((int) 11239L),
  MultiStateValueDiscreteType_ValuePrecision((int) 11240L),
  MultiStateValueDiscreteType_EnumValues((int) 11241L),
  MultiStateValueDiscreteType_ValueAsText((int) 11461L),
  MultiStateDictionaryEntryDiscreteBaseType_Definition((int) 19078L),
  MultiStateDictionaryEntryDiscreteBaseType_ValuePrecision((int) 19079L),
  MultiStateDictionaryEntryDiscreteBaseType_EnumValues((int) 19080L),
  MultiStateDictionaryEntryDiscreteBaseType_ValueAsText((int) 19081L),
  MultiStateDictionaryEntryDiscreteBaseType_EnumDictionaryEntries((int) 19082L),
  MultiStateDictionaryEntryDiscreteBaseType_ValueAsDictionaryEntries((int) 19083L),
  MultiStateDictionaryEntryDiscreteType_Definition((int) 19085L),
  MultiStateDictionaryEntryDiscreteType_ValuePrecision((int) 19086L),
  MultiStateDictionaryEntryDiscreteType_EnumValues((int) 19087L),
  MultiStateDictionaryEntryDiscreteType_ValueAsText((int) 19088L),
  MultiStateDictionaryEntryDiscreteType_EnumDictionaryEntries((int) 19089L),
  MultiStateDictionaryEntryDiscreteType_ValueAsDictionaryEntries((int) 19090L);
  private static final Map<Integer, OpcuaNodeIdServicesVariableMulti> map;

  static {
    map = new HashMap<>();
    for (OpcuaNodeIdServicesVariableMulti value : OpcuaNodeIdServicesVariableMulti.values()) {
      map.put((int) value.getValue(), value);
    }
  }

  private final int value;

  OpcuaNodeIdServicesVariableMulti(int value) {
    this.value = value;
  }

  public int getValue() {
    return value;
  }

  public static OpcuaNodeIdServicesVariableMulti enumForValue(int value) {
    return map.get(value);
  }

  public static Boolean isDefined(int value) {
    return map.containsKey(value);
  }
}
