/// <summary>
 /// Sets the list of content enrichers to be used in the next request.
 /// </summary>
 /// <remarks>For more details about document enrichers, check
 /// <a href="https://doc.nuxeo.com/display/NXDOC/Content+Enricher">Nuxeo Documentation Center</a>.
 /// </remarks>
 /// <param name="enrichers">The list of content enricher names.</param>
 /// <returns>The current <see cref="Document"/> instance.</returns>
 public Document SetContentEnrichers(string[] enrichers)
 {
     ContentEnrichers?.Clear();
     ContentEnrichers = ContentEnrichers ?? new List <string>();
     foreach (string enricher in enrichers)
     {
         ContentEnrichers.Add(enricher);
     }
     return(this);
 }
 /// <summary>
 /// Adds a content enricher to be used in the next request.
 /// </summary>
 /// <remarks>For more details about document enrichers, check
 /// <a href="https://doc.nuxeo.com/display/NXDOC/Content+Enricher">Nuxeo Documentation Center</a>.
 /// </remarks>
 /// <param name="enricher">The content enricher's name.</param>
 /// <returns>The current <see cref="Document"/> instance.</returns>
 public Document AddContentEnricher(string enricher)
 {
     ContentEnrichers = ContentEnrichers ?? new List <string>();
     ContentEnrichers.Add(enricher);
     return(this);
 }