blob: cb576a74bcf481651a6cce7bf1e1a8eea18fa4bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
using System;
using Timeline.Models.Validation;
namespace Timeline.Models.Http
{
public class HttpTimelinePostPatchRequest
{
/// <summary>
/// Change the time. Null for not change.
/// </summary>
public DateTime? Time { get; set; }
/// <summary>
/// Change the color. Null for not change.
/// </summary>
[Color(PermitEmpty = true, PermitDefault = true)]
public string? Color { get; set; }
}
}
|