public SetProgramPriorityEventArgs(Guid upcomingProgramId, DateTime startTime, UpcomingProgramPriority? priority)
 {
     _upcomingProgramId = upcomingProgramId;
     _startTime = startTime;
     _priority = priority;
 }
 /// <summary>
 /// Set a priority for a specific upcoming program.
 /// </summary>
 /// <param name="upcomingProgramId">The ID of the upcoming program.</param>
 /// <param name="startTime">The upcoming program's start time.</param>
 /// <param name="priority">The priority to use, or null to use the schedule's priority again.</param>
 public async Task SetUpcomingProgramPriority(Guid upcomingProgramId, DateTime startTime, UpcomingProgramPriority? priority)
 {
     var request = NewRequest(HttpMethod.Post, "SetUpcomingProgramPriority/{0}/{1}", upcomingProgramId, startTime);
     if (priority.HasValue)
     {
         request.AddParameter("priority", priority.Value);
     }
     await ExecuteAsync(request).ConfigureAwait(false);
 }