com.infobip.model.ViberMessageErrorGroup Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of infobip-api-java-client Show documentation
Show all versions of infobip-api-java-client Show documentation
API client in Java for Infobip's API (http://dev.infobip.com/).
The newest version!
/*
* 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;
/**
* Error group name that describes which category the error code belongs to.
*/
public enum ViberMessageErrorGroup {
OK("OK"),
HANDSET_ERRORS("HANDSET_ERRORS"),
USER_ERRORS("USER_ERRORS"),
OPERATOR_ERRORS("OPERATOR_ERRORS");
private final String value;
ViberMessageErrorGroup(String value) {
this.value = value;
}
@JsonValue
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
@JsonCreator
public static ViberMessageErrorGroup fromValue(String value) {
for (ViberMessageErrorGroup enumElement : ViberMessageErrorGroup.values()) {
if (enumElement.value.equals(value)) {
return enumElement;
}
}
throw new IllegalArgumentException("Unexpected enum value '" + value + "'.");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy