Interface ChangeStatusUpdateAction
- All Superinterfaces:
ImageSearchConfigUpdateAction
ChangeStatusUpdateAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ChangeStatusUpdateAction changeStatusUpdateAction = ChangeStatusUpdateAction.builder()
.status(ImageSearchConfigStatus.ON)
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for ChangeStatusUpdateAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ChangeStatusUpdateActionbuilder
(ChangeStatusUpdateAction template) create builder for ChangeStatusUpdateAction instancestatic ChangeStatusUpdateAction
deepCopy
(ChangeStatusUpdateAction template) factory method to create a deep copy of ChangeStatusUpdateAction@NotNull ImageSearchConfigStatus
static ChangeStatusUpdateAction
of()
factory methodstatic ChangeStatusUpdateAction
of
(ChangeStatusUpdateAction template) factory method to create a shallow copy ChangeStatusUpdateActionvoid
setStatus
(ImageSearchConfigStatus status) set statusstatic com.fasterxml.jackson.core.type.TypeReference<ChangeStatusUpdateAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.ml.models.image_search_config.ImageSearchConfigUpdateAction
getAction, withImageSearchConfigUpdateAction
-
Field Details
-
CHANGE_STATUS
discriminator value for ChangeStatusUpdateAction- See Also:
-
-
Method Details
-
getStatus
- Returns:
- status
-
setStatus
set status- Parameters:
status
- value to be set
-
of
factory method- Returns:
- instance of ChangeStatusUpdateAction
-
of
factory method to create a shallow copy ChangeStatusUpdateAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of ChangeStatusUpdateAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ChangeStatusUpdateAction- Returns:
- builder
-
builder
create builder for ChangeStatusUpdateAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withChangeStatusUpdateAction
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
-