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

com.geotab.model.enumeration.GoTalkLanguage Maven / Gradle / Ivy

package com.geotab.model.enumeration;

import com.fasterxml.jackson.annotation.JsonValue;

/*
 * The language used by a GoTalk attached to a {@link GoDevice}.
 */
public enum GoTalkLanguage {

  ENGLISH("English", 0),

  FRENCH("French", 3),

  SPANISH("Spanish", 4),

  GERMAN("German", 5),

  ITALIAN("Italian", 6);

  private String name;
  private int code;

  GoTalkLanguage(String name, int code) {
    this.name = name;
    this.code = code;
  }

  @JsonValue
  public String getName() {
    return name;
  }

  public int getCode() {
    return code;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy