Package com.mypurecloud.sdk.v2.model
Class ExternalOrganizationEnrichRequest
java.lang.Object
com.mypurecloud.sdk.v2.model.ExternalOrganizationEnrichRequest
- All Implemented Interfaces:
Serializable
ExternalOrganizationEnrichRequest
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe action that should be taken based on any External Organization found by `matchingIdentifiers`. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe action that should be taken based on any External Organization found by `matchingIdentifiers`.division(WritableStarrableDivision division) The division to which this entity belongs.booleanexternalOrganization(ExternalOrganization externalOrganization) Data to be added, either as an update to an existing External Organization or the body of a new External Organization.fieldRules(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<ExternalOrganizationIdentifier> matchingIdentifiers) An ordered list of one or more Identifiers which might each be claimed by an External Organization.voidvoidsetDivision(WritableStarrableDivision division) voidsetExternalOrganization(ExternalOrganization externalOrganization) voidsetFieldRules(EnrichFieldRules fieldRules) voidvoidsetMatchingIdentifiers(List<ExternalOrganizationIdentifier> matchingIdentifiers) toString()
-
Constructor Details
-
ExternalOrganizationEnrichRequest
public ExternalOrganizationEnrichRequest() -
ExternalOrganizationEnrichRequest
-
-
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 request and response operations. -
getId
-
setId
-
division
The division to which this entity belongs. -
getDivision
-
setDivision
-
matchingIdentifiers
public ExternalOrganizationEnrichRequest matchingIdentifiers(List<ExternalOrganizationIdentifier> matchingIdentifiers) An ordered list of one or more Identifiers which might each be claimed by an External Organization. `action` describes what to do with any possibly matching External Organization. Identifier lookups will occur in the order specified here. -
getMatchingIdentifiers
-
setMatchingIdentifiers
-
action
public ExternalOrganizationEnrichRequest action(ExternalOrganizationEnrichRequest.ActionEnum action) The action that should be taken based on any External Organization found by `matchingIdentifiers`. -
getAction
-
setAction
-
externalOrganization
public ExternalOrganizationEnrichRequest externalOrganization(ExternalOrganization externalOrganization) Data to be added, either as an update to an existing External Organization or the body of a new External Organization. Omitting a field in this contract means that it will be treated as null in the `fieldRules` logic. -
getExternalOrganization
-
setExternalOrganization
-
fieldRules
Logic describing how to combine data from the submitted request with data found in the database. -
getFieldRules
-
setFieldRules
-
equals
-
hashCode
public int hashCode() -
toString
-