aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Models/Http
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2019-11-20 19:59:06 +0800
committercrupest <crupest@outlook.com>2019-11-20 19:59:06 +0800
commit37382ac85675bded43f800fec18fa8eb2ba22706 (patch)
treec6dd5ff348ac2522c92056048670d18ff7d37064 /Timeline/Models/Http
parentf2ca682f8d111112adc167dcf62011676c3ceb00 (diff)
downloadtimeline-37382ac85675bded43f800fec18fa8eb2ba22706.tar.gz
timeline-37382ac85675bded43f800fec18fa8eb2ba22706.tar.bz2
timeline-37382ac85675bded43f800fec18fa8eb2ba22706.zip
Migrate to System.Text.Json . Format enum to string instead of number. Use ISO8601 format for datetime.
Diffstat (limited to 'Timeline/Models/Http')
-rw-r--r--Timeline/Models/Http/Common.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/Timeline/Models/Http/Common.cs b/Timeline/Models/Http/Common.cs
index 2a88b3a3..d1e95397 100644
--- a/Timeline/Models/Http/Common.cs
+++ b/Timeline/Models/Http/Common.cs
@@ -72,6 +72,8 @@ namespace Timeline.Models.Http
{
public class ResponseData
{
+ public ResponseData() { }
+
public ResponseData(bool create)
{
Create = create;
@@ -106,6 +108,8 @@ namespace Timeline.Models.Http
{
public class ResponseData
{
+ public ResponseData() { }
+
public ResponseData(bool delete)
{
Delete = delete;