/// <summary>
 /// Edits a release.
 /// </summary>
 /// <remarks>
 /// Required permissions: Processes.Edit.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='id'>
 /// key: Id
 /// </param>
 /// <param name='releaseDto'>
 /// The entity to put
 /// </param>
 public static ReleaseDto PutById(this IReleases operations, long id, ReleaseDto releaseDto)
 {
     return(operations.PutByIdAsync(id, releaseDto).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Edits a release.
 /// </summary>
 /// <remarks>
 /// Client Credentials Flow required permissions: Execution or Execution.Write.
 ///
 /// Required permissions: Processes.Edit.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='id'>
 /// key: Id
 /// </param>
 /// <param name='releaseDto'>
 /// The entity to put
 /// </param>
 /// <param name='xUIPATHOrganizationUnitId'>
 /// Folder/OrganizationUnit Id
 /// </param>
 public static ReleaseDto PutById(this IReleases operations, long id, ReleaseDto releaseDto, long?xUIPATHOrganizationUnitId = default(long?))
 {
     return(operations.PutByIdAsync(id, releaseDto, xUIPATHOrganizationUnitId).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Edits a release.
 /// </summary>
 /// <remarks>
 /// Client Credentials Flow required permissions: Execution or Execution.Write.
 ///
 /// Required permissions: Processes.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 ReleaseDto PutById(this IReleases operations, long key, ReleaseDto body = default(ReleaseDto), long?xUIPATHOrganizationUnitId = default(long?))
 {
     return(operations.PutByIdAsync(key, body, xUIPATHOrganizationUnitId).GetAwaiter().GetResult());
 }