mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-05-28 17:05:57 +00:00
da0c7a5785
* Fixup TeamContext helper name * Implement overload for GetAllMembers to take request parameter * Update tests * Implement Obersvable client changes * Observable tests * Implement AddOrEditMembership function returning a new response model, and obsolete the old AddMembership function returning an enum * Implement GetMembershipDetails function returning new TeamMembershipDetails response model, and obsolete the old GetMembership function returning an enum * Clarify that an exception is thrown when not a member * Add integration tests for AddOrEditMembership and GetMembershipDetails * fixup exception test for observable client * Update wording of obsolete message
24 lines
469 B
C#
24 lines
469 B
C#
using System;
|
|
using Octokit.Internal;
|
|
|
|
namespace Octokit
|
|
{
|
|
/// <summary>
|
|
/// States of a Team/Organization Membership
|
|
/// </summary>
|
|
public enum MembershipState
|
|
{
|
|
/// <summary>
|
|
/// The membership is pending
|
|
/// </summary>
|
|
[Parameter(Value = "pending")]
|
|
Pending,
|
|
|
|
/// <summary>
|
|
/// The membership is active
|
|
/// </summary>
|
|
[Parameter(Value = "active")]
|
|
Active
|
|
}
|
|
}
|