Class RuleViolationProblemDetails

java.lang.Object
io.apicurio.registry.rest.v3.beans.ProblemDetails
io.apicurio.registry.rest.v3.beans.RuleViolationProblemDetails

@Generated("jsonschema2pojo") public class RuleViolationProblemDetails extends ProblemDetails
Root Type for Error

All error responses, whether `4xx` or `5xx` will include one of these as the response body.

  • Constructor Details

    • RuleViolationProblemDetails

      public RuleViolationProblemDetails()
  • Method Details

    • getCauses

      public List<RuleViolationCause> getCauses()
      List of rule violation causes. (Required)
    • setCauses

      public void setCauses(List<RuleViolationCause> causes)
      List of rule violation causes. (Required)
    • getDetail

      public String getDetail()
      A human-readable explanation specific to this occurrence of the problem.
      Overrides:
      getDetail in class ProblemDetails
    • setDetail

      public void setDetail(String detail)
      A human-readable explanation specific to this occurrence of the problem.
      Overrides:
      setDetail in class ProblemDetails
    • getType

      public String getType()
      A URI reference [RFC3986] that identifies the problem type.
      Overrides:
      getType in class ProblemDetails
    • setType

      public void setType(String type)
      A URI reference [RFC3986] that identifies the problem type.
      Overrides:
      setType in class ProblemDetails
    • getTitle

      public String getTitle()
      A short, human-readable summary of the problem type. (Required)
      Overrides:
      getTitle in class ProblemDetails
    • setTitle

      public void setTitle(String title)
      A short, human-readable summary of the problem type. (Required)
      Overrides:
      setTitle in class ProblemDetails
    • getStatus

      public Integer getStatus()
      The HTTP status code. (Required)
      Overrides:
      getStatus in class ProblemDetails
    • setStatus

      public void setStatus(Integer status)
      The HTTP status code. (Required)
      Overrides:
      setStatus in class ProblemDetails
    • getInstance

      public String getInstance()
      A URI reference that identifies the specific occurrence of the problem.
      Overrides:
      getInstance in class ProblemDetails
    • setInstance

      public void setInstance(String instance)
      A URI reference that identifies the specific occurrence of the problem.
      Overrides:
      setInstance in class ProblemDetails
    • getName

      public String getName()
      The name of the error (typically a server exception class name).
      Overrides:
      getName in class ProblemDetails
    • setName

      public void setName(String name)
      The name of the error (typically a server exception class name).
      Overrides:
      setName in class ProblemDetails