/// <param name='operations'> /// Reference to the ZtherApiIntegration.API.IEmailFavorites. /// </param> /// <param name='brand'> /// Required. /// </param> /// <param name='id'> /// Required. /// </param> /// <param name='cancellationToken'> /// Cancellation token. /// </param> public static async Task <string> RemoveEmailFavoriteAsync(this IEmailFavorites operations, string brand, int id, CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { Microsoft.Rest.HttpOperationResponse <string> result = await operations.RemoveEmailFavoriteWithOperationResponseAsync(brand, id, cancellationToken).ConfigureAwait(false); return(result.Body); }