-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #69 from Worth-NL/fix/Serialization_CommonTaskData…
…_NijmegenCase Fix/serialization common task data nijmegen case
- Loading branch information
Showing
12 changed files
with
199 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# **OMC** Documentation | ||
|
||
v.1.8.16 | ||
v.1.8.17 | ||
|
||
© 2024, Worth Systems. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 38 additions & 0 deletions
38
EventsHandler/Api/EventsHandler/Mapping/Models/POCOs/Objecten/Task/vNijmegen/TaskForm.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
// // © 2024, Worth Systems. | ||
|
||
using EventsHandler.Mapping.Models.Interfaces; | ||
using System.Text.Json.Serialization; | ||
|
||
namespace EventsHandler.Mapping.Models.POCOs.Objecten.Task.vNijmegen | ||
{ | ||
/// <summary> | ||
/// The task form related to the <see cref="Data"/> retrieved from "Objecten" Web API service. | ||
/// </summary> | ||
/// <remarks> | ||
/// Version used by Nijmegen. | ||
/// </remarks> | ||
/// <seealso cref="IJsonSerializable"/> | ||
public struct TaskForm : IJsonSerializable | ||
{ | ||
/// <inheritdoc cref="vNijmegen.Coupling"/> | ||
[JsonRequired] | ||
[JsonInclude] | ||
[JsonPropertyName("koppeling")] | ||
[JsonPropertyOrder(0)] | ||
public Coupling Coupling { get; internal set; } | ||
|
||
/// <inheritdoc cref="CommonTaskData.ExpirationDate"/> | ||
[JsonRequired] | ||
[JsonInclude] | ||
[JsonPropertyName("verloopdatum")] | ||
[JsonPropertyOrder(1)] | ||
public DateTime ExpirationDate { get; internal set; } | ||
|
||
/// <inheritdoc cref="CommonTaskData.Identification"/> | ||
[JsonRequired] | ||
[JsonInclude] | ||
[JsonPropertyName("identificatie")] | ||
[JsonPropertyOrder(2)] | ||
public Identification Identification { get; internal set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.