Interface ProductTailoringSetMetaTitleAction
- All Superinterfaces:
ProductTailoringUpdateAction
ProductTailoringSetMetaTitleAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ProductTailoringSetMetaTitleAction productTailoringSetMetaTitleAction = ProductTailoringSetMetaTitleAction.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for ProductTailoringSetMetaTitleAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for ProductTailoringSetMetaTitleActionbuilder(ProductTailoringSetMetaTitleAction template) create builder for ProductTailoringSetMetaTitleAction instancecopyDeep()deepCopy(ProductTailoringSetMetaTitleAction template) factory method to create a deep copy of ProductTailoringSetMetaTitleAction@Valid LocalizedStringValue to set.Iftrue, only the stagedmetaTitleis updated.of()factory methodof(ProductTailoringSetMetaTitleAction template) factory method to create a shallow copy ProductTailoringSetMetaTitleActionvoidsetMetaTitle(LocalizedString metaTitle) Value to set.voidIftrue, only the stagedmetaTitleis updated.static com.fasterxml.jackson.core.type.TypeReference<ProductTailoringSetMetaTitleAction>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.product_tailoring.ProductTailoringUpdateAction
getAction, withProductTailoringUpdateAction
-
Field Details
-
SET_META_TITLE
discriminator value for ProductTailoringSetMetaTitleAction- See Also:
-
-
Method Details
-
getMetaTitle
Value to set. If empty, any existing value will be removed.
- Returns:
- metaTitle
-
getStaged
Boolean getStaged()If
true, only the stagedmetaTitleis updated. Iffalse, both the current and stagedmetaTitleare updated.- Returns:
- staged
-
setMetaTitle
Value to set. If empty, any existing value will be removed.
- Parameters:
metaTitle- value to be set
-
setStaged
If
true, only the stagedmetaTitleis updated. Iffalse, both the current and stagedmetaTitleare updated.- Parameters:
staged- value to be set
-
of
factory method- Returns:
- instance of ProductTailoringSetMetaTitleAction
-
of
factory method to create a shallow copy ProductTailoringSetMetaTitleAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
ProductTailoringSetMetaTitleAction copyDeep()- Specified by:
copyDeepin interfaceProductTailoringUpdateAction
-
deepCopy
@Nullable static ProductTailoringSetMetaTitleAction deepCopy(@Nullable ProductTailoringSetMetaTitleAction template) factory method to create a deep copy of ProductTailoringSetMetaTitleAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ProductTailoringSetMetaTitleAction- Returns:
- builder
-
builder
static ProductTailoringSetMetaTitleActionBuilder builder(ProductTailoringSetMetaTitleAction template) create builder for ProductTailoringSetMetaTitleAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withProductTailoringSetMetaTitleAction
default <T> T withProductTailoringSetMetaTitleAction(Function<ProductTailoringSetMetaTitleAction, 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<ProductTailoringSetMetaTitleAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-