This commit is contained in:
skidoodle 2024-03-13 00:33:46 +01:00
commit e124a47765
19374 changed files with 9806149 additions and 0 deletions

View file

@ -0,0 +1,38 @@
using System;
using Kreta.Client.FileService.Constant;
namespace Kreta.Client.FileService.Request
{
public class GetUrlRequest
{
public GetUrlRequest(string utvonal, Guid fajlAzonosito, string fajlNev)
{
if (string.IsNullOrWhiteSpace(utvonal))
{
throw new ArgumentNullException(nameof(utvonal));
}
if (fajlAzonosito == Guid.Empty)
{
throw new ArgumentException(nameof(fajlAzonosito));
}
if (string.IsNullOrWhiteSpace(fajlNev))
{
throw new ArgumentNullException(nameof(fajlNev));
}
Utvonal = utvonal;
FajlAzonosito = fajlAzonosito;
FajlNev = fajlNev;
}
public string Konyvtar => Folder.HaziFeladatok;
public string Utvonal { get; set; }
public Guid FajlAzonosito { get; }
public string FajlNev { get; }
}
}