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:
  • Constructor Details

    • ValidationError

      public ValidationError()
      Default constructor.
    • ValidationError

      public ValidationError(String object, Map<String,String> details)
      Constructor.
      Parameters:
      object - name of the object that validation failed for
      details - underlying errors (field names and error messages)
  • Method Details

    • getObject

      public String getObject()
      Gets the name of the object that validation failed for.
      Returns:
      the object name
    • setObject

      public void setObject(String object)
      Assigns the name of the object that validation failed for.
      Parameters:
      object - object name
    • getDetails

      public Map<String,String> getDetails()
      Gets the underlying errors (field names and error messages).
      Returns:
      map of underlying errors
    • setDetails

      public void setDetails(Map<String,String> details)
      Assigns the underlying errors (field names and error messages).
      Parameters:
      details - map of underlying errors
    • builder