package org.bml.validation.v0.models; import com.fasterxml.jackson.annotation.JsonProperty; import java.lang.Override; import java.lang.String; /** * Generated by API Builder - https://www.apibuilder.io * Service version: 0.0.1 * User agent: apibuilder app.apibuilder.io/bml/validation/0.0.1/android_rx2_client * * WARNING: not all features (notably unions) and data types work with android generator yet. * Android generator is designed to be used in an android application, but should work in any java codebase as long as you import jackson, retrofit2 and RxJava2 libraries. * If you are considering using this library, would like to request/discuss features, or would like to share how you're using it, please contact android-feedback@gilt.com * * Error types for field validation. */ public enum FieldValidationErrorType { @JsonProperty("isNull") ISNULL("isNull"), @JsonProperty("isEmpty") ISEMPTY("isEmpty"), @JsonProperty("minimumLength") MINIMUMLENGTH("minimumLength"), @JsonProperty("maximumLength") MAXIMUMLENGTH("maximumLength"), @JsonProperty("pattern") PATTERN("pattern"), @JsonProperty("syntax") SYNTAX("syntax"); private final String jsonProperty; FieldValidationErrorType(String jsonProperty) { this.jsonProperty = jsonProperty; } @Override public String toString() { return jsonProperty; } }