
com.infobip.model.WhatsAppLanguage Maven / Gradle / Ivy
/*
* This class is auto generated from the Infobip OpenAPI specification
* through the OpenAPI Specification Client API libraries (Re)Generator (OSCAR),
* powered by the OpenAPI Generator (https://openapi-generator.tech).
*
* Do not edit manually. To learn how to raise an issue, see the CONTRIBUTING guide
* or contact us @ [email protected].
*/
package com.infobip.model;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
/**
* Template language, one template with same name can have multiple transliterations.
*/
public enum WhatsAppLanguage {
AF("af"),
SQ("sq"),
AR("ar"),
AZ("az"),
BN("bn"),
BG("bg"),
CA("ca"),
ZH_CN("zh_CN"),
ZH_HK("zh_HK"),
ZH_TW("zh_TW"),
HR("hr"),
CS("cs"),
DA("da"),
NL("nl"),
EN("en"),
EN_GB("en_GB"),
EN_US("en_US"),
ET("et"),
FIL("fil"),
FI("fi"),
FR("fr"),
KA("ka"),
DE("de"),
EL("el"),
GU("gu"),
HA("ha"),
HE("he"),
HI("hi"),
HU("hu"),
ID("id"),
GA("ga"),
IT("it"),
JA("ja"),
KN("kn"),
KK("kk"),
RW_RW("rw_RW"),
KO("ko"),
KY_KG("ky_KG"),
LO("lo"),
LV("lv"),
LT("lt"),
MK("mk"),
MS("ms"),
ML("ml"),
MR("mr"),
NB("nb"),
FA("fa"),
PL("pl"),
PT_BR("pt_BR"),
PT_PT("pt_PT"),
PA("pa"),
RO("ro"),
RU("ru"),
SR("sr"),
SK("sk"),
SL("sl"),
ES("es"),
ES_AR("es_AR"),
ES_ES("es_ES"),
ES_MX("es_MX"),
SW("sw"),
SV("sv"),
TA("ta"),
TE("te"),
TH("th"),
TR("tr"),
UK("uk"),
UR("ur"),
UZ("uz"),
VI("vi"),
ZU("zu"),
UNKNOWN("unknown");
private final String value;
WhatsAppLanguage(String value) {
this.value = value;
}
@JsonValue
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
@JsonCreator
public static WhatsAppLanguage fromValue(String value) {
for (WhatsAppLanguage enumElement : WhatsAppLanguage.values()) {
if (enumElement.value.equals(value)) {
return enumElement;
}
}
throw new IllegalArgumentException("Unexpected enum value '" + value + "'.");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy