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
ConstructorsConstructorDescriptionSecretsList
(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 aSecretsList
record class. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the value of thebatchCount
record component.int
Returns the value of thecurrentPage
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.boolean
hasNext()
Returns the value of thehasNext
record component.boolean
hasPrev()
Returns the value of thehasPrev
record component.int
nextSkip()
Returns the value of thenextSkip
record component.int
Returns the value of thepageCount
record component.int
prevSkip()
Returns the value of theprevSkip
record component.List
<org.frankframework.credentialprovider.delinea.SecretsList.CategorizedListSummary> records()
Returns the value of therecords
record component.int
skip()
Returns the value of theskip
record component.boolean
success()
Returns the value of thesuccess
record component.int
take()
Returns the value of thetake
record component.final String
toString()
Returns a string representation of this record class.int
total()
Returns the value of thetotal
record component.
-
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 aSecretsList
record class.- Parameters:
hasNext
- the value for thehasNext
record componenthasPrev
- the value for thehasPrev
record componentsuccess
- the value for thesuccess
record componentbatchCount
- the value for thebatchCount
record componentcurrentPage
- the value for thecurrentPage
record componentnextSkip
- the value for thenextSkip
record componentpageCount
- the value for thepageCount
record componentprevSkip
- the value for theprevSkip
record componentskip
- the value for theskip
record componenttotal
- the value for thetotal
record componenttake
- the value for thetake
record componentrecords
- the value for therecords
record component
-
-
Method Details
-
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. -
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. -
equals
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 withObjects::equals(Object,Object)
; primitive components are compared with '=='. -
hasNext
public boolean hasNext()Returns the value of thehasNext
record component.- Returns:
- the value of the
hasNext
record component
-
hasPrev
public boolean hasPrev()Returns the value of thehasPrev
record component.- Returns:
- the value of the
hasPrev
record component
-
success
public boolean success()Returns the value of thesuccess
record component.- Returns:
- the value of the
success
record component
-
batchCount
public int batchCount()Returns the value of thebatchCount
record component.- Returns:
- the value of the
batchCount
record component
-
currentPage
public int currentPage()Returns the value of thecurrentPage
record component.- Returns:
- the value of the
currentPage
record component
-
nextSkip
public int nextSkip()Returns the value of thenextSkip
record component.- Returns:
- the value of the
nextSkip
record component
-
pageCount
public int pageCount()Returns the value of thepageCount
record component.- Returns:
- the value of the
pageCount
record component
-
prevSkip
public int prevSkip()Returns the value of theprevSkip
record component.- Returns:
- the value of the
prevSkip
record component
-
skip
public int skip()Returns the value of theskip
record component.- Returns:
- the value of the
skip
record component
-
total
public int total()Returns the value of thetotal
record component.- Returns:
- the value of the
total
record component
-
take
public int take()Returns the value of thetake
record component.- Returns:
- the value of the
take
record component
-
records
public List<org.frankframework.credentialprovider.delinea.SecretsList.CategorizedListSummary> records()Returns the value of therecords
record component.- Returns:
- the value of the
records
record component
-