Interface AgentExtractionFailedError
- All Superinterfaces:
ErrorObject
Returned by a /responses request when the input could not be processed due to an internal error.
Example to create an instance using the builder pattern
AgentExtractionFailedError agentExtractionFailedError = AgentExtractionFailedError.builder()
.message("{message}")
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for AgentExtractionFailedError -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for AgentExtractionFailedErrorbuilder(AgentExtractionFailedError template) create builder for AgentExtractionFailedError instancecopyDeep()static AgentExtractionFailedErrordeepCopy(AgentExtractionFailedError template) factory method to create a deep copy of AgentExtractionFailedError@NotNull StringgetCode()Error identifier.@NotNull StringPlain text description of the error.static AgentExtractionFailedErrorof()factory methodstatic AgentExtractionFailedErrorof(AgentExtractionFailedError template) factory method to create a shallow copy AgentExtractionFailedErrorvoidsetMessage(String message) Plain text description of the error.static tools.jackson.core.type.TypeReference<AgentExtractionFailedError>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.error.ErrorObject
setValue, values, withErrorObject
-
Field Details
-
EXTRACTION_FAILED
discriminator value for AgentExtractionFailedError- See Also:
-
-
Method Details
-
getCode
Description copied from interface:ErrorObjectError identifier.
- Specified by:
getCodein interfaceErrorObject- Returns:
- code
-
getMessage
Plain text description of the error.
- Specified by:
getMessagein interfaceErrorObject- Returns:
- message
-
setMessage
Plain text description of the error.
- Specified by:
setMessagein interfaceErrorObject- Parameters:
message- value to be set
-
of
factory method- Returns:
- instance of AgentExtractionFailedError
-
of
factory method to create a shallow copy AgentExtractionFailedError- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
AgentExtractionFailedError copyDeep()- Specified by:
copyDeepin interfaceErrorObject
-
deepCopy
factory method to create a deep copy of AgentExtractionFailedError- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for AgentExtractionFailedError- Returns:
- builder
-
builder
create builder for AgentExtractionFailedError instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withAgentExtractionFailedError
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
-