-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathExtractionRequest.cs
More file actions
33 lines (27 loc) · 807 Bytes
/
ExtractionRequest.cs
File metadata and controls
33 lines (27 loc) · 807 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
using System.ComponentModel.DataAnnotations;
namespace Quipu.ParameterizationExtractor.WebApi.Models
{
public class ExtractionRequest
{
[Required]
public string ConnectionString { get; set; } = string.Empty;
[Required]
public string Configuration { get; set; } = string.Empty;
[Required]
public ConfigurationType ConfigType { get; set; }
public string? OutputFileName { get; set; }
}
public enum ConfigurationType
{
DSL,
JSON,
XML
}
public class ExtractionResponse
{
public bool Success { get; set; }
public string? ErrorMessage { get; set; }
public byte[]? ZipFileContent { get; set; }
public string? FileName { get; set; }
}
}