2024-09-05 17:23:15 +02:00
|
|
|
|
using System.Text.Json.Serialization;
|
|
|
|
|
|
|
2025-02-16 11:54:23 +01:00
|
|
|
|
namespace Wino.Core.Misc;
|
|
|
|
|
|
|
|
|
|
|
|
public class OutlookFileAttachment
|
2024-09-05 17:23:15 +02:00
|
|
|
|
{
|
2025-02-16 11:54:23 +01:00
|
|
|
|
[JsonPropertyName("@odata.type")]
|
|
|
|
|
|
public string OdataType { get; } = "#microsoft.graph.fileAttachment";
|
2024-09-05 17:23:15 +02:00
|
|
|
|
|
2025-02-16 11:54:23 +01:00
|
|
|
|
[JsonPropertyName("name")]
|
|
|
|
|
|
public string FileName { get; set; }
|
2024-09-05 17:23:15 +02:00
|
|
|
|
|
2025-02-16 11:54:23 +01:00
|
|
|
|
[JsonPropertyName("contentBytes")]
|
|
|
|
|
|
public string Base64EncodedContentBytes { get; set; }
|
2024-09-05 17:23:15 +02:00
|
|
|
|
|
2025-02-16 11:54:23 +01:00
|
|
|
|
[JsonPropertyName("contentType")]
|
|
|
|
|
|
public string ContentType { get; set; }
|
2024-09-05 17:23:15 +02:00
|
|
|
|
|
2025-02-16 11:54:23 +01:00
|
|
|
|
[JsonPropertyName("contentId")]
|
|
|
|
|
|
public string ContentId { get; set; }
|
2024-09-05 17:23:15 +02:00
|
|
|
|
|
2025-02-16 11:54:23 +01:00
|
|
|
|
[JsonPropertyName("isInline")]
|
|
|
|
|
|
public bool IsInline { get; set; }
|
2024-09-05 17:23:15 +02:00
|
|
|
|
}
|