Interface GraphQLAgentNoLineItemsExtractedError
- All Superinterfaces:
GraphQLErrorObject
Returned by a /responses request when no Line Items could be extracted from the provided prompt or files.
Example to create an instance using the builder pattern
GraphQLAgentNoLineItemsExtractedError graphQLAgentNoLineItemsExtractedError = GraphQLAgentNoLineItemsExtractedError.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for GraphQLAgentNoLineItemsExtractedError -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for GraphQLAgentNoLineItemsExtractedErrorbuilder(GraphQLAgentNoLineItemsExtractedError template) create builder for GraphQLAgentNoLineItemsExtractedError instancecopyDeep()factory method to create a deep copy of GraphQLAgentNoLineItemsExtractedError@NotNull StringgetCode()One of the error codes that is listed on the Errors page.of()factory methodof(GraphQLAgentNoLineItemsExtractedError template) factory method to create a shallow copy GraphQLAgentNoLineItemsExtractedErrorstatic tools.jackson.core.type.TypeReference<GraphQLAgentNoLineItemsExtractedError>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.error.GraphQLErrorObject
setValue, values, withGraphQLErrorObject
-
Field Details
-
NO_LINE_ITEMS_EXTRACTED
discriminator value for GraphQLAgentNoLineItemsExtractedError- See Also:
-
-
Method Details
-
getCode
Description copied from interface:GraphQLErrorObjectOne of the error codes that is listed on the Errors page.
- Specified by:
getCodein interfaceGraphQLErrorObject- Returns:
- code
-
of
factory method- Returns:
- instance of GraphQLAgentNoLineItemsExtractedError
-
of
factory method to create a shallow copy GraphQLAgentNoLineItemsExtractedError- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
GraphQLAgentNoLineItemsExtractedError copyDeep()- Specified by:
copyDeepin interfaceGraphQLErrorObject
-
deepCopy
@Nullable static GraphQLAgentNoLineItemsExtractedError deepCopy(@Nullable GraphQLAgentNoLineItemsExtractedError template) factory method to create a deep copy of GraphQLAgentNoLineItemsExtractedError- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for GraphQLAgentNoLineItemsExtractedError- Returns:
- builder
-
builder
static GraphQLAgentNoLineItemsExtractedErrorBuilder builder(GraphQLAgentNoLineItemsExtractedError template) create builder for GraphQLAgentNoLineItemsExtractedError instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withGraphQLAgentNoLineItemsExtractedError
default <T> T withGraphQLAgentNoLineItemsExtractedError(Function<GraphQLAgentNoLineItemsExtractedError, T> helper) 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
-