35 lines
1.1 KiB
C#
35 lines
1.1 KiB
C#
using System.Collections.Generic;
|
|
|
|
namespace Kreta.Client.CoreApi.Response
|
|
{
|
|
public class DKTFeladatResponse
|
|
{
|
|
public string CorrelationId { get; set; }
|
|
public DKTExceptionItem Exception { get; set; }
|
|
public DKTValidationResult ValidationResult { get; set; }
|
|
public int Status { get; set; }
|
|
public Dictionary<string, string[]> Errors { get; set; }
|
|
public string Instance { get; set; }
|
|
}
|
|
|
|
public class DKTValidationResult
|
|
{
|
|
public List<DKTValidationItem> Tiltasok { get; set; } = new List<DKTValidationItem>();
|
|
public List<DKTValidationItem> Figyelmeztetesek { get; set; } = new List<DKTValidationItem>();
|
|
public List<DKTValidationItem> Engedelyezettek { get; set; } = new List<DKTValidationItem>();
|
|
}
|
|
|
|
public class DKTExceptionItem
|
|
{
|
|
public string Type { get; set; }
|
|
public string Message { get; set; }
|
|
public string StackTrace { get; set; }
|
|
}
|
|
|
|
public class DKTValidationItem
|
|
{
|
|
public string Id { get; set; }
|
|
public string Nev { get; set; }
|
|
public string Uzenet { get; set; }
|
|
}
|
|
}
|