Class Problem


  • @Generated(value="org.openapitools.codegen.languages.SpringCodegen",
               date="2022-10-13T20:32:01.566090+02:00[Europe/Berlin]")
    public class Problem
    extends Object
    Problem
    • Constructor Detail

      • Problem

        public Problem()
    • Method Detail

      • getType

        @Valid
        public @Valid URI getType()
        An absolute URI that identifies the problem type. When dereferenced, it SHOULD provide human-readable documentation for the problem type (e.g., using HTML).
        Returns:
        type
      • setType

        public void setType​(URI type)
      • getTitle

        public String getTitle()
        A short, summary of the problem type. Written in english and readable for engineers (usually not suited for non technical stakeholders and not localized); example: Service Unavailable
        Returns:
        title
      • setTitle

        public void setTitle​(String title)
      • getStatus

        @Min(100L)
        @Max(600L)
        public @Min(100L) @Max(600L) Integer getStatus()
        The HTTP status code generated by the origin server for this occurrence of the problem. minimum: 100 maximum: 600
        Returns:
        status
      • setStatus

        public void setStatus​(Integer status)
      • getDetail

        public String getDetail()
        A human readable explanation specific to this occurrence of the problem.
        Returns:
        detail
      • setDetail

        public void setDetail​(String detail)
      • instance

        public Problem instance​(URI instance)
      • getInstance

        @Valid
        public @Valid URI getInstance()
        An absolute URI that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
        Returns:
        instance
      • setInstance

        public void setInstance​(URI instance)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object