-
-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
53 changed files
with
400 additions
and
433 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
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
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 |
---|---|---|
@@ -1,27 +1,27 @@ | ||
using Newtonsoft.Json; | ||
using System.Text.Json.Serialization; | ||
|
||
namespace ASFEnhance.Data; | ||
|
||
internal sealed record AccountHistoryResponse | ||
{ | ||
[JsonProperty(PropertyName = "html", Required = Required.Always)] | ||
[JsonPropertyName("html")] | ||
public string HtmlContent { get; set; } = ""; | ||
|
||
[JsonProperty(PropertyName = "cursor", Required = Required.DisallowNull)] | ||
[JsonPropertyName("cursor")] | ||
public CursorData Cursor { get; set; } = new(); | ||
|
||
internal sealed record CursorData | ||
{ | ||
[JsonProperty("wallet_txnid", Required = Required.Always)] | ||
[JsonPropertyName("wallet_txnid")] | ||
public string WalletTxnid { get; set; } = ""; | ||
|
||
[JsonProperty("timestamp_newest", Required = Required.Always)] | ||
[JsonPropertyName("timestamp_newest")] | ||
public long TimestampNewest { get; set; } | ||
|
||
[JsonProperty("balance", Required = Required.Always)] | ||
[JsonPropertyName("balance")] | ||
public string Balance { get; set; } = ""; | ||
|
||
[JsonProperty("currency", Required = Required.Always)] | ||
[JsonPropertyName("currency")] | ||
public int Currency { get; set; } | ||
} | ||
} |
Oops, something went wrong.