Skip to content

Commit ee5c8b5

Browse files
committed
redundant attributes removed
1 parent f46652c commit ee5c8b5

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

MangoAPI.BusinessLogic/ApiCommands/Messages/SendMessageRequest.cs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,27 @@
11
using Microsoft.AspNetCore.Http;
22
using System;
33
using System.ComponentModel;
4-
using System.Text.Json.Serialization;
54

65
namespace MangoAPI.BusinessLogic.ApiCommands.Messages;
76

87
public class SendMessageRequest
98
{
109
[DefaultValue("hello world")]
11-
[JsonPropertyName("messageText")]
1210
public string MessageText { get; set; }
1311

1412
[DefaultValue("a8747c37-c5ef-4a87-943c-3ee3ae0a2871")]
15-
[JsonPropertyName("chatId")]
1613
public Guid ChatId { get; set; }
1714

1815
[DefaultValue("John Doe")]
19-
[JsonPropertyName("inReplayToAuthor")]
2016
public string InReplayToAuthor { get; set; }
2117

2218
[DefaultValue("Hello world!")]
23-
[JsonPropertyName("inReplayToText")]
2419
public string InReplayToText { get; set; }
2520

2621
[DefaultValue("2021-08-01T00:00:00.0000000")]
27-
[JsonPropertyName("createdAt")]
2822
public DateTime? CreatedAt { get; set; }
2923

3024
[DefaultValue("f56ac722-a57b-411c-8306-c2e05fb1a8df")]
31-
[JsonPropertyName("messageId")]
3225
public Guid? MessageId { get; set; }
3326

3427
public IFormFile Attachment { get; set; }

0 commit comments

Comments
 (0)