Package com.mypurecloud.sdk.v2.model
Class EnrichFieldRules
java.lang.Object
com.mypurecloud.sdk.v2.model.EnrichFieldRules
- All Implemented Interfaces:
Serializable
EnrichFieldRules
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumDefault behavior for combining data from the submitted request with any entity found in the database.static enumDefault behavior for combining items in array field from the submitted request with any array entity found in the database. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondefaultAction(EnrichFieldRules.DefaultActionEnum defaultAction) Default behavior for combining data from the submitted request with any entity found in the database.defaultArrayAction(EnrichFieldRules.DefaultArrayActionEnum defaultArrayAction) Default behavior for combining items in array field from the submitted request with any array entity found in the database.booleangetRules()inthashCode()rules(List<EnrichFieldRule> rules) Field-specific behaviors for how to combine data from different sources.voidsetDefaultAction(EnrichFieldRules.DefaultActionEnum defaultAction) voidsetDefaultArrayAction(EnrichFieldRules.DefaultArrayActionEnum defaultArrayAction) voidsetRules(List<EnrichFieldRule> rules) toString()
-
Constructor Details
-
EnrichFieldRules
public EnrichFieldRules() -
EnrichFieldRules
-
-
Method Details
-
defaultAction
Default behavior for combining data from the submitted request with any entity found in the database. The default behavior if unspecified is `PreferProvided`, meaning any non-null fields in the submitted request will override data in the database, but all null fields will remain unchanged. Omitting a field in the request payload means that it will be treated as null. -
getDefaultAction
-
setDefaultAction
-
rules
Field-specific behaviors for how to combine data from different sources. For example, you can set a `defaultAction` of `PreferProvided`, but use different behaviors such as `AlwaysUseProvided` or `PreferExisting` for specific fields. -
getRules
-
setRules
-
defaultArrayAction
public EnrichFieldRules defaultArrayAction(EnrichFieldRules.DefaultArrayActionEnum defaultArrayAction) Default behavior for combining items in array field from the submitted request with any array entity found in the database. The default behavior if unspecified is `fill`, meaning the field value will always be the partial concatenation of both the array in the Database and the array in the contact body, up to the size limit of the array -
getDefaultArrayAction
-
setDefaultArrayAction
-
equals
-
hashCode
public int hashCode() -
toString
-