mirror of
https://github.com/Kareadita/Kavita.git
synced 2026-03-10 20:15:26 -04:00
Co-authored-by: Joseph Milazzo <joseph.v.milazzo@gmail.com> Co-authored-by: Joe Milazzo <josephmajora@gmail.com>
27 lines
801 B
C#
27 lines
801 B
C#
namespace Kavita.Models.DTOs;
|
|
|
|
/// <summary>
|
|
/// Used for running some task against a Series.
|
|
/// </summary>
|
|
public sealed record RefreshSeriesDto
|
|
{
|
|
/// <summary>
|
|
/// Library Id series belongs to
|
|
/// </summary>
|
|
public int LibraryId { get; init; }
|
|
/// <summary>
|
|
/// Series Id
|
|
/// </summary>
|
|
public int SeriesId { get; init; }
|
|
/// <summary>
|
|
/// Should the task force opening/re-calculation.
|
|
/// </summary>
|
|
/// <remarks>This is expensive if true. Defaults to true.</remarks>
|
|
public bool ForceUpdate { get; init; } = true;
|
|
/// <summary>
|
|
/// Should the task force re-calculation of colorscape.
|
|
/// </summary>
|
|
/// <remarks>This is expensive if true. Defaults to true.</remarks>
|
|
public bool ForceColorscape { get; init; } = false;
|
|
}
|