/// <summary> /// Edits a process schedule. /// </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='id'> /// key: Id /// </param> /// <param name='processScheduleDto'> /// The entity to put /// </param> /// <param name='xUIPATHOrganizationUnitId'> /// Folder/OrganizationUnit Id /// </param> public static ProcessScheduleDto PutById(this IProcessSchedules operations, long id, ProcessScheduleDto processScheduleDto, long?xUIPATHOrganizationUnitId = default(long?)) { return(operations.PutByIdAsync(id, processScheduleDto, xUIPATHOrganizationUnitId).GetAwaiter().GetResult()); }
/// <summary> /// Edits a process schedule. /// </summary> /// <remarks> /// Required permissions: Schedules.Edit. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='id'> /// key: Id /// </param> /// <param name='processScheduleDto'> /// The entity to put /// </param> public static ProcessScheduleDto PutById(this IProcessSchedules operations, long id, ProcessScheduleDto processScheduleDto) { return(operations.PutByIdAsync(id, processScheduleDto).GetAwaiter().GetResult()); }
/// <summary> /// Edits a process schedule. /// </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='key'> /// </param> /// <param name='body'> /// </param> /// <param name='xUIPATHOrganizationUnitId'> /// Folder/OrganizationUnit Id /// </param> public static ProcessScheduleDto PutById(this IProcessSchedules operations, long key, ProcessScheduleDto body = default(ProcessScheduleDto), long?xUIPATHOrganizationUnitId = default(long?)) { return(operations.PutByIdAsync(key, body, xUIPATHOrganizationUnitId).GetAwaiter().GetResult()); }