Record Class AdminController.AdminConfig

java.lang.Object
java.lang.Record
io.dialob.boot.controller.AdminController.AdminConfig
Enclosing class:
AdminController

public static record AdminController.AdminConfig(String url, String documentation, String fillUrl, String reviewUrl, org.springframework.security.web.csrf.CsrfToken csrf, String composerUrl, String tenantId, boolean versioning) extends Record
  • Constructor Summary

    Constructors
    Constructor
    Description
    AdminConfig(String url, String documentation, String fillUrl, String reviewUrl, org.springframework.security.web.csrf.CsrfToken csrf, String composerUrl, String tenantId, boolean versioning)
    Creates an instance of a AdminConfig record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the value of the composerUrl record component.
    org.springframework.security.web.csrf.CsrfToken
    Returns the value of the csrf record component.
    Returns the value of the documentation record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    Returns the value of the fillUrl record component.
    final int
    Returns a hash code value for this object.
    Returns the value of the reviewUrl record component.
    Returns the value of the tenantId record component.
    final String
    Returns a string representation of this record class.
    url()
    Returns the value of the url record component.
    boolean
    Returns the value of the versioning record component.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • AdminConfig

      public AdminConfig(String url, String documentation, String fillUrl, String reviewUrl, org.springframework.security.web.csrf.CsrfToken csrf, String composerUrl, String tenantId, boolean versioning)
      Creates an instance of a AdminConfig record class.
      Parameters:
      url - the value for the url record component
      documentation - the value for the documentation record component
      fillUrl - the value for the fillUrl record component
      reviewUrl - the value for the reviewUrl record component
      csrf - the value for the csrf record component
      composerUrl - the value for the composerUrl record component
      tenantId - the value for the tenantId record component
      versioning - the value for the versioning 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. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      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.
    • url

      public String url()
      Returns the value of the url record component.
      Returns:
      the value of the url record component
    • documentation

      public String documentation()
      Returns the value of the documentation record component.
      Returns:
      the value of the documentation record component
    • fillUrl

      public String fillUrl()
      Returns the value of the fillUrl record component.
      Returns:
      the value of the fillUrl record component
    • reviewUrl

      public String reviewUrl()
      Returns the value of the reviewUrl record component.
      Returns:
      the value of the reviewUrl record component
    • csrf

      public org.springframework.security.web.csrf.CsrfToken csrf()
      Returns the value of the csrf record component.
      Returns:
      the value of the csrf record component
    • composerUrl

      public String composerUrl()
      Returns the value of the composerUrl record component.
      Returns:
      the value of the composerUrl record component
    • tenantId

      public String tenantId()
      Returns the value of the tenantId record component.
      Returns:
      the value of the tenantId record component
    • versioning

      public boolean versioning()
      Returns the value of the versioning record component.
      Returns:
      the value of the versioning record component