mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-30 16:58:38 +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
|
public record AutoDiscoverResponse
|
||||||
{
|
{
|
||||||
[JsonProperty("version")]
|
[JsonProperty("version")]
|
||||||
public uint Version { get; set; }
|
public required uint Version { get; set; }
|
||||||
[JsonProperty("serverBrand")]
|
[JsonProperty("serverBrand")]
|
||||||
public string ServerBrand { get; set; }
|
public required string ServerBrand { get; set; }
|
||||||
[JsonProperty("serverDescription")]
|
[JsonProperty("serverDescription")]
|
||||||
public string ServerDescription { get; set; }
|
public required string ServerDescription { get; set; }
|
||||||
[JsonProperty("url")]
|
[JsonProperty("url")]
|
||||||
public string Url { get; set; }
|
public required string Url { get; set; }
|
||||||
[JsonProperty("bannerImageUrl")]
|
[JsonProperty("bannerImageUrl")]
|
||||||
public string? BannerImageUrl { get; set; }
|
public string? BannerImageUrl { get; set; }
|
||||||
[JsonProperty("usesCustomDigestKey")]
|
[JsonProperty("usesCustomDigestKey")]
|
||||||
public bool UsesCustomDigestKey { get; set; }
|
public required bool UsesCustomDigestKey { get; set; }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue