/// <summary> /// Partially updates a robot. /// </summary> /// <remarks> /// Required permissions: Robots.Edit. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='id'> /// key: Id /// </param> /// <param name='robotDto'> /// The entity to patch /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task PatchByIdAsync(this IRobots operations, long id, RobotDto robotDto, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { (await operations.PatchByIdWithHttpMessagesAsync(id, robotDto, null, cancellationToken).ConfigureAwait(false)).Dispose(); }
/// <summary> /// Partially updates a robot. /// </summary> /// <remarks> /// Client Credentials Flow required permissions: Robots or Robots.Write. /// /// Required permissions: Robots.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 PatchByIdAsync(this IRobots operations, long key, RobotDto body = default(RobotDto), long?xUIPATHOrganizationUnitId = default(long?), CancellationToken cancellationToken = default(CancellationToken)) { (await operations.PatchByIdWithHttpMessagesAsync(key, body, xUIPATHOrganizationUnitId, null, cancellationToken).ConfigureAwait(false)).Dispose(); }