study/first_study/Library/PackageCache/com.unity.collab-proxy@1ec4e416a4af/Editor/WebApi/CurrentUserAdminCheckResponse.cs
jh04010421 739d49f1a0 Unity | 2026.01.20
수업 실습 파일
2026-01-20 11:01:57 +09:00

32 lines
991 B
C#

using System.ComponentModel;
using Unity.Plastic.Newtonsoft.Json;
using PlasticGui.WebApi.Responses;
namespace Unity.PlasticSCM.Editor.WebApi
{
/// <summary>
/// Response to current user admin check request.
/// Internal usage. This isn't a public API.
/// </summary>
public class CurrentUserAdminCheckResponse
{
/// <summary>
/// Error caused by the request.
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
[JsonProperty("error")]
public ErrorResponse.ErrorFields Error { get; set; }
// Internal usage. This isn't a public API.
[EditorBrowsable(EditorBrowsableState.Never)]
[JsonProperty("isCurrentUserAdmin")]
public bool IsCurrentUserAdmin { get; set; }
// Internal usage. This isn't a public API.
[EditorBrowsable(EditorBrowsableState.Never)]
[JsonProperty("organizationName")]
public string OrganizationName { get; set; }
}
}