sharp-chat/SharpChat.DataProvider.Misuzu/Users/MisuzuUserAuthResponse.cs
2022-08-30 17:05:29 +02:00

17 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; }
}
}