using Timeline.Models.Validation;
namespace Timeline.Models.Http
{
    /// 
    /// Patch timeline request model.
    /// 
    public class HttpTimelinePatchRequest
    {
        /// 
        /// New name. Null for not change.
        /// 
        [TimelineName]
        public string? Name { get; set; }
        /// 
        /// New title. Null for not change.
        /// 
        public string? Title { get; set; }
        /// 
        /// New description. Null for not change.
        /// 
        public string? Description { get; set; }
        /// 
        /// New visibility. Null for not change.
        /// 
        public TimelineVisibility? Visibility { get; set; }
        /// 
        /// New color. Null for not change.
        /// 
        [Color(PermitDefault = true, PermitEmpty = true)]
        public string? Color { get; set; }
    }
}