mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-05-27 16:42:03 +00:00
13d5dab516
Port to .NET Core
30 lines
694 B
C#
30 lines
694 B
C#
using System.Diagnostics;
|
|
using System.Globalization;
|
|
|
|
namespace Octokit
|
|
{
|
|
/// <summary>
|
|
/// Used to update a invitation.
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// </remarks>
|
|
[DebuggerDisplay("{DebuggerDisplay,nq}")]
|
|
public class InvitationUpdate
|
|
{
|
|
public InvitationUpdate(InvitationPermissionType permission)
|
|
{
|
|
Permissions = permission;
|
|
}
|
|
|
|
public InvitationPermissionType Permissions { get; private set; }
|
|
|
|
internal string DebuggerDisplay
|
|
{
|
|
get
|
|
{
|
|
return string.Format(CultureInfo.InvariantCulture, "Permission: {0}", Permissions);
|
|
}
|
|
}
|
|
}
|
|
}
|