-
Notifications
You must be signed in to change notification settings - Fork 166
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
2 changed files
with
95 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
using System.Collections.Generic; | ||
using System.Text.Json.Serialization; | ||
|
||
namespace Starward.Services.Download; | ||
|
||
|
||
internal class DiffMap | ||
{ | ||
|
||
[JsonPropertyName("diff_map")] | ||
public List<DiffMapItem> DiffMapItems { get; set; } | ||
|
||
} | ||
|
||
|
||
internal class DiffMapItem | ||
{ | ||
|
||
[JsonPropertyName("source_file_name")] | ||
public string SourceFileName { get; set; } | ||
|
||
[JsonPropertyName("source_file_md5")] | ||
public string SourceFileMd5 { get; set; } | ||
|
||
[JsonPropertyName("source_file_size")] | ||
public long SourceFileSize { get; set; } | ||
|
||
[JsonPropertyName("target_file_name")] | ||
public string TargetFileName { get; set; } | ||
|
||
[JsonPropertyName("target_file_md5")] | ||
public string TargetFileMd5 { get; set; } | ||
|
||
[JsonPropertyName("target_file_size")] | ||
public long TargetFileSize { get; set; } | ||
|
||
[JsonPropertyName("patch_file_name")] | ||
public string PatchFileName { get; set; } | ||
|
||
[JsonPropertyName("patch_file_md5")] | ||
public string PatchFileMd5 { get; set; } | ||
|
||
[JsonPropertyName("patch_file_size")] | ||
public long PatchFileSize { 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