namespace AipGateway.Test { public class ApiResponseModel { public bool success { get; set; } public int errorCode { get; set; } public string errorMessage { get; set; } = string.Empty; public T result { get; set; } } public class ResponseFile { public int errorCode { get; set; } = 0; //[JsonIgnore] public string errorMessage { get; set; } = string.Empty; public string dispFileName { get; set; } = string.Empty; public string realFileName { get; set; } = string.Empty; public string actualFileName { get; set; } = string.Empty; } public class RequestFile { //[Required] public string dispFileName { get; set; } = string.Empty; //[Required] public string realFileName { get; set; } = string.Empty; public RequestFile() { } } public class RequestFileSet { //[Required] public string apiKey { get; set; } = string.Empty; //[Required] public string email { get; set; } = string.Empty; //[JsonIgnore] //public string apiGuid { get; set; } = string.Empty; //[JsonIgnore] //public string decryptKey { get; set; } = string.Empty; //[Required] public string aipGuid { get; set; } = string.Empty; public string comment { get; set; } = string.Empty; //[Required] public RequestFile file { get; set; } public RequestFileSet() { } public RequestFileSet(string apiKey, string email, string aipGuid, string comment, RequestFile file) { this.apiKey = apiKey; this.email = email; this.aipGuid = aipGuid; this.comment = comment; this.file = file; } } }