Record Class NuggetAdminQuery.Page
java.lang.Object
java.lang.Record
org.j7m.middleware.operations.api.NuggetAdminQuery.Page
- Record Components:
offset- zero-based offset used by the responselimit- requested page limitreturned- number of records returned in this responsetotalAvailable- total matching records when authorized and knowntotalAvailableAuthorized- whethertotalAvailablemay be disclosed to this callerpartial- whether optional provider data is partialtruncated- whether the response was truncated by public hard boundscollectedAt- collection timestampmetadata- safe page metadata in schema-visible order
- Enclosing class:
NuggetAdminQuery
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecollectedAtrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intlimit()Returns the value of thelimitrecord component.metadata()Returns the value of themetadatarecord component.longoffset()Returns the value of theoffsetrecord component.booleanpartial()Returns the value of thepartialrecord component.intreturned()Returns the value of thereturnedrecord component.final StringtoString()Returns a string representation of this record class.longReturns the value of thetotalAvailablerecord component.booleanReturns the value of thetotalAvailableAuthorizedrecord component.booleanReturns the value of thetruncatedrecord component.
-
Constructor Details
-
Page
-
-
Method Details
-
toString
-
hashCode
-
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 thecomparemethod from their corresponding wrapper classes. -
offset
-
limit
-
returned
-
totalAvailable
public long totalAvailable()Returns the value of thetotalAvailablerecord component.- Returns:
- the value of the
totalAvailablerecord component
-
totalAvailableAuthorized
public boolean totalAvailableAuthorized()Returns the value of thetotalAvailableAuthorizedrecord component.- Returns:
- the value of the
totalAvailableAuthorizedrecord component
-
partial
-
truncated
-
collectedAt
Returns the value of thecollectedAtrecord component.- Returns:
- the value of the
collectedAtrecord component
-
metadata
-