small code refactoring
This commit is contained in:
@@ -1,16 +1,10 @@
|
||||
using Newtonsoft.Json;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Pilz.Updating
|
||||
namespace Pilz.Updating;
|
||||
|
||||
public class UpdateNotes
|
||||
{
|
||||
public class UpdateNotes
|
||||
{
|
||||
public string Content { get; set; }
|
||||
[JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))]
|
||||
public UpdateNotesContentType ContentType { get; set; } = UpdateNotesContentType.PlainText;
|
||||
}
|
||||
public string Content { get; set; }
|
||||
[JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))]
|
||||
public UpdateNotesContentType ContentType { get; set; } = UpdateNotesContentType.PlainText;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user