java.lang.Object
java.lang.Record
com.irurueta.authserver.bff.api.web.v1.generated.model.Problem
Record Components:
type - URI reference identifying the problem type, a URN such as urn:problem:documents:not-found.
title - Short, human-readable summary of the problem type.
status - HTTP status code of the answer.
detail - Human-readable explanation specific to this occurrence. It never carries a token.
instance - URI reference identifying this occurrence, usually the request path.
acrValues - Only in a urn:problem:documents:step-up-required problem: the space-separated authentication context class references the resource server asks for, to pass as acrValues to GET /bff/login. Absent when the resource server named none.
maxAge - Only in a urn:problem:documents:step-up-required problem: the maximum age, in seconds, of the authentication the resource server accepts, to pass as maxAge to GET /bff/login. Absent when the resource server named none.

@Generated(value="org.openapitools.codegen.languages.SpringCodegen", date="2026-11-08T20:28:39.749895604Z[Etc/UTC]", comments="Generator version: 7.27.0") public record Problem(@Valid URI type, String title, Integer status, String detail, @Valid URI instance, String acrValues, Long maxAge) extends Record
RFC 9457 problem details of a failed call to the documents, answered as application/problem+json. The operations also declare them under application/json so that a client that only asks for JSON is not refused with 406: it gets the status and the problem (still as application/problem+json).
  • Field Details

    • type

      @Valid @Nullable private final @Valid URI type
      The field for the type record component.
    • title

      @Nullable private final String title
      The field for the title record component.
    • status

      @Nullable private final Integer status
      The field for the status record component.
    • detail

      @Nullable private final String detail
      The field for the detail record component.
    • instance

      @Valid @Nullable private final @Valid URI instance
      The field for the instance record component.
    • acrValues

      @Nullable private final String acrValues
      The field for the acrValues record component.
    • maxAge

      @Nullable private final Long maxAge
      The field for the maxAge record component.
  • Constructor Details

    • Problem

      public Problem(@Valid @Nullable @Valid URI type, @Nullable String title, @Nullable Integer status, @Nullable String detail, @Valid @Nullable @Valid URI instance, @Nullable String acrValues, @Nullable Long maxAge)
      Creates an instance of a Problem record class.
      Parameters:
      type - the value for the type record component
      title - the value for the title record component
      status - the value for the status record component
      detail - the value for the detail record component
      instance - the value for the instance record component
      acrValues - the value for the acrValues record component
      maxAge - the value for the maxAge record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • type

      @Valid @Nullable public @Valid URI type()
      Returns the value of the type record component.
      Returns:
      the value of the type record component
    • title

      @Nullable public String title()
      Returns the value of the title record component.
      Returns:
      the value of the title record component
    • status

      @Nullable public Integer status()
      Returns the value of the status record component.
      Returns:
      the value of the status record component
    • detail

      @Nullable public String detail()
      Returns the value of the detail record component.
      Returns:
      the value of the detail record component
    • instance

      @Valid @Nullable public @Valid URI instance()
      Returns the value of the instance record component.
      Returns:
      the value of the instance record component
    • acrValues

      @Nullable public String acrValues()
      Returns the value of the acrValues record component.
      Returns:
      the value of the acrValues record component
    • maxAge

      @Nullable public Long maxAge()
      Returns the value of the maxAge record component.
      Returns:
      the value of the maxAge record component