/// <summary>
 /// Enables / disables a list of test set execution schedules.
 /// </summary>
 /// <remarks>
 /// Client Credentials Flow required permissions: TestSetSchedules or
 /// TestSetSchedules.Write.
 ///
 /// Required permissions: TestSetSchedules.Edit.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='body'>
 /// &lt;para /&gt;enabled: if true the test set schedules will be enabled, if
 /// false they will be disabled.
 /// &lt;para /&gt;scheduleIds: the ids of the test set schedules to be enabled
 /// or disabled.
 /// </param>
 /// <param name='expand'>
 /// Indicates the related entities to be represented inline. The maximum depth
 /// is 2.
 /// </param>
 /// <param name='select'>
 /// Limits the properties returned in the result.
 /// </param>
 /// <param name='xUIPATHOrganizationUnitId'>
 /// Folder/OrganizationUnit Id
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <ODataValueOfBoolean> SetEnabledAsync(this ITestSetSchedules operations, TestSetSchedulesSetEnabledParameters body = default(TestSetSchedulesSetEnabledParameters), string expand = default(string), string select = default(string), long?xUIPATHOrganizationUnitId = default(long?), CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.SetEnabledWithHttpMessagesAsync(body, expand, select, xUIPATHOrganizationUnitId, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
 /// <summary>
 /// Enables / disables a list of test set execution schedules.
 /// </summary>
 /// <remarks>
 /// Client Credentials Flow required permissions: TestSetSchedules or
 /// TestSetSchedules.Write.
 ///
 /// Required permissions: TestSetSchedules.Edit.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='setEnabledParameters'>
 /// &lt;para /&gt;enabled: if true the test set schedules will be enabled, if
 /// false they will be disabled.
 /// &lt;para /&gt;scheduleIds: the ids of the test set schedules to be enabled
 /// or disabled.
 /// </param>
 /// <param name='xUIPATHOrganizationUnitId'>
 /// Folder/OrganizationUnit Id
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <ODataValueBoolean> SetEnabledAsync(this ITestSetSchedules operations, SetEnabledParametersModel setEnabledParameters, long?xUIPATHOrganizationUnitId = default(long?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
 {
     using (var _result = await operations.SetEnabledWithHttpMessagesAsync(setEnabledParameters, xUIPATHOrganizationUnitId, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }