diff --git a/Mailgun.Models.SignedEvent/EventDetails/Message.cs b/Mailgun.Models.SignedEvent/EventDetails/Message.cs index 70f7212..7e691e5 100644 --- a/Mailgun.Models.SignedEvent/EventDetails/Message.cs +++ b/Mailgun.Models.SignedEvent/EventDetails/Message.cs @@ -12,7 +12,7 @@ public class Message { public Headers Headers { get; set; } - public List Attachments { get; set; } + public List Attachments { get; set; } public List Recipients { get; set; } diff --git a/Mailgun.Models.SignedEvent/EventDetails/MessageDetails/Attachment.cs b/Mailgun.Models.SignedEvent/EventDetails/MessageDetails/Attachment.cs new file mode 100644 index 0000000..cca2b25 --- /dev/null +++ b/Mailgun.Models.SignedEvent/EventDetails/MessageDetails/Attachment.cs @@ -0,0 +1,16 @@ +// +// Copyright (c) Balazs Keresztury. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// + +namespace Mailgun.Models.SignedEvent.EventDetails.MessageDetails +{ + public class Attachment + { + public int Size { get; set; } + + public string ContentType { get; set; } + + public string Filename { get; set; } + } +} diff --git a/Mailgun.Models.SignedEvent/Mailgun.Models.SignedEvent.csproj b/Mailgun.Models.SignedEvent/Mailgun.Models.SignedEvent.csproj index 7160a5d..a06eb39 100644 --- a/Mailgun.Models.SignedEvent/Mailgun.Models.SignedEvent.csproj +++ b/Mailgun.Models.SignedEvent/Mailgun.Models.SignedEvent.csproj @@ -5,7 +5,7 @@ Balazs Keresztury Copyright (c) 2020 Balazs Keresztury MIT - 1.1.0 + 1.1.1 true https://github.com/belidzs/Mailgun.Models.SignedEvent https://github.com/belidzs/Mailgun.Models.SignedEvent