Init
This commit is contained in:
13
src/Band/Models/Comments/Root.cs
Normal file
13
src/Band/Models/Comments/Root.cs
Normal file
@ -0,0 +1,13 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Band.Models.Comments;
|
||||
|
||||
public record Root(
|
||||
[property: JsonPropertyName("result_code")] int ResultCode,
|
||||
[property: JsonPropertyName("result_data")] ResultData ResultData
|
||||
);
|
||||
|
||||
[JsonSourceGenerationOptions(WriteIndented = true)]
|
||||
[JsonSerializable(typeof(Root))]
|
||||
public partial class CommentsRootSourceGenerationContext : JsonSerializerContext {
|
||||
}
|
||||
Reference in New Issue
Block a user