暫無描述
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.

CurrentUserAdminCheckResponse.cs 673B

1234567891011121314151617181920212223242526
  1. using System.Reflection;
  2. using Unity.Plastic.Newtonsoft.Json;
  3. using PlasticGui.WebApi.Responses;
  4. namespace Unity.PlasticSCM.Editor.WebApi
  5. {
  6. /// <summary>
  7. /// Response to current user admin check request.
  8. /// </summary>
  9. public class CurrentUserAdminCheckResponse
  10. {
  11. /// <summary>
  12. /// Error caused by the request.
  13. /// </summary>
  14. [JsonProperty("error")]
  15. public ErrorResponse.ErrorFields Error { get; set; }
  16. [JsonProperty("isCurrentUserAdmin")]
  17. public bool IsCurrentUserAdmin { get; set; }
  18. [JsonProperty("organizationName")]
  19. public string OrganizationName { get; set; }
  20. }
  21. }