Interface TypeChangeFieldDefinitionOrderAction
- All Superinterfaces:
ResourceUpdateAction<TypeUpdateAction>
,TypeUpdateAction
TypeChangeFieldDefinitionOrderAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
TypeChangeFieldDefinitionOrderAction typeChangeFieldDefinitionOrderAction = TypeChangeFieldDefinitionOrderAction.builder()
.plusFieldNames(fieldNamesBuilder -> fieldNamesBuilder)
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for TypeChangeFieldDefinitionOrderAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for TypeChangeFieldDefinitionOrderActionbuilder
(TypeChangeFieldDefinitionOrderAction template) create builder for TypeChangeFieldDefinitionOrderAction instancedeepCopy
(TypeChangeFieldDefinitionOrderAction template) factory method to create a deep copy of TypeChangeFieldDefinitionOrderActionMust match the set ofname
s of FieldDefinitions (up to order).of()
factory methodof
(TypeChangeFieldDefinitionOrderAction template) factory method to create a shallow copy TypeChangeFieldDefinitionOrderActionvoid
setFieldNames
(String... fieldNames) Must match the set ofname
s of FieldDefinitions (up to order).void
setFieldNames
(List<String> fieldNames) Must match the set ofname
s of FieldDefinitions (up to order).static com.fasterxml.jackson.core.type.TypeReference<TypeChangeFieldDefinitionOrderAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
Methods inherited from interface com.commercetools.api.models.type.TypeUpdateAction
getAction, withTypeUpdateAction
-
Field Details
-
CHANGE_FIELD_DEFINITION_ORDER
discriminator value for TypeChangeFieldDefinitionOrderAction- See Also:
-
-
Method Details
-
getFieldNames
Must match the set of
name
s of FieldDefinitions (up to order).- Returns:
- fieldNames
-
setFieldNames
Must match the set of
name
s of FieldDefinitions (up to order).- Parameters:
fieldNames
- values to be set
-
setFieldNames
Must match the set of
name
s of FieldDefinitions (up to order).- Parameters:
fieldNames
- values to be set
-
of
factory method- Returns:
- instance of TypeChangeFieldDefinitionOrderAction
-
of
factory method to create a shallow copy TypeChangeFieldDefinitionOrderAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static TypeChangeFieldDefinitionOrderAction deepCopy(@Nullable TypeChangeFieldDefinitionOrderAction template) factory method to create a deep copy of TypeChangeFieldDefinitionOrderAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for TypeChangeFieldDefinitionOrderAction- Returns:
- builder
-
builder
static TypeChangeFieldDefinitionOrderActionBuilder builder(TypeChangeFieldDefinitionOrderAction template) create builder for TypeChangeFieldDefinitionOrderAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withTypeChangeFieldDefinitionOrderAction
default <T> T withTypeChangeFieldDefinitionOrderAction(Function<TypeChangeFieldDefinitionOrderAction, T> helper) accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
static com.fasterxml.jackson.core.type.TypeReference<TypeChangeFieldDefinitionOrderAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-