Interface SearchFacetPathNotFoundError
- All Superinterfaces:
ErrorObject
Returned when a search facet path could not be found.
Example to create an instance using the builder pattern
SearchFacetPathNotFoundError searchFacetPathNotFoundError = SearchFacetPathNotFoundError.builder()
.message("{message}")
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for SearchFacetPathNotFoundError -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for SearchFacetPathNotFoundErrorbuilder
(SearchFacetPathNotFoundError template) create builder for SearchFacetPathNotFoundError instancestatic SearchFacetPathNotFoundError
deepCopy
(SearchFacetPathNotFoundError template) factory method to create a deep copy of SearchFacetPathNotFoundError@NotNull String
getCode()
Error identifier.@NotNull String
"Facet path $path not found."
static SearchFacetPathNotFoundError
of()
factory methodstatic SearchFacetPathNotFoundError
of
(SearchFacetPathNotFoundError template) factory method to create a shallow copy SearchFacetPathNotFoundErrorvoid
setMessage
(String message) "Facet path $path not found."
static com.fasterxml.jackson.core.type.TypeReference<SearchFacetPathNotFoundError>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.error.ErrorObject
setValue, values, withErrorObject
-
Field Details
-
SEARCH_FACET_PATH_NOT_FOUND
discriminator value for SearchFacetPathNotFoundError- See Also:
-
-
Method Details
-
getCode
Description copied from interface:ErrorObject
Error identifier.
- Specified by:
getCode
in interfaceErrorObject
- Returns:
- code
-
getMessage
"Facet path $path not found."
- Specified by:
getMessage
in interfaceErrorObject
- Returns:
- message
-
setMessage
"Facet path $path not found."
- Specified by:
setMessage
in interfaceErrorObject
- Parameters:
message
- value to be set
-
of
factory method- Returns:
- instance of SearchFacetPathNotFoundError
-
of
factory method to create a shallow copy SearchFacetPathNotFoundError- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static SearchFacetPathNotFoundError deepCopy(@Nullable SearchFacetPathNotFoundError template) factory method to create a deep copy of SearchFacetPathNotFoundError- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for SearchFacetPathNotFoundError- Returns:
- builder
-
builder
create builder for SearchFacetPathNotFoundError instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withSearchFacetPathNotFoundError
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
-