-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #160 from pulcher/add_subscription_tier
Add subscription tier
- Loading branch information
Showing
4 changed files
with
80 additions
and
24 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
using System.Text.Json.Serialization; | ||
|
||
namespace MrBigHead.Shared | ||
{ | ||
public class TwitchSubscriptionInformation | ||
{ | ||
[JsonPropertyName("broadcaster_id ")] | ||
public string BroadcasterId { get; set; } | ||
[JsonPropertyName("broadcaster_login")] | ||
public string BroadcasterLogin { get; set; } | ||
[JsonPropertyName("broadcaster_name")] | ||
public string BroadcasterName { get; set; } | ||
[JsonPropertyName("gifter_id")] | ||
public string GifterId { get; set; } | ||
[JsonPropertyName("gifter_login")] | ||
public string GifterLogin { get; set; } | ||
[JsonPropertyName("gifter_name")] | ||
public string GifterName { get; set; } | ||
[JsonPropertyName("is_gift")] | ||
public bool IsGift { get; set; } | ||
[JsonPropertyName("tier")] | ||
public string Tier { get; set; } | ||
} | ||
} |
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