/// <summary>
 /// Creates a QueueItemComment.
 /// </summary>
 /// <remarks>
 /// Client Credentials Flow required permissions: Queues or Queues.Write.
 ///
 /// Required permissions: Queues.View and Transactions.Edit.
 ///
 /// Note: If the CreationTime is passed in in the
 /// {UiPath.Orchestrator.Application.Dto.Queues.QueueItemCommentDto} it will be
 /// overriden with server UTC time.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='queueItemCommentDto'>
 /// </param>
 /// <param name='xUIPATHOrganizationUnitId'>
 /// Folder/OrganizationUnit Id
 /// </param>
 public static QueueItemCommentDto Post(this IQueueItemComments operations, QueueItemCommentDto queueItemCommentDto, long?xUIPATHOrganizationUnitId = default(long?))
 {
     return(operations.PostAsync(queueItemCommentDto, xUIPATHOrganizationUnitId).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Creates a QueueItemComment.
 /// </summary>
 /// <remarks>
 /// Required permissions: Queues.View and Transactions.Edit.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='queueItemCommentDto'>
 /// </param>
 public static QueueItemCommentDto Post(this IQueueItemComments operations, QueueItemCommentDto queueItemCommentDto)
 {
     return(operations.PostAsync(queueItemCommentDto).GetAwaiter().GetResult());
 }