using System.Reflection; using Unity.Plastic.Newtonsoft.Json; using PlasticGui.WebApi.Responses; namespace Unity.PlasticSCM.Editor.WebApi { /// /// Response to current user admin check request. /// public class CurrentUserAdminCheckResponse { /// /// Error caused by the request. /// [JsonProperty("error")] public ErrorResponse.ErrorFields Error { get; set; } [JsonProperty("isCurrentUserAdmin")] public bool IsCurrentUserAdmin { get; set; } [JsonProperty("organizationName")] public string OrganizationName { get; set; } } }