blob: cfbec0290cb6c76716b2dcd22ffeca2ca42139f0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
using System;
using System.ComponentModel.DataAnnotations;
namespace Timeline.Models.Http
{
public class HttpTimelinePostCreateRequest
{
/// <summary>
/// Content of the new post.
/// </summary>
[Required]
public HttpTimelinePostCreateRequestContent Content { get; set; } = default!;
/// <summary>
/// Time of the post. If not set, current time will be used.
/// </summary>
public DateTime? Time { get; set; }
}
}
|