com.messagebird.objects.Language Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of messagebird-api Show documentation
Show all versions of messagebird-api Show documentation
The MessageBird API provides a API to the MessageBird SMS and voicemail services located at https://www.messagebird.com.
The newest version!
package com.messagebird.objects;
import com.fasterxml.jackson.annotation.JsonValue;
/**
* Created by faizan on 09/12/15.
*/
public enum Language {
NL_NL("nl-nl"),
DE_DE("de-de"),
EN_GB("en-gb"),
EN_US("en-us"),
ES_ES("es-es"),
FR_FR("fr-fr"),
RU_RU("ru-ru"),
ZH_CN("zh-cn"),
EN_AU("en-au"),
ES_MX("es-mx"),
ES_US("es-us"),
FR_CA("fr-ca"),
IS_IS("is-is"),
IT_IT("it-it"),
JA_JP("ja-jp"),
KO_KR("ko-kr"),
PL_PL("pl-pl"),
PT_BR("pt-br"),
RO_RO("ro-ro");
final String code;
Language(String code) {
this.code = code;
}
@JsonValue
public String getCode() {
return code;
}
@Override
public String toString() {
return "Language{" +
"code='" + code + '\'' +
'}';
}
}