mirror of
https://github.com/Cleanuparr/Cleanuparr.git
synced 2026-01-26 06:39:45 -05:00
20 lines
479 B
C#
20 lines
479 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Cleanuparr.Application.Features.Arr.Dtos;
|
|
|
|
/// <summary>
|
|
/// DTO for creating new Arr instances without requiring an ID
|
|
/// </summary>
|
|
public record CreateArrInstanceDto
|
|
{
|
|
public bool Enabled { get; init; } = true;
|
|
|
|
[Required]
|
|
public required string Name { get; init; }
|
|
|
|
[Required]
|
|
public required string Url { get; init; }
|
|
|
|
[Required]
|
|
public required string ApiKey { get; init; }
|
|
} |