/// <summary>
 /// Creates or updates the specified dataflow refresh schedule configuration.
 /// </summary>
 /// <remarks>
 /// &lt;br/&gt;**Required scope**: Dataflow.ReadWrite.All &lt;br/&gt;To set the
 /// permissions scope, see [Register an
 /// app](https://docs.microsoft.com/power-bi/developer/register-app).
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='groupId'>
 /// The workspace id
 /// </param>
 /// <param name='dataflowId'>
 /// The dataflow id
 /// </param>
 /// <param name='refreshScheduleRequest'>
 /// The dataflow refresh schedule to create or update
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task UpdateRefreshScheduleAsync(this IDataflowsOperations operations, System.Guid groupId, System.Guid dataflowId, RefreshScheduleRequest refreshScheduleRequest, CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.UpdateRefreshScheduleWithHttpMessagesAsync(groupId, dataflowId, refreshScheduleRequest, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }
 /// <summary>
 /// Creates or updates the specified dataflow refresh schedule configuration.
 /// </summary>
 /// <remarks>
 /// &lt;br/&gt;**Required scope**: Dataflow.ReadWrite.All &lt;br/&gt;To set the
 /// permissions scope, see [Register an
 /// app](https://docs.microsoft.com/power-bi/developer/register-app).
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='groupId'>
 /// The workspace id
 /// </param>
 /// <param name='dataflowId'>
 /// The dataflow id
 /// </param>
 /// <param name='refreshScheduleRequest'>
 /// The dataflow refresh schedule to create or update
 /// </param>
 public static void UpdateRefreshSchedule(this IDataflowsOperations operations, System.Guid groupId, System.Guid dataflowId, RefreshScheduleRequest refreshScheduleRequest)
 {
     operations.UpdateRefreshScheduleAsync(groupId, dataflowId, refreshScheduleRequest).GetAwaiter().GetResult();
 }