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

17 lines
492 B
C#
Raw Permalink Normal View History

2022-08-30 15:05:29 +00:00
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; }
}
}