Record Class ProductSearchRequest
java.lang.Object
java.lang.Record
com.alpermulayim.openfoodfacts_spring_boot_starter.requests.ProductSearchRequest
public record ProductSearchRequest(String additivesTags, String allergensTags, String brandsTags, String categoriesTags, String countriesTagsEn, String embCodesTags, String labelsTags, String manufacturingPlacesTags, String nutritionGradesTags, String originsTags, String packagingTagsDe, String purchasePlacesTags, String statesTags, String storesTags, String tracesTags, String fields, String sortBy, Integer page, Integer pageSize)
extends Record
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionProductSearchRequest(String additivesTags, String allergensTags, String brandsTags, String categoriesTags, String countriesTagsEn, String embCodesTags, String labelsTags, String manufacturingPlacesTags, String nutritionGradesTags, String originsTags, String packagingTagsDe, String purchasePlacesTags, String statesTags, String storesTags, String tracesTags, String fields, String sortBy, Integer page, Integer pageSize) Creates an instance of aProductSearchRequestrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theadditivesTagsrecord component.Returns the value of theallergensTagsrecord component.Returns the value of thebrandsTagsrecord component.static ProductSearchRequest.Builderbuilder()Returns the value of thecategoriesTagsrecord component.Returns the value of thecountriesTagsEnrecord component.Returns the value of theembCodesTagsrecord component.final booleanIndicates whether some other object is "equal to" this one.fields()Returns the value of thefieldsrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thelabelsTagsrecord component.Returns the value of themanufacturingPlacesTagsrecord component.Returns the value of thenutritionGradesTagsrecord component.Returns the value of theoriginsTagsrecord component.Returns the value of thepackagingTagsDerecord component.page()Returns the value of thepagerecord component.pageSize()Returns the value of thepageSizerecord component.Returns the value of thepurchasePlacesTagsrecord component.sortBy()Returns the value of thesortByrecord component.Returns the value of thestatesTagsrecord component.Returns the value of thestoresTagsrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetracesTagsrecord component.
-
Constructor Details
-
ProductSearchRequest
public ProductSearchRequest(String additivesTags, String allergensTags, String brandsTags, String categoriesTags, String countriesTagsEn, String embCodesTags, String labelsTags, String manufacturingPlacesTags, String nutritionGradesTags, String originsTags, String packagingTagsDe, String purchasePlacesTags, String statesTags, String storesTags, String tracesTags, String fields, String sortBy, Integer page, Integer pageSize) Creates an instance of aProductSearchRequestrecord class.- Parameters:
additivesTags- the value for theadditivesTagsrecord componentallergensTags- the value for theallergensTagsrecord componentbrandsTags- the value for thebrandsTagsrecord componentcategoriesTags- the value for thecategoriesTagsrecord componentcountriesTagsEn- the value for thecountriesTagsEnrecord componentembCodesTags- the value for theembCodesTagsrecord componentlabelsTags- the value for thelabelsTagsrecord componentmanufacturingPlacesTags- the value for themanufacturingPlacesTagsrecord componentnutritionGradesTags- the value for thenutritionGradesTagsrecord componentoriginsTags- the value for theoriginsTagsrecord componentpackagingTagsDe- the value for thepackagingTagsDerecord componentpurchasePlacesTags- the value for thepurchasePlacesTagsrecord componentstatesTags- the value for thestatesTagsrecord componentstoresTags- the value for thestoresTagsrecord componenttracesTags- the value for thetracesTagsrecord componentfields- the value for thefieldsrecord componentsortBy- the value for thesortByrecord componentpage- the value for thepagerecord componentpageSize- the value for thepageSizerecord component
-
-
Method Details
-
builder
-
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). -
additivesTags
Returns the value of theadditivesTagsrecord component.- Returns:
- the value of the
additivesTagsrecord component
-
allergensTags
Returns the value of theallergensTagsrecord component.- Returns:
- the value of the
allergensTagsrecord component
-
brandsTags
Returns the value of thebrandsTagsrecord component.- Returns:
- the value of the
brandsTagsrecord component
-
categoriesTags
Returns the value of thecategoriesTagsrecord component.- Returns:
- the value of the
categoriesTagsrecord component
-
countriesTagsEn
Returns the value of thecountriesTagsEnrecord component.- Returns:
- the value of the
countriesTagsEnrecord component
-
embCodesTags
Returns the value of theembCodesTagsrecord component.- Returns:
- the value of the
embCodesTagsrecord component
-
labelsTags
Returns the value of thelabelsTagsrecord component.- Returns:
- the value of the
labelsTagsrecord component
-
manufacturingPlacesTags
Returns the value of themanufacturingPlacesTagsrecord component.- Returns:
- the value of the
manufacturingPlacesTagsrecord component
-
nutritionGradesTags
Returns the value of thenutritionGradesTagsrecord component.- Returns:
- the value of the
nutritionGradesTagsrecord component
-
originsTags
Returns the value of theoriginsTagsrecord component.- Returns:
- the value of the
originsTagsrecord component
-
packagingTagsDe
Returns the value of thepackagingTagsDerecord component.- Returns:
- the value of the
packagingTagsDerecord component
-
purchasePlacesTags
Returns the value of thepurchasePlacesTagsrecord component.- Returns:
- the value of the
purchasePlacesTagsrecord component
-
statesTags
Returns the value of thestatesTagsrecord component.- Returns:
- the value of the
statesTagsrecord component
-
storesTags
Returns the value of thestoresTagsrecord component.- Returns:
- the value of the
storesTagsrecord component
-
tracesTags
Returns the value of thetracesTagsrecord component.- Returns:
- the value of the
tracesTagsrecord component
-
fields
Returns the value of thefieldsrecord component.- Returns:
- the value of the
fieldsrecord component
-
sortBy
Returns the value of thesortByrecord component.- Returns:
- the value of the
sortByrecord component
-
page
Returns the value of thepagerecord component.- Returns:
- the value of the
pagerecord component
-
pageSize
Returns the value of thepageSizerecord component.- Returns:
- the value of the
pageSizerecord component
-