From 8673cb236f427ba6af6382e3b5702a134f1afe2e Mon Sep 17 00:00:00 2001 From: Rory& Date: Tue, 18 Feb 2025 07:40:41 +0100 Subject: MxcUri class, other various work --- .../AppServices/AppServiceConfiguration.cs | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'Utilities/LibMatrix.Utilities.Bot/AppServices') diff --git a/Utilities/LibMatrix.Utilities.Bot/AppServices/AppServiceConfiguration.cs b/Utilities/LibMatrix.Utilities.Bot/AppServices/AppServiceConfiguration.cs index 2cfcf32..6dc76f6 100644 --- a/Utilities/LibMatrix.Utilities.Bot/AppServices/AppServiceConfiguration.cs +++ b/Utilities/LibMatrix.Utilities.Bot/AppServices/AppServiceConfiguration.cs @@ -4,28 +4,28 @@ namespace LibMatrix.Utilities.Bot.AppServices; public class AppServiceConfiguration { [JsonPropertyName("id")] - public string Id { get; set; } = null!; + public string Id { get; set; } [JsonPropertyName("url")] - public string? Url { get; set; } = null!; + public string? Url { get; set; } [JsonPropertyName("sender_localpart")] - public string SenderLocalpart { get; set; } = null!; + public string SenderLocalpart { get; set; } [JsonPropertyName("as_token")] - public string AppserviceToken { get; set; } = null!; + public string AppserviceToken { get; set; } [JsonPropertyName("hs_token")] - public string HomeserverToken { get; set; } = null!; + public string HomeserverToken { get; set; } [JsonPropertyName("protocols")] - public List? Protocols { get; set; } = null!; + public List? Protocols { get; set; } [JsonPropertyName("rate_limited")] - public bool? RateLimited { get; set; } = null!; + public bool? RateLimited { get; set; } [JsonPropertyName("namespaces")] - public AppserviceNamespaces Namespaces { get; set; } = null!; + public AppserviceNamespaces Namespaces { get; set; } public class AppserviceNamespaces { [JsonPropertyName("users")] @@ -42,7 +42,7 @@ public class AppServiceConfiguration { public bool Exclusive { get; set; } [JsonPropertyName("regex")] - public string Regex { get; set; } = null!; + public string Regex { get; set; } } } -- cgit 1.5.1