sharp-chat/SharpChat.DataProvider.Misuzu/Users/MisuzuUserAuthResponse.cs

16 lines
492 B
C#

using SharpChat.Users.Remote;
using System;
using System.Text.Json.Serialization;
namespace SharpChat.DataProvider.Misuzu.Users {
public class MisuzuUserAuthResponse : MisuzuUser, IUserAuthResponse {
[JsonPropertyName(@"success")]
public bool Success { get; set; }
[JsonPropertyName(@"reason")]
public string Reason { get; set; } = @"none";
[JsonPropertyName(@"is_silenced")]
public DateTimeOffset SilencedUntil { get; set; }
}
}