using System.Text.Json.Serialization;

namespace MarcusLaw.OutlookAddin.Core.Models
{
    public sealed class FileEmailResponse
    {
        [JsonPropertyName("id")]
        public string Id { get; set; } = string.Empty;

        [JsonPropertyName("created")]
        public bool Created { get; set; }

        [JsonPropertyName("parentType")]
        public string ParentType { get; set; } = string.Empty;

        [JsonPropertyName("parentId")]
        public string ParentId { get; set; } = string.Empty;

        [JsonPropertyName("messageId")]
        public string? MessageId { get; set; }
    }
}
