/// <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>
 /// Gets the QueueItemComments.
 /// </summary>
 /// <remarks>
 /// Client Credentials Flow required permissions: Queues or Queues.Read.
 ///
 /// Required permissions: Queues.View and Transactions.View.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='expand'>
 /// Expands related entities inline.
 /// </param>
 /// <param name='filter'>
 /// Filters the results, based on a Boolean condition.
 /// </param>
 /// <param name='select'>
 /// Selects which properties to include in the response.
 /// </param>
 /// <param name='orderby'>
 /// Sorts the results.
 /// </param>
 /// <param name='top'>
 /// Returns only the first n results.
 /// </param>
 /// <param name='skip'>
 /// Skips the first n results.
 /// </param>
 /// <param name='count'>
 /// Includes a count of the matching results in the response.
 /// </param>
 /// <param name='xUIPATHOrganizationUnitId'>
 /// Folder/OrganizationUnit Id
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <ODataValueIEnumerableQueueItemCommentDto> GetAsync(this IQueueItemComments operations, string expand = default(string), string filter = default(string), string select = default(string), string orderby = default(string), int?top = default(int?), int?skip = default(int?), bool?count = default(bool?), long?xUIPATHOrganizationUnitId = default(long?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
 {
     using (var _result = await operations.GetWithHttpMessagesAsync(expand, filter, select, orderby, top, skip, count, xUIPATHOrganizationUnitId, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
 /// <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>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <QueueItemCommentDto> PostAsync(this IQueueItemComments operations, QueueItemCommentDto queueItemCommentDto, long?xUIPATHOrganizationUnitId = default(long?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
 {
     using (var _result = await operations.PostWithHttpMessagesAsync(queueItemCommentDto, xUIPATHOrganizationUnitId, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
 /// <summary>
 /// Gets a QueueItemComment by Id.
 /// </summary>
 /// <remarks>
 /// Client Credentials Flow required permissions: Queues or Queues.Read.
 ///
 /// Required permissions: Queues.View and Transactions.View.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='id'>
 /// key: Id
 /// </param>
 /// <param name='expand'>
 /// Expands related entities inline.
 /// </param>
 /// <param name='select'>
 /// Selects which properties to include in the response.
 /// </param>
 /// <param name='xUIPATHOrganizationUnitId'>
 /// Folder/OrganizationUnit Id
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <QueueItemCommentDto> GetByIdAsync(this IQueueItemComments operations, long id, string expand = default(string), string select = default(string), long?xUIPATHOrganizationUnitId = default(long?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
 {
     using (var _result = await operations.GetByIdWithHttpMessagesAsync(id, expand, select, xUIPATHOrganizationUnitId, 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>
 public static void PutById(this IQueueItemComments operations, long id, QueueItemCommentDto queueItemCommentDto, long?xUIPATHOrganizationUnitId = default(long?))
 {
     operations.PutByIdAsync(id, queueItemCommentDto, xUIPATHOrganizationUnitId).GetAwaiter().GetResult();
 }
 /// <summary>
 /// Gets a QueueItemComment by Id.
 /// </summary>
 /// <remarks>
 /// Client Credentials Flow required permissions: Queues or Queues.Read.
 ///
 /// Required permissions: Queues.View and Transactions.View.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='id'>
 /// key: Id
 /// </param>
 /// <param name='expand'>
 /// Expands related entities inline.
 /// </param>
 /// <param name='select'>
 /// Selects which properties to include in the response.
 /// </param>
 /// <param name='xUIPATHOrganizationUnitId'>
 /// Folder/OrganizationUnit Id
 /// </param>
 public static QueueItemCommentDto GetById(this IQueueItemComments operations, long id, string expand = default(string), string select = default(string), long?xUIPATHOrganizationUnitId = default(long?))
 {
     return(operations.GetByIdAsync(id, expand, select, xUIPATHOrganizationUnitId).GetAwaiter().GetResult());
 }
 /// <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>
 /// Gets the QueueItemComments.
 /// </summary>
 /// <remarks>
 /// Client Credentials Flow required permissions: Queues or Queues.Read.
 ///
 /// Required permissions: Queues.View and Transactions.View.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='expand'>
 /// Expands related entities inline.
 /// </param>
 /// <param name='filter'>
 /// Filters the results, based on a Boolean condition.
 /// </param>
 /// <param name='select'>
 /// Selects which properties to include in the response.
 /// </param>
 /// <param name='orderby'>
 /// Sorts the results.
 /// </param>
 /// <param name='top'>
 /// Returns only the first n results.
 /// </param>
 /// <param name='skip'>
 /// Skips the first n results.
 /// </param>
 /// <param name='count'>
 /// Includes a count of the matching results in the response.
 /// </param>
 /// <param name='xUIPATHOrganizationUnitId'>
 /// Folder/OrganizationUnit Id
 /// </param>
 public static ODataValueIEnumerableQueueItemCommentDto Get(this IQueueItemComments operations, string expand = default(string), string filter = default(string), string select = default(string), string orderby = default(string), int?top = default(int?), int?skip = default(int?), bool?count = default(bool?), long?xUIPATHOrganizationUnitId = default(long?))
 {
     return(operations.GetAsync(expand, filter, select, orderby, top, skip, count, xUIPATHOrganizationUnitId).GetAwaiter().GetResult());
 }
Esempio n. 9
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>
 public static void PutById(this IQueueItemComments operations, long key, QueueItemCommentDto body = default(QueueItemCommentDto), long?xUIPATHOrganizationUnitId = default(long?))
 {
     operations.PutByIdAsync(key, body, xUIPATHOrganizationUnitId).GetAwaiter().GetResult();
 }
 /// <summary>
 /// Deletes 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='id'>
 /// key: Id
 /// </param>
 /// <param name='ifMatch'>
 /// If-Match header
 /// </param>
 public static void DeleteById(this IQueueItemComments operations, long id, string ifMatch = default(string))
 {
     operations.DeleteByIdAsync(id, ifMatch).GetAwaiter().GetResult();
 }
 /// <summary>
 /// Gets the QueueItemComments.
 /// </summary>
 /// <remarks>
 /// Required permissions: Queues.View and Transactions.View.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='expand'>
 /// Expands related entities inline.
 /// </param>
 /// <param name='filter'>
 /// Filters the results, based on a Boolean condition.
 /// </param>
 /// <param name='select'>
 /// Selects which properties to include in the response.
 /// </param>
 /// <param name='orderby'>
 /// Sorts the results.
 /// </param>
 /// <param name='top'>
 /// Returns only the first n results.
 /// </param>
 /// <param name='skip'>
 /// Skips the first n results.
 /// </param>
 /// <param name='count'>
 /// Includes a count of the matching results in the response.
 /// </param>
 public static ODataResponseListQueueItemCommentDto GetQueueItemComments(this IQueueItemComments operations, string expand = default(string), string filter = default(string), string select = default(string), string orderby = default(string), int?top = default(int?), int?skip = default(int?), bool?count = default(bool?))
 {
     return(operations.GetQueueItemCommentsAsync(expand, filter, select, orderby, top, skip, count).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Gets a QueueItemComment by Id.
 /// </summary>
 /// <remarks>
 /// Required permissions: Queues.View and Transactions.View.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='id'>
 /// key: Id
 /// </param>
 /// <param name='expand'>
 /// Expands related entities inline.
 /// </param>
 /// <param name='select'>
 /// Selects which properties to include in the response.
 /// </param>
 public static QueueItemCommentDto GetById(this IQueueItemComments operations, long id, string expand = default(string), string select = default(string))
 {
     return(operations.GetByIdAsync(id, expand, select).GetAwaiter().GetResult());
 }
 /// <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>
 public static object PutById(this IQueueItemComments operations, long id, QueueItemCommentDto queueItemCommentDto)
 {
     return(operations.PutByIdAsync(id, queueItemCommentDto).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());
 }
Esempio n. 15
0
 /// <summary>
 /// Deletes 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='xUIPATHOrganizationUnitId'>
 /// Folder/OrganizationUnit Id
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task DeleteByIdAsync(this IQueueItemComments operations, long key, long?xUIPATHOrganizationUnitId = default(long?), CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.DeleteByIdWithHttpMessagesAsync(key, xUIPATHOrganizationUnitId, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }
Esempio n. 16
0
 /// <summary>
 /// Deletes 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='xUIPATHOrganizationUnitId'>
 /// Folder/OrganizationUnit Id
 /// </param>
 public static void DeleteById(this IQueueItemComments operations, long key, long?xUIPATHOrganizationUnitId = default(long?))
 {
     operations.DeleteByIdAsync(key, xUIPATHOrganizationUnitId).GetAwaiter().GetResult();
 }
 /// <summary>
 /// Deletes 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='ifMatch'>
 /// If-Match header
 /// </param>
 /// <param name='xUIPATHOrganizationUnitId'>
 /// Folder/OrganizationUnit Id
 /// </param>
 public static void DeleteById(this IQueueItemComments operations, long id, string ifMatch = default(string), long?xUIPATHOrganizationUnitId = default(long?))
 {
     operations.DeleteByIdAsync(id, ifMatch, xUIPATHOrganizationUnitId).GetAwaiter().GetResult();
 }
 /// <summary>
 /// Returns a collection of Queue Item Comments associated to a Queue Item and
 /// all its related Queue Items.
 /// A Queue Item is related to another if it was created as a retry of a failed
 /// Queue Item. They also share the same Key.
 /// </summary>
 /// <remarks>
 /// Required permissions: Queues.View and Transactions.View.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='queueItemId'>
 /// The Id of the Queue Item for which the comment history is requested.
 /// </param>
 public static ODataResponseListQueueItemCommentDto GetQueueItemCommentsHistoryByQueueitemid(this IQueueItemComments operations, long queueItemId)
 {
     return(operations.GetQueueItemCommentsHistoryByQueueitemidAsync(queueItemId).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Deletes 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='ifMatch'>
 /// If-Match header
 /// </param>
 /// <param name='xUIPATHOrganizationUnitId'>
 /// Folder/OrganizationUnit Id
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task DeleteByIdAsync(this IQueueItemComments operations, long id, string ifMatch = default(string), long?xUIPATHOrganizationUnitId = default(long?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
 {
     (await operations.DeleteByIdWithHttpMessagesAsync(id, ifMatch, xUIPATHOrganizationUnitId, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }
 /// <summary>
 /// Returns a collection of Queue Item Comments associated to a Queue Item and
 /// all its related Queue Items.
 /// A Queue Item is related to another if it was created as a retry of a failed
 /// Queue Item. They also share the same Key.
 /// </summary>
 /// <remarks>
 /// Required permissions: Queues.View and Transactions.View.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='queueItemId'>
 /// The Id of the Queue Item for which the comment history is requested.
 /// </param>
 /// <param name='expand'>
 /// Expands related entities inline.
 /// </param>
 /// <param name='filter'>
 /// Filters the results, based on a Boolean condition.
 /// </param>
 /// <param name='select'>
 /// Selects which properties to include in the response.
 /// </param>
 /// <param name='orderby'>
 /// Sorts the results.
 /// </param>
 /// <param name='top'>
 /// Returns only the first n results.
 /// </param>
 /// <param name='skip'>
 /// Skips the first n results.
 /// </param>
 /// <param name='count'>
 /// Includes a count of the matching results in the odata-count header.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <ODataResponseListQueueItemCommentDto> GetQueueItemCommentsHistoryByQueueitemidAsync(this IQueueItemComments operations, long queueItemId, string expand = default(string), string filter = default(string), string select = default(string), string orderby = default(string), int?top = default(int?), int?skip = default(int?), bool?count = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
 {
     using (var _result = await operations.GetQueueItemCommentsHistoryByQueueitemidWithHttpMessagesAsync(queueItemId, expand, filter, select, orderby, top, skip, count, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
Esempio n. 21
0
 /// <summary>
 /// Returns a collection of Queue Item Comments associated to a Queue Item and
 /// all its related Queue Items.
 /// A Queue Item is related to another if it was created as a retry of a failed
 /// Queue Item. They also share the same Key.
 /// </summary>
 /// <remarks>
 /// Required permissions: Queues.View and Transactions.View.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='queueItemId'>
 /// The Id of the Queue Item for which the comment history is requested.
 /// </param>
 /// <param name='xUIPATHOrganizationUnitId'>
 /// Folder/OrganizationUnit Id
 /// </param>
 /// <param name='expand'>
 /// Expands related entities inline.
 /// </param>
 /// <param name='filter'>
 /// Filters the results, based on a Boolean condition.
 /// </param>
 /// <param name='select'>
 /// Selects which properties to include in the response.
 /// </param>
 /// <param name='orderby'>
 /// Sorts the results.
 /// </param>
 /// <param name='top'>
 /// Returns only the first n results.
 /// </param>
 /// <param name='skip'>
 /// Skips the first n results.
 /// </param>
 /// <param name='count'>
 /// Includes a count of the matching results in the odata-count header.
 /// </param>
 public static ODataResponseListQueueItemCommentDto GetQueueItemCommentsHistoryByQueueitemid(this IQueueItemComments operations, long queueItemId, long?xUIPATHOrganizationUnitId = default(long?), string expand = default(string), string filter = default(string), string select = default(string), string orderby = default(string), int?top = default(int?), int?skip = default(int?), bool?count = default(bool?))
 {
     return(operations.GetQueueItemCommentsHistoryByQueueitemidAsync(queueItemId, xUIPATHOrganizationUnitId, expand, filter, select, orderby, top, skip, count).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Returns a collection of Queue Item Comments associated to a Queue Item and
 /// all its related Queue Items.
 /// A Queue Item is related to another if it was created as a retry of a failed
 /// Queue Item. They also share the same Key.
 /// </summary>
 /// <remarks>
 /// Required permissions: Queues.View and Transactions.View.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='queueItemId'>
 /// The Id of the Queue Item for which the comment history is requested.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <ODataResponseListQueueItemCommentDto> GetQueueItemCommentsHistoryByQueueitemidAsync(this IQueueItemComments operations, long queueItemId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
 {
     using (var _result = await operations.GetQueueItemCommentsHistoryByQueueitemidWithHttpMessagesAsync(queueItemId, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }