/// <summary> /// Enables/disables a group of schedules. /// </summary> /// <remarks> /// Client Credentials Flow required permissions: Jobs or Jobs.Write. /// /// Required permissions: Schedules.Edit. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='setEnabledParameters'> /// <para />Enabled - If true the schedules will be enabled, if false the /// schedules will be disabled. /// <para />ScheduleIds - The collection of ids of the affected /// schedules. /// </param> /// <param name='xUIPATHOrganizationUnitId'> /// Folder/OrganizationUnit Id /// </param> public static ODataValueBoolean SetEnabled(this IProcessSchedules operations, SetEnabledParameters setEnabledParameters, long?xUIPATHOrganizationUnitId = default(long?)) { return(operations.SetEnabledAsync(setEnabledParameters, xUIPATHOrganizationUnitId).GetAwaiter().GetResult()); }
/// <summary> /// Enables/disables a group of schedules. /// </summary> /// <remarks> /// Required permissions: Schedules.Edit. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='setEnabledParameters'> /// <para />Enabled - If true the schedules will be enabled, if false the /// schedules will be disabled. /// <para />ScheduleIds - The collection of ids of the affected /// schedules. /// </param> public static ODataResponseBoolean SetEnabled(this IProcessSchedules operations, SetEnabledParameters setEnabledParameters) { return(operations.SetEnabledAsync(setEnabledParameters).GetAwaiter().GetResult()); }
/// <summary> /// Enables/disables a group of schedules. /// </summary> /// <remarks> /// Client Credentials Flow required permissions: Jobs or Jobs.Write. /// /// Required permissions: Schedules.Edit. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='body'> /// <para />Enabled - If true the schedules will be enabled, if false the /// schedules will be disabled. /// <para />ScheduleIds - The collection of ids of the affected /// schedules. /// </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> public static ODataValueOfBoolean SetEnabled(this IProcessSchedules operations, ProcessSetEnabledRequest body = default(ProcessSetEnabledRequest), string expand = default(string), string select = default(string), long?xUIPATHOrganizationUnitId = default(long?)) { return(operations.SetEnabledAsync(body, expand, select, xUIPATHOrganizationUnitId).GetAwaiter().GetResult()); }