Interface BusinessUnitSearchResult
public interface BusinessUnitSearchResult
BusinessUnitSearchResult
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
BusinessUnitSearchResult businessUnitSearchResult = BusinessUnitSearchResult.builder()
.id("{id}")
.relevance(0.3)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for BusinessUnitSearchResultbuilder
(BusinessUnitSearchResult template) create builder for BusinessUnitSearchResult instancestatic BusinessUnitSearchResult
deepCopy
(BusinessUnitSearchResult template) factory method to create a deep copy of BusinessUnitSearchResult@NotNull String
getId()
id
of the BusinessUnit matching the search query.@NotNull Double
How closely this customer matches the search query.static BusinessUnitSearchResult
of()
factory methodstatic BusinessUnitSearchResult
of
(BusinessUnitSearchResult template) factory method to create a shallow copy BusinessUnitSearchResultvoid
id
of the BusinessUnit matching the search query.void
setRelevance
(Double relevance) How closely this customer matches the search query.static com.fasterxml.jackson.core.type.TypeReference<BusinessUnitSearchResult>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map function
-
Method Details
-
getId
id
of the BusinessUnit matching the search query.- Returns:
- id
-
getRelevance
How closely this customer matches the search query.
- Returns:
- relevance
-
setId
id
of the BusinessUnit matching the search query.- Parameters:
id
- value to be set
-
setRelevance
How closely this customer matches the search query.
- Parameters:
relevance
- value to be set
-
of
factory method- Returns:
- instance of BusinessUnitSearchResult
-
of
factory method to create a shallow copy BusinessUnitSearchResult- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of BusinessUnitSearchResult- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for BusinessUnitSearchResult- Returns:
- builder
-
builder
create builder for BusinessUnitSearchResult instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withBusinessUnitSearchResult
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
-