diff options
author | crupest <crupest@outlook.com> | 2020-08-27 01:13:31 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-08-27 01:13:31 +0800 |
commit | 35f6584f47676353733f1cc9182d84ed4ded5cbc (patch) | |
tree | 45d959bc12082a8b4f6b084697030b34517707d1 /Timeline/Models/Http | |
parent | 7a974f5284f19e7b2248f633bcbd5e263aeddf81 (diff) | |
download | timeline-35f6584f47676353733f1cc9182d84ed4ded5cbc.tar.gz timeline-35f6584f47676353733f1cc9182d84ed4ded5cbc.tar.bz2 timeline-35f6584f47676353733f1cc9182d84ed4ded5cbc.zip |
Timeline title feature.
Diffstat (limited to 'Timeline/Models/Http')
-rw-r--r-- | Timeline/Models/Http/Timeline.cs | 4 | ||||
-rw-r--r-- | Timeline/Models/Http/TimelineController.cs | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/Timeline/Models/Http/Timeline.cs b/Timeline/Models/Http/Timeline.cs index 6498fa74..3596af18 100644 --- a/Timeline/Models/Http/Timeline.cs +++ b/Timeline/Models/Http/Timeline.cs @@ -68,6 +68,10 @@ namespace Timeline.Models.Http /// </summary>
public string UniqueId { get; set; } = default!;
/// <summary>
+ /// Title.
+ /// </summary>
+ public string Title { get; set; } = default!;
+ /// <summary>
/// Name of timeline.
/// </summary>
public string Name { get; set; } = default!;
diff --git a/Timeline/Models/Http/TimelineController.cs b/Timeline/Models/Http/TimelineController.cs index aad361ee..95bae3e6 100644 --- a/Timeline/Models/Http/TimelineController.cs +++ b/Timeline/Models/Http/TimelineController.cs @@ -57,6 +57,11 @@ namespace Timeline.Models.Http public class TimelinePatchRequest
{
/// <summary>
+ /// New title. Null for not change.
+ /// </summary>
+ public string? Title { get; set; }
+
+ /// <summary>
/// New description. Null for not change.
/// </summary>
public string? Description { get; set; }
|