mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-04-28 21:39:46 +00:00
Improved JSON naming
This commit is contained in:
parent
2c48ef950c
commit
54c2cd3740
@ -1,5 +1,3 @@
|
|||||||
using System.Text.Json.Serialization;
|
|
||||||
|
|
||||||
namespace AIStudio.Tools.Rust;
|
namespace AIStudio.Tools.Rust;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -9,8 +7,8 @@ namespace AIStudio.Tools.Rust;
|
|||||||
/// <param name="NewVersion">The new version, when available.</param>
|
/// <param name="NewVersion">The new version, when available.</param>
|
||||||
/// <param name="Changelog">The changelog of the new version, when available.</param>
|
/// <param name="Changelog">The changelog of the new version, when available.</param>
|
||||||
public readonly record struct UpdateResponse(
|
public readonly record struct UpdateResponse(
|
||||||
[property:JsonPropertyName("update_is_available")] bool UpdateIsAvailable,
|
bool UpdateIsAvailable,
|
||||||
[property:JsonPropertyName("error")] bool Error,
|
bool Error,
|
||||||
[property:JsonPropertyName("new_version")] string NewVersion,
|
string NewVersion,
|
||||||
string Changelog
|
string Changelog
|
||||||
);
|
);
|
Loading…
Reference in New Issue
Block a user