Package com.mypurecloud.sdk.v2.model
Class ContactEnrichRequest
java.lang.Object
com.mypurecloud.sdk.v2.model.ContactEnrichRequest
- All Implemented Interfaces:
Serializable
ContactEnrichRequest
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe action that should be taken based on any Contacts found by `matchingIdentifiers`. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe action that should be taken based on any Contacts found by `matchingIdentifiers`.contact(ExternalContact contact) Data to be added, either as an update to an existing Contact or the body of a new Contact.division(WritableStarrableDivision division) The division to which this entity belongs.booleanfieldRules(EnrichFieldRules fieldRules) Logic describing how to combine data from the submitted request with data found in the database.getId()inthashCode()A user-specified tracker string, only useful in the Bulk-Enrich API.matchingIdentifiers(List<ContactIdentifier> matchingIdentifiers) An ordered list of one or more Identifiers which might each be claimed by a Contact.options(ContactEnrichOptions options) Additional options modifying the behavior of the API operation.voidvoidsetContact(ExternalContact contact) voidsetDivision(WritableStarrableDivision division) voidsetFieldRules(EnrichFieldRules fieldRules) voidvoidsetMatchingIdentifiers(List<ContactIdentifier> matchingIdentifiers) voidsetOptions(ContactEnrichOptions options) toString()
-
Constructor Details
-
ContactEnrichRequest
public ContactEnrichRequest() -
ContactEnrichRequest
-
-
Method Details
-
id
A user-specified tracker string, only useful in the Bulk-Enrich API. If one Bulk-Enrich operation in a request fails, the requested operation will be repeated in the Bulk API response, including this id field, allowing associating of request and response operations. -
getId
-
setId
-
division
The division to which this entity belongs. -
getDivision
-
setDivision
-
matchingIdentifiers
An ordered list of one or more Identifiers which might each be claimed by a Contact. `action` describes what to do with any possibly matching Contacts. Identifier lookups will occur in the order specified here. Between 1 and 25. -
getMatchingIdentifiers
-
setMatchingIdentifiers
-
action
The action that should be taken based on any Contacts found by `matchingIdentifiers`. -
getAction
-
setAction
-
contact
Data to be added, either as an update to an existing Contact or the body of a new Contact. Omitting a field in this contract means that it will be treated as null in the `fieldRules` logic. -
getContact
-
setContact
-
fieldRules
Logic describing how to combine data from the submitted request with data found in the database. -
getFieldRules
-
setFieldRules
-
options
Additional options modifying the behavior of the API operation. -
getOptions
-
setOptions
-
equals
-
hashCode
public int hashCode() -
toString
-