Interface ProjectChangeCountriesAction
- All Superinterfaces:
ProjectUpdateAction
,ResourceUpdateAction<ProjectUpdateAction>
ProjectChangeCountriesAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ProjectChangeCountriesAction projectChangeCountriesAction = ProjectChangeCountriesAction.builder()
.plusCountries(countriesBuilder -> countriesBuilder)
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for ProjectChangeCountriesAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ProjectChangeCountriesActionbuilder
(ProjectChangeCountriesAction template) create builder for ProjectChangeCountriesAction instancestatic ProjectChangeCountriesAction
deepCopy
(ProjectChangeCountriesAction template) factory method to create a deep copy of ProjectChangeCountriesActionNew value to set.static ProjectChangeCountriesAction
of()
factory methodstatic ProjectChangeCountriesAction
of
(ProjectChangeCountriesAction template) factory method to create a shallow copy ProjectChangeCountriesActionvoid
setCountries
(String... countries) New value to set.void
setCountries
(List<String> countries) New value to set.static com.fasterxml.jackson.core.type.TypeReference<ProjectChangeCountriesAction>
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_COUNTRIES
discriminator value for ProjectChangeCountriesAction- See Also:
-
-
Method Details
-
getCountries
New value to set. Must not be empty.
- Returns:
- countries
-
setCountries
New value to set. Must not be empty.
- Parameters:
countries
- values to be set
-
setCountries
New value to set. Must not be empty.
- Parameters:
countries
- values to be set
-
of
factory method- Returns:
- instance of ProjectChangeCountriesAction
-
of
factory method to create a shallow copy ProjectChangeCountriesAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static ProjectChangeCountriesAction deepCopy(@Nullable ProjectChangeCountriesAction template) factory method to create a deep copy of ProjectChangeCountriesAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ProjectChangeCountriesAction- Returns:
- builder
-
builder
create builder for ProjectChangeCountriesAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withProjectChangeCountriesAction
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
-