mirror of
https://github.com/Cleanuparr/Cleanuparr.git
synced 2026-01-19 11:17:50 -05:00
18 lines
402 B
C#
18 lines
402 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Executable.DTOs;
|
|
|
|
/// <summary>
|
|
/// DTO for creating new Arr instances without requiring an ID
|
|
/// </summary>
|
|
public record CreateArrInstanceDto
|
|
{
|
|
[Required]
|
|
public required string Name { get; init; }
|
|
|
|
[Required]
|
|
public required string Url { get; init; }
|
|
|
|
[Required]
|
|
public required string ApiKey { get; init; }
|
|
} |