/// <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> /// 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()); }