/*
 * 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 OpcuaNodeIdServicesVariableConfiguration {
  ConfigurationFileType_LastUpdateTime((int) 15438L),
  ConfigurationFileType_CurrentVersion((int) 15439L),
  ConfigurationFileType_ActivityTimeout((int) 15503L),
  ConfigurationFileType_SupportedDataType((int) 15504L),
  ConfigurationFileType_CloseAndUpdate_InputArguments((int) 15506L),
  ConfigurationFileType_CloseAndUpdate_OutputArguments((int) 15507L),
  ConfigurationFileType_ConfirmUpdate_InputArguments((int) 15511L),
  ConfigurationFileCloseAndUpdateMethodType_InputArguments((int) 15514L),
  ConfigurationFileCloseAndUpdateMethodType_OutputArguments((int) 15515L),
  ConfigurationFileConfirmUpdateMethodType_InputArguments((int) 15536L),
  ConfigurationUpdateType_EnumValues((int) 15540L),
  ConfigurationUpdatedAuditEventType_OldVersion((int) 15542L),
  ConfigurationUpdatedAuditEventType_NewVersion((int) 15543L);
  private static final Map<Integer, OpcuaNodeIdServicesVariableConfiguration> map;

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

  private final int value;

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

  public int getValue() {
    return value;
  }

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

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