Interface ProjectChangeNameAction
- All Superinterfaces:
ProjectUpdateAction
,ResourceUpdateAction<ProjectUpdateAction>
ProjectChangeNameAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ProjectChangeNameAction projectChangeNameAction = ProjectChangeNameAction.builder()
.name("{name}")
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for ProjectChangeNameAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ProjectChangeNameActionbuilder
(ProjectChangeNameAction template) create builder for ProjectChangeNameAction instancestatic ProjectChangeNameAction
deepCopy
(ProjectChangeNameAction template) factory method to create a deep copy of ProjectChangeNameAction@NotNull String
getName()
New value to set.static ProjectChangeNameAction
of()
factory methodstatic ProjectChangeNameAction
of
(ProjectChangeNameAction template) factory method to create a shallow copy ProjectChangeNameActionvoid
New value to set.static com.fasterxml.jackson.core.type.TypeReference<ProjectChangeNameAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.project.ProjectUpdateAction
getAction, withProjectUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
CHANGE_NAME
discriminator value for ProjectChangeNameAction- See Also:
-
-
Method Details
-
getName
New value to set. Must not be empty.
- Returns:
- name
-
setName
New value to set. Must not be empty.
- Parameters:
name
- value to be set
-
of
factory method- Returns:
- instance of ProjectChangeNameAction
-
of
factory method to create a shallow copy ProjectChangeNameAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of ProjectChangeNameAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ProjectChangeNameAction- Returns:
- builder
-
builder
create builder for ProjectChangeNameAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withProjectChangeNameAction
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
-