mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-02 04:22:04 -04:00
Forgot to add original property names to model
This commit is contained in:
@@ -1,24 +1,41 @@
|
|||||||
namespace KfChatDotNetBot.Models;
|
using System.Text.Json.Serialization;
|
||||||
|
|
||||||
|
namespace KfChatDotNetBot.Models;
|
||||||
|
|
||||||
public class BetBoltBetPayloadModel
|
public class BetBoltBetPayloadModel
|
||||||
{
|
{
|
||||||
// I've always seen this sent but never know if it'll be null for privacy at some point
|
// I've always seen this sent but never know if it'll be null for privacy at some point
|
||||||
|
[JsonPropertyName("username")]
|
||||||
public string? Username { get; set; }
|
public string? Username { get; set; }
|
||||||
|
[JsonPropertyName("game_code")]
|
||||||
public string? GameCode { get; set; }
|
public string? GameCode { get; set; }
|
||||||
|
[JsonPropertyName("game_name")]
|
||||||
public required string GameName { get; set; }
|
public required string GameName { get; set; }
|
||||||
|
[JsonPropertyName("rank")]
|
||||||
public string? Rank { get; set; }
|
public string? Rank { get; set; }
|
||||||
|
[JsonPropertyName("time")]
|
||||||
public required DateTimeOffset Time { get; set; }
|
public required DateTimeOffset Time { get; set; }
|
||||||
|
[JsonPropertyName("crypto_code")]
|
||||||
public required string CryptoCode { get; set; }
|
public required string CryptoCode { get; set; }
|
||||||
|
[JsonPropertyName("bet_amount_fiat")]
|
||||||
public required string BetAmountFiat { get; set; }
|
public required string BetAmountFiat { get; set; }
|
||||||
|
[JsonPropertyName("bet_amount_crypto")]
|
||||||
public required string BetAmountCrypto { get; set; }
|
public required string BetAmountCrypto { get; set; }
|
||||||
|
[JsonPropertyName("win_amount_fiat")]
|
||||||
// Negatives for losses
|
// Negatives for losses
|
||||||
public required string WinAmountFiat { get; set; }
|
public required string WinAmountFiat { get; set; }
|
||||||
|
[JsonPropertyName("win_amount_crypto")]
|
||||||
public required string WinAmountCrypto { get; set; }
|
public required string WinAmountCrypto { get; set; }
|
||||||
|
[JsonPropertyName("multiplier")]
|
||||||
// null on losses
|
// null on losses
|
||||||
public string? Multiplier { get; set; }
|
public string? Multiplier { get; set; }
|
||||||
|
[JsonPropertyName("category_icon")]
|
||||||
public string? CategoryIcon { get; set; }
|
public string? CategoryIcon { get; set; }
|
||||||
|
[JsonPropertyName("types")]
|
||||||
public List<string>? Types { get; set; }
|
public List<string>? Types { get; set; }
|
||||||
|
[JsonPropertyName("type")]
|
||||||
public string? Type { get; set; }
|
public string? Type { get; set; }
|
||||||
|
[JsonPropertyName("topic")]
|
||||||
public required string Topic { get; set; }
|
public required string Topic { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user