mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-05-24 00:52:23 -04:00
27 lines
791 B
C#
27 lines
791 B
C#
namespace API.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;
|
|
}
|