Interface InvalidTokenError
- All Superinterfaces:
ErrorObject
InvalidTokenError
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
InvalidTokenError invalidTokenError = InvalidTokenError.builder()
.message("{message}")
.build()
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic InvalidTokenErrorBuilder
builder()
builder factory method for InvalidTokenErrorstatic InvalidTokenErrorBuilder
builder
(InvalidTokenError template) create builder for InvalidTokenError instancestatic InvalidTokenError
deepCopy
(InvalidTokenError template) factory method to create a deep copy of InvalidTokenErrorstatic InvalidTokenError
of()
factory methodstatic InvalidTokenError
of
(InvalidTokenError template) factory method to create a shallow copy InvalidTokenErrorstatic com.fasterxml.jackson.core.type.TypeReference<InvalidTokenError>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withInvalidTokenError
(Function<InvalidTokenError, T> helper) accessor map functionMethods inherited from interface com.commercetools.importapi.models.errors.ErrorObject
getCode, getMessage, setMessage, withErrorObject
-
Field Details
-
INVALID_TOKEN
discriminator value for InvalidTokenError- See Also:
-
-
Method Details
-
of
factory method- Returns:
- instance of InvalidTokenError
-
of
factory method to create a shallow copy InvalidTokenError- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of InvalidTokenError- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for InvalidTokenError- Returns:
- builder
-
builder
create builder for InvalidTokenError instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withInvalidTokenError
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
-