Class ConflictResolution

    • Method Detail

      • conflictResolvingModel

        public final ConflictResolvingModel conflictResolvingModel()

        How the auto-merging process should resolve conflicts between different profiles.

        • RECENCY: Uses the data that was most recently updated.

        • SOURCE: Uses the data from a specific source. For example, if a company has been aquired or two departments have merged, data from the specified source is used. If two duplicate profiles are from the same source, then RECENCY is used again.

        If the service returns an enum value that is not available in the current SDK version, conflictResolvingModel will return ConflictResolvingModel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from conflictResolvingModelAsString().

        Returns:
        How the auto-merging process should resolve conflicts between different profiles.

        • RECENCY: Uses the data that was most recently updated.

        • SOURCE: Uses the data from a specific source. For example, if a company has been aquired or two departments have merged, data from the specified source is used. If two duplicate profiles are from the same source, then RECENCY is used again.

        See Also:
        ConflictResolvingModel
      • conflictResolvingModelAsString

        public final String conflictResolvingModelAsString()

        How the auto-merging process should resolve conflicts between different profiles.

        • RECENCY: Uses the data that was most recently updated.

        • SOURCE: Uses the data from a specific source. For example, if a company has been aquired or two departments have merged, data from the specified source is used. If two duplicate profiles are from the same source, then RECENCY is used again.

        If the service returns an enum value that is not available in the current SDK version, conflictResolvingModel will return ConflictResolvingModel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from conflictResolvingModelAsString().

        Returns:
        How the auto-merging process should resolve conflicts between different profiles.

        • RECENCY: Uses the data that was most recently updated.

        • SOURCE: Uses the data from a specific source. For example, if a company has been aquired or two departments have merged, data from the specified source is used. If two duplicate profiles are from the same source, then RECENCY is used again.

        See Also:
        ConflictResolvingModel
      • sourceName

        public final String sourceName()

        The ObjectType name that is used to resolve profile merging conflicts when choosing SOURCE as the ConflictResolvingModel.

        Returns:
        The ObjectType name that is used to resolve profile merging conflicts when choosing SOURCE as the ConflictResolvingModel.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)