Interface ImageProcessingOngoingWarning
- All Superinterfaces:
WarningObject
Contained in responses to an Upload Product image or an Upload Product Tailoring image request with response status code 202 Accepted
. Indicates that the API is still creating the remaining sizes of the uploaded image. They will be available on the Content Delivery Network (CDN) soon.
Example to create an instance using the builder pattern
ImageProcessingOngoingWarning imageProcessingOngoingWarning = ImageProcessingOngoingWarning.builder()
.message("{message}")
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for ImageProcessingOngoingWarning -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ImageProcessingOngoingWarningbuilder
(ImageProcessingOngoingWarning template) create builder for ImageProcessingOngoingWarning instancedeepCopy
(ImageProcessingOngoingWarning template) factory method to create a deep copy of ImageProcessingOngoingWarning@NotNull String
getCode()
Identifier for the type of warning.@NotNull String
"The image processing is still ongoing."
of()
factory methodof
(ImageProcessingOngoingWarning template) factory method to create a shallow copy ImageProcessingOngoingWarningvoid
setMessage
(String message) "The image processing is still ongoing."
static com.fasterxml.jackson.core.type.TypeReference<ImageProcessingOngoingWarning>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.warning.WarningObject
withWarningObject
-
Field Details
-
IMAGE_PROCESSING_ONGOING
discriminator value for ImageProcessingOngoingWarning- See Also:
-
-
Method Details
-
getCode
Description copied from interface:WarningObject
Identifier for the type of warning.
- Specified by:
getCode
in interfaceWarningObject
- Returns:
- code
-
getMessage
"The image processing is still ongoing."
- Specified by:
getMessage
in interfaceWarningObject
- Returns:
- message
-
setMessage
"The image processing is still ongoing."
- Specified by:
setMessage
in interfaceWarningObject
- Parameters:
message
- value to be set
-
of
factory method- Returns:
- instance of ImageProcessingOngoingWarning
-
of
factory method to create a shallow copy ImageProcessingOngoingWarning- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static ImageProcessingOngoingWarning deepCopy(@Nullable ImageProcessingOngoingWarning template) factory method to create a deep copy of ImageProcessingOngoingWarning- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ImageProcessingOngoingWarning- Returns:
- builder
-
builder
create builder for ImageProcessingOngoingWarning instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withImageProcessingOngoingWarning
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
-