Package app.ductape.sdk.cache
Record Class CacheTypes.FetchValuesOptions
java.lang.Object
java.lang.Record
app.ductape.sdk.cache.CacheTypes.FetchValuesOptions
- Enclosing class:
- CacheTypes
-
Constructor Summary
ConstructorsConstructorDescriptionFetchValuesOptions(String product, String cache) FetchValuesOptions(String product, String cache, String env, Integer page, Integer limit, String expiryFilter) Creates an instance of aFetchValuesOptionsrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncache()Returns the value of thecacherecord component.env()Returns the value of theenvrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexpiryFilterrecord component.final inthashCode()Returns a hash code value for this object.limit()Returns the value of thelimitrecord component.page()Returns the value of thepagerecord component.product()Returns the value of theproductrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
FetchValuesOptions
-
FetchValuesOptions
public FetchValuesOptions(String product, String cache, String env, Integer page, Integer limit, String expiryFilter) Creates an instance of aFetchValuesOptionsrecord class.- Parameters:
product- the value for theproductrecord componentcache- the value for thecacherecord componentenv- the value for theenvrecord componentpage- the value for thepagerecord componentlimit- the value for thelimitrecord componentexpiryFilter- the value for theexpiryFilterrecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
product
Returns the value of theproductrecord component.- Returns:
- the value of the
productrecord component
-
cache
Returns the value of thecacherecord component.- Returns:
- the value of the
cacherecord component
-
env
Returns the value of theenvrecord component.- Returns:
- the value of the
envrecord component
-
page
Returns the value of thepagerecord component.- Returns:
- the value of the
pagerecord component
-
limit
Returns the value of thelimitrecord component.- Returns:
- the value of the
limitrecord component
-
expiryFilter
Returns the value of theexpiryFilterrecord component.- Returns:
- the value of the
expiryFilterrecord component
-