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