mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-29 08:28:39 +00:00
Make record fields required
This commit is contained in:
parent
91e10d2dab
commit
92f9113768
1 changed files with 5 additions and 5 deletions
|
@ -5,15 +5,15 @@ namespace LBPUnion.ProjectLighthouse.Servers.Website.Types;
|
|||
public record AutoDiscoverResponse
|
||||
{
|
||||
[JsonProperty("version")]
|
||||
public uint Version { get; set; }
|
||||
public required uint Version { get; set; }
|
||||
[JsonProperty("serverBrand")]
|
||||
public string ServerBrand { get; set; }
|
||||
public required string ServerBrand { get; set; }
|
||||
[JsonProperty("serverDescription")]
|
||||
public string ServerDescription { get; set; }
|
||||
public required string ServerDescription { get; set; }
|
||||
[JsonProperty("url")]
|
||||
public string Url { get; set; }
|
||||
public required string Url { get; set; }
|
||||
[JsonProperty("bannerImageUrl")]
|
||||
public string? BannerImageUrl { get; set; }
|
||||
[JsonProperty("usesCustomDigestKey")]
|
||||
public bool UsesCustomDigestKey { get; set; }
|
||||
public required bool UsesCustomDigestKey { get; set; }
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue