Firstborn/Library/PackageCache/com.unity.collab-proxy@1.17.7/Editor/PlasticSCM/WebApi/CurrentUserAdminCheckRespon...
Schaken-Mods b486678290 Library -Artifacts
Library -Artifacts
2023-03-28 12:24:16 -05:00

27 lines
673 B
C#

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