/// <summary>
 /// Replace entity in EntitySet QueueItemComments
 /// </summary>
 /// <remarks>
 /// Required permissions: Queues.View and Transactions.Edit.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='id'>
 /// key: Id
 /// </param>
 /// <param name='queueItemCommentDto'>
 /// The entity to put
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <object> PutByIdAsync(this IQueueItemComments operations, long id, QueueItemCommentDto queueItemCommentDto, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
 {
     using (var _result = await operations.PutByIdWithHttpMessagesAsync(id, queueItemCommentDto, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
 /// <summary>
 /// Updates a QueueItemComment
 /// </summary>
 /// <remarks>
 /// Client Credentials Flow required permissions: Queues or Queues.Write.
 ///
 /// Required permissions: Queues.View and Transactions.Edit.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='id'>
 /// key: Id
 /// </param>
 /// <param name='queueItemCommentDto'>
 /// </param>
 /// <param name='xUIPATHOrganizationUnitId'>
 /// Folder/OrganizationUnit Id
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task PutByIdAsync(this IQueueItemComments operations, long id, QueueItemCommentDto queueItemCommentDto, long?xUIPATHOrganizationUnitId = default(long?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
 {
     (await operations.PutByIdWithHttpMessagesAsync(id, queueItemCommentDto, xUIPATHOrganizationUnitId, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }
Esempio n. 3
0
 /// <summary>
 /// Updates a QueueItemComment
 /// </summary>
 /// <remarks>
 /// Client Credentials Flow required permissions: Queues or Queues.Write.
 ///
 /// Required permissions: Queues.View and Transactions.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>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task PutByIdAsync(this IQueueItemComments operations, long key, QueueItemCommentDto body = default(QueueItemCommentDto), long?xUIPATHOrganizationUnitId = default(long?), CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.PutByIdWithHttpMessagesAsync(key, body, xUIPATHOrganizationUnitId, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }