 381f9a4808
			
		
	
	381f9a4808
	
	
	
		
			
			* add messagepack attributes * fix isnullorempty * bump api version --------- Co-authored-by: rootdarkarchon <root.darkarchon@outlook.com>
		
			
				
	
	
		
			14 lines
		
	
	
		
			466 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			466 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| using MessagePack;
 | |
| 
 | |
| namespace MareSynchronos.API.Dto.Files;
 | |
| 
 | |
| [MessagePackObject(keyAsPropertyName: true)]
 | |
| public record DownloadFileDto : ITransferFileDto
 | |
| {
 | |
|     public bool FileExists { get; set; } = true;
 | |
|     public string Hash { get; set; } = string.Empty;
 | |
|     public string Url { get; set; } = string.Empty;
 | |
|     public long Size { get; set; } = 0;
 | |
|     public bool IsForbidden { get; set; } = false;
 | |
|     public string ForbiddenBy { get; set; } = string.Empty;
 | |
| } |