Record Class SecretsListDto
java.lang.Object
java.lang.Record
org.frankframework.credentialprovider.delinea.SecretsListDto
public record SecretsListDto(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.SecretsListDto.CategorizedListSummary> records)
extends Record
Response POJO for listing all secrets.
-
Constructor Summary
ConstructorsConstructorDescriptionSecretsListDto(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.SecretsListDto.CategorizedListSummary> records) Creates an instance of aSecretsListDtorecord class. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of thebatchCountrecord component.intReturns the value of thecurrentPagerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanhasNext()Returns the value of thehasNextrecord component.booleanhasPrev()Returns the value of thehasPrevrecord component.intnextSkip()Returns the value of thenextSkiprecord component.intReturns the value of thepageCountrecord component.intprevSkip()Returns the value of theprevSkiprecord component.List<org.frankframework.credentialprovider.delinea.SecretsListDto.CategorizedListSummary> records()Returns the value of therecordsrecord component.intskip()Returns the value of theskiprecord component.booleansuccess()Returns the value of thesuccessrecord component.inttake()Returns the value of thetakerecord component.final StringtoString()Returns a string representation of this record class.inttotal()Returns the value of thetotalrecord component.
-
Constructor Details
-
SecretsListDto
public SecretsListDto(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.SecretsListDto.CategorizedListSummary> records) Creates an instance of aSecretsListDtorecord class.- Parameters:
hasNext- the value for thehasNextrecord componenthasPrev- the value for thehasPrevrecord componentsuccess- the value for thesuccessrecord componentbatchCount- the value for thebatchCountrecord componentcurrentPage- the value for thecurrentPagerecord componentnextSkip- the value for thenextSkiprecord componentpageCount- the value for thepageCountrecord componentprevSkip- the value for theprevSkiprecord componentskip- the value for theskiprecord componenttotal- the value for thetotalrecord componenttake- the value for thetakerecord componentrecords- the value for therecordsrecord 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 thehasNextrecord component.- Returns:
- the value of the
hasNextrecord component
-
hasPrev
public boolean hasPrev()Returns the value of thehasPrevrecord component.- Returns:
- the value of the
hasPrevrecord component
-
success
public boolean success()Returns the value of thesuccessrecord component.- Returns:
- the value of the
successrecord component
-
batchCount
public int batchCount()Returns the value of thebatchCountrecord component.- Returns:
- the value of the
batchCountrecord component
-
currentPage
public int currentPage()Returns the value of thecurrentPagerecord component.- Returns:
- the value of the
currentPagerecord component
-
nextSkip
public int nextSkip()Returns the value of thenextSkiprecord component.- Returns:
- the value of the
nextSkiprecord component
-
pageCount
public int pageCount()Returns the value of thepageCountrecord component.- Returns:
- the value of the
pageCountrecord component
-
prevSkip
public int prevSkip()Returns the value of theprevSkiprecord component.- Returns:
- the value of the
prevSkiprecord component
-
skip
public int skip()Returns the value of theskiprecord component.- Returns:
- the value of the
skiprecord component
-
total
public int total()Returns the value of thetotalrecord component.- Returns:
- the value of the
totalrecord component
-
take
public int take()Returns the value of thetakerecord component.- Returns:
- the value of the
takerecord component
-
records
public List<org.frankframework.credentialprovider.delinea.SecretsListDto.CategorizedListSummary> records()Returns the value of therecordsrecord component.- Returns:
- the value of the
recordsrecord component
-