aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline/Models/Http/HttpTimelinePostCreateRequestData.cs
blob: 94ee5aa7bd300ea61bbb35dcc8a4bbf71ae09956 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
using System.ComponentModel.DataAnnotations;

namespace Timeline.Models.Http
{
    public class HttpTimelinePostCreateRequestData
    {
        /// <summary>
        /// Mime type of the data.
        /// </summary>
        [Required]
        public string ContentType { get; set; } = default!;

        /// <summary>
        /// Base64 of data.
        /// </summary>
        [Required]
        public string Data { get; set; } = default!;
    }
}