You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
673 B
26 lines
673 B
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; } |
|
} |
|
}
|
|
|