A game about forced loneliness, made by TACStudios
1using System.ComponentModel;
2using Unity.Plastic.Newtonsoft.Json;
3
4using PlasticGui.WebApi.Responses;
5
6namespace Unity.PlasticSCM.Editor.WebApi
7{
8 /// <summary>
9 /// Response to current user admin check request.
10 /// Internal usage. This isn't a public API.
11 /// </summary>
12 public class CurrentUserAdminCheckResponse
13 {
14 /// <summary>
15 /// Error caused by the request.
16 /// </summary>
17 [EditorBrowsable(EditorBrowsableState.Never)]
18 [JsonProperty("error")]
19 public ErrorResponse.ErrorFields Error { get; set; }
20
21 // Internal usage. This isn't a public API.
22 [EditorBrowsable(EditorBrowsableState.Never)]
23 [JsonProperty("isCurrentUserAdmin")]
24 public bool IsCurrentUserAdmin { get; set; }
25
26 // Internal usage. This isn't a public API.
27 [EditorBrowsable(EditorBrowsableState.Never)]
28 [JsonProperty("organizationName")]
29 public string OrganizationName { get; set; }
30 }
31}