Class Validation
java.lang.Object
com.boldsign.model.Validation
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.8.0")
public class Validation
extends Object
Validation
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumGets or Sets type -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic ValidationCreate an instance of Validation given an JSON stringgetRegex()Get regexGet regexMessagegetType()Get typeinthashCode()regexMessage(String regexMessage) voidvoidsetRegexMessage(String regexMessage) voidsetType(Validation.TypeEnum type) toJson()Convert an instance of Validation to an JSON stringtoString()type(Validation.TypeEnum type) static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_TYPE
- See Also:
-
SERIALIZED_NAME_REGEX
- See Also:
-
SERIALIZED_NAME_REGEX_MESSAGE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
Validation
public Validation()
-
-
Method Details
-
type
-
getType
-
setType
-
regex
-
getRegex
-
setRegex
-
regexMessage
-
getRegexMessage
-
setRegexMessage
-
equals
-
hashCode
-
toString
-
createFormData
- Throws:
ApiException
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to Validation
-
fromJson
Create an instance of Validation given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Validation
- Throws:
IOException- if the JSON string is invalid with respect to Validation
-
toJson
-