Interface SearchDateTimeRangeValue
- All Superinterfaces:
SearchQueryExpressionValue
SearchDateTimeRangeValue
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
SearchDateTimeRangeValue searchDateTimeRangeValue = SearchDateTimeRangeValue.builder()
.field("{field}")
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for SearchDateTimeRangeValuebuilder
(SearchDateTimeRangeValue template) create builder for SearchDateTimeRangeValue instancestatic SearchDateTimeRangeValue
deepCopy
(SearchDateTimeRangeValue template) factory method to create a deep copy of SearchDateTimeRangeValuegetGt()
getGte()
getLt()
getLte()
static SearchDateTimeRangeValue
of()
factory methodstatic SearchDateTimeRangeValue
of
(SearchDateTimeRangeValue template) factory method to create a shallow copy SearchDateTimeRangeValuevoid
setGt
(ZonedDateTime gt) set gtvoid
setGte
(ZonedDateTime gte) set gtevoid
setLt
(ZonedDateTime lt) set ltvoid
setLte
(ZonedDateTime lte) set ltestatic com.fasterxml.jackson.core.type.TypeReference<SearchDateTimeRangeValue>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.search.SearchQueryExpressionValue
getBoost, getField, getFieldType, setBoost, setField, setFieldType, withSearchQueryExpressionValue
-
Method Details
-
getGte
ZonedDateTime getGte()- Returns:
- gte
-
getGt
ZonedDateTime getGt()- Returns:
- gt
-
getLte
ZonedDateTime getLte()- Returns:
- lte
-
getLt
ZonedDateTime getLt()- Returns:
- lt
-
setGte
set gte- Parameters:
gte
- value to be set
-
setGt
set gt- Parameters:
gt
- value to be set
-
setLte
set lte- Parameters:
lte
- value to be set
-
setLt
set lt- Parameters:
lt
- value to be set
-
of
factory method- Returns:
- instance of SearchDateTimeRangeValue
-
of
factory method to create a shallow copy SearchDateTimeRangeValue- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of SearchDateTimeRangeValue- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for SearchDateTimeRangeValue- Returns:
- builder
-
builder
create builder for SearchDateTimeRangeValue instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withSearchDateTimeRangeValue
accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-