/// <summary>
 /// Gets the dataset refresh history
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='groupId'>
 /// The group id
 /// </param>
 /// <param name='datasetKey'>
 /// The dataset id
 /// </param>
 /// <param name='top'>
 /// The requested number of entries in the refresh history, if not supported
 /// the default is all available entries
 /// </param>
 public static ODataResponseListRefresh GetRefreshHistory(this IDatasets operations, string groupId, string datasetKey, int?top = default(int?))
 {
     return(operations.GetRefreshHistoryAsync(groupId, datasetKey, top).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Gets the dataset refresh history
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='datasetKey'>
 /// The dataset id
 /// </param>
 public static ODataResponseListRefresh GetRefreshHistory(this IDatasets operations, string datasetKey)
 {
     return(operations.GetRefreshHistoryAsync(datasetKey).GetAwaiter().GetResult());
 }