Interface ResourceNotFoundError
- All Superinterfaces:
ErrorObject
ResourceNotFoundError
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ResourceNotFoundError resourceNotFoundError = ResourceNotFoundError.builder()
.message("{message}")
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for ResourceNotFoundError -
Method Summary
Modifier and TypeMethodDescriptionstatic ResourceNotFoundErrorBuilder
builder()
builder factory method for ResourceNotFoundErrorstatic ResourceNotFoundErrorBuilder
builder
(ResourceNotFoundError template) create builder for ResourceNotFoundError instancestatic ResourceNotFoundError
deepCopy
(ResourceNotFoundError template) factory method to create a deep copy of ResourceNotFoundErrorstatic ResourceNotFoundError
of()
factory methodstatic ResourceNotFoundError
of
(ResourceNotFoundError template) factory method to create a shallow copy ResourceNotFoundErrorvoid
setResource
(Object resource) set resourcestatic com.fasterxml.jackson.core.type.TypeReference<ResourceNotFoundError>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.importapi.models.errors.ErrorObject
getCode, getMessage, setMessage, withErrorObject
-
Field Details
-
RESOURCE_NOT_FOUND
discriminator value for ResourceNotFoundError- See Also:
-
-
Method Details
-
getResource
Object getResource()- Returns:
- resource
-
setResource
set resource- Parameters:
resource
- value to be set
-
of
factory method- Returns:
- instance of ResourceNotFoundError
-
of
factory method to create a shallow copy ResourceNotFoundError- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of ResourceNotFoundError- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ResourceNotFoundError- Returns:
- builder
-
builder
create builder for ResourceNotFoundError instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withResourceNotFoundError
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
-