Record Class SecretsList

java.lang.Object
java.lang.Record
org.frankframework.credentialprovider.delinea.SecretsList

public record SecretsList(boolean hasNext, boolean hasPrev, boolean success, int batchCount, int currentPage, int nextSkip, int pageCount, int prevSkip, int skip, int total, int take, List<org.frankframework.credentialprovider.delinea.SecretsList.CategorizedListSummary> records) extends Record
Response POJO for listing all secrets.
  • Constructor Summary

    Constructors
    Constructor
    Description
    SecretsList(boolean hasNext, boolean hasPrev, boolean success, int batchCount, int currentPage, int nextSkip, int pageCount, int prevSkip, int skip, int total, int take, List<org.frankframework.credentialprovider.delinea.SecretsList.CategorizedListSummary> records)
    Creates an instance of a SecretsList record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the value of the batchCount record component.
    int
    Returns the value of the currentPage record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    final int
    Returns a hash code value for this object.
    boolean
    Returns the value of the hasNext record component.
    boolean
    Returns the value of the hasPrev record component.
    int
    Returns the value of the nextSkip record component.
    int
    Returns the value of the pageCount record component.
    int
    Returns the value of the prevSkip record component.
    List<org.frankframework.credentialprovider.delinea.SecretsList.CategorizedListSummary>
    Returns the value of the records record component.
    int
    Returns the value of the skip record component.
    boolean
    Returns the value of the success record component.
    int
    Returns the value of the take record component.
    final String
    Returns a string representation of this record class.
    int
    Returns the value of the total record component.

    Methods inherited from class java.lang.Object

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

    • SecretsList

      public SecretsList(boolean hasNext, boolean hasPrev, boolean success, int batchCount, int currentPage, int nextSkip, int pageCount, int prevSkip, int skip, int total, int take, List<org.frankframework.credentialprovider.delinea.SecretsList.CategorizedListSummary> records)
      Creates an instance of a SecretsList record class.
      Parameters:
      hasNext - the value for the hasNext record component
      hasPrev - the value for the hasPrev record component
      success - the value for the success record component
      batchCount - the value for the batchCount record component
      currentPage - the value for the currentPage record component
      nextSkip - the value for the nextSkip record component
      pageCount - the value for the pageCount record component
      prevSkip - the value for the prevSkip record component
      skip - the value for the skip record component
      total - the value for the total record component
      take - the value for the take record component
      records - the value for the records 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.
    • hasNext

      public boolean hasNext()
      Returns the value of the hasNext record component.
      Returns:
      the value of the hasNext record component
    • hasPrev

      public boolean hasPrev()
      Returns the value of the hasPrev record component.
      Returns:
      the value of the hasPrev record component
    • success

      public boolean success()
      Returns the value of the success record component.
      Returns:
      the value of the success record component
    • batchCount

      public int batchCount()
      Returns the value of the batchCount record component.
      Returns:
      the value of the batchCount record component
    • currentPage

      public int currentPage()
      Returns the value of the currentPage record component.
      Returns:
      the value of the currentPage record component
    • nextSkip

      public int nextSkip()
      Returns the value of the nextSkip record component.
      Returns:
      the value of the nextSkip record component
    • pageCount

      public int pageCount()
      Returns the value of the pageCount record component.
      Returns:
      the value of the pageCount record component
    • prevSkip

      public int prevSkip()
      Returns the value of the prevSkip record component.
      Returns:
      the value of the prevSkip record component
    • skip

      public int skip()
      Returns the value of the skip record component.
      Returns:
      the value of the skip record component
    • total

      public int total()
      Returns the value of the total record component.
      Returns:
      the value of the total record component
    • take

      public int take()
      Returns the value of the take record component.
      Returns:
      the value of the take record component
    • records

      public List<org.frankframework.credentialprovider.delinea.SecretsList.CategorizedListSummary> records()
      Returns the value of the records record component.
      Returns:
      the value of the records record component