blob: 10c6eecfa03a1766b009e1a8947042ab4166d066 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
using System.Text.Json.Serialization;
namespace Spacebar.Models.AdminApi;
public class ForceJoinRequest {
[JsonPropertyName("user_id")]
public string? UserId { get; set; } = null!;
[JsonPropertyName("make_admin")]
public bool MakeAdmin { get; set; } = false;
[JsonPropertyName("make_owner")]
public bool MakeOwner { get; set; } = false;
}
|