Class SignServiceIntegrationErrorBody.ValidationError
java.lang.Object
se.idsec.signservice.integration.core.error.SignServiceIntegrationErrorBody.ValidationError
- All Implemented Interfaces:
Serializable
- Enclosing class:
- SignServiceIntegrationErrorBody
public static class SignServiceIntegrationErrorBody.ValidationError
extends Object
implements Serializable
Representation of validation errors. See
InputValidationException
.- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
ConstructorDescriptionDefault constructor.ValidationError
(String object, Map<String, String> details) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Gets the underlying errors (field names and error messages).Gets the name of the object that validation failed for.void
setDetails
(Map<String, String> details) Assigns the underlying errors (field names and error messages).void
Assigns the name of the object that validation failed for.
-
Constructor Details
-
ValidationError
public ValidationError()Default constructor. -
ValidationError
Constructor.- Parameters:
object
- name of the object that validation failed fordetails
- underlying errors (field names and error messages)
-
-
Method Details
-
getObject
Gets the name of the object that validation failed for.- Returns:
- the object name
-
setObject
Assigns the name of the object that validation failed for.- Parameters:
object
- object name
-
getDetails
Gets the underlying errors (field names and error messages).- Returns:
- map of underlying errors
-
setDetails
Assigns the underlying errors (field names and error messages).- Parameters:
details
- map of underlying errors
-
builder
-