-
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new field to ApplicationTeamMember: role
- Loading branch information
1 parent
27672f3
commit f1b0918
Showing
4 changed files
with
43 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
using System.Runtime.Serialization; | ||
using Disqord.Serialization.Json; | ||
|
||
namespace Disqord; | ||
|
||
/// <summary> | ||
/// Represents the role of team member in an application team. | ||
/// </summary> | ||
[StringEnum] | ||
public enum TeamMemberRole | ||
{ | ||
/// <summary> | ||
/// Represents a team administrator. | ||
/// </summary> | ||
[EnumMember(Value = "admin")] | ||
Administrator, | ||
|
||
/// <summary> | ||
/// Represents a team developer. | ||
/// </summary> | ||
[EnumMember(Value = "developer")] | ||
Developer, | ||
|
||
/// <summary> | ||
/// Represents a read-only team member. | ||
/// </summary> | ||
[EnumMember(Value = "read_only")] | ||
ReadOnly | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters