.vscode
Adaptation
.config
.vscode
Eaf
FileHandlers
APC
Archive
ConvertExcelToJson
CopyToPaths
DownloadExcelFile
Dummy
IQSSi
Kanban
MoveMatchingFiles
OpenInsight
OpenInsightMetrologyViewer
OpenInsightMetrologyViewerAttachments
Processed
SPaCe
json
StaticSite
WIQL
Column.cs
Field.cs
Root.cs
SortColumn.cs
WorkItem.cs
WorkItems
FileRead.cs
ProcessData.cs
CellInstanceConnectionName.cs
Ifx
Infineon
PeerGroup
Shared
_Tests
.editorconfig
MESAFIBACKLOG-Development.yml
MESAFIBACKLOG.Tests.csproj
MESAFIBACKLOG.yml
appsettings.Development.json
appsettings.json
package.json
FileHandlers
Properties
Shared
.gitignore
MESAFIBACKLOG.csproj
README.md
32 lines
917 B
C#
32 lines
917 B
C#
using System;
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace Adaptation.FileHandlers.json.WIQL;
|
|
|
|
public class Root
|
|
{
|
|
[JsonConstructor]
|
|
public Root(
|
|
string queryType,
|
|
string queryResultType,
|
|
DateTime asOf,
|
|
Column[] columns,
|
|
SortColumn[] sortColumns,
|
|
WorkItem[] workItems
|
|
)
|
|
{
|
|
QueryType = queryType;
|
|
QueryResultType = queryResultType;
|
|
AsOf = asOf;
|
|
Columns = columns;
|
|
SortColumns = sortColumns;
|
|
WorkItems = workItems;
|
|
}
|
|
|
|
public string QueryType { get; set; } // { init; get; }
|
|
public string QueryResultType { get; set; } // { init; get; }
|
|
public DateTime AsOf { get; set; } // { init; get; }
|
|
public Column[] Columns { get; set; } // { init; get; }
|
|
public SortColumn[] SortColumns { get; set; } // { init; get; }
|
|
public WorkItem[] WorkItems { get; set; } // { init; get; }
|
|
} |