/// <summary>
 /// Deletes the execution media for the given job key.
 /// </summary>
 /// <remarks>
 /// Client Credentials Flow required permissions: Monitoring or
 /// Monitoring.Write.
 ///
 /// Required permissions: ExecutionMedia.View.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='body'>
 /// </param>
 /// <param name='xUIPATHOrganizationUnitId'>
 /// Folder/OrganizationUnit Id
 /// </param>
 public static void DeleteMediaByJobId(this IExecutionMedia operations, ExecutionMediaDeleteMediaByJobIdParameters body = default(ExecutionMediaDeleteMediaByJobIdParameters), long?xUIPATHOrganizationUnitId = default(long?))
 {
     operations.DeleteMediaByJobIdAsync(body, xUIPATHOrganizationUnitId).GetAwaiter().GetResult();
 }
 /// <summary>
 /// Deletes the execution media for the given job key.
 /// </summary>
 /// <remarks>
 /// Required permissions: ExecutionMedia.View.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='deleteMediaByJobParameters'>
 /// </param>
 public static void DeleteMediaByJobId(this IExecutionMedia operations, DeleteMediaByJobParameters deleteMediaByJobParameters)
 {
     operations.DeleteMediaByJobIdAsync(deleteMediaByJobParameters).GetAwaiter().GetResult();
 }