All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.geotab.model.entity.deviceconnectionstatus.DeviceConnectionStatus Maven / Gradle / Ivy

package com.geotab.model.entity.deviceconnectionstatus;

import com.fasterxml.jackson.annotation.JsonValue;
import lombok.extern.slf4j.Slf4j;

@Slf4j
public enum DeviceConnectionStatus {
  /**
   * The device is currently connected and active.
   */
  Active(0),
  /**
   * The connection is inactive and was terminated normally.
   */
  Disconnected(1),
  /**
   * Value undefined in this enum.
   */
  RFU_2(2),
  /**
   * Value undefined in this enum.
   */
  RFU_3(3),
  /**
   * The device is currently connected but not active.
   */
  Inactive(4);

  private final int value;

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy