Enable explicit nullable definition for Core

This commit is contained in:
2024-10-31 13:01:54 +01:00
parent 25c8e9b5b0
commit eadd35ac09
9 changed files with 27 additions and 26 deletions

View File

@@ -11,7 +11,7 @@ namespace AMWD.Net.Api.Cloudflare
/// Information about the result of the request.
/// </summary>
[JsonProperty("result_info")]
public PaginationInfo ResultInfo { get; set; }
public PaginationInfo? ResultInfo { get; set; }
/// <summary>
/// Whether the API call was successful.
@@ -42,6 +42,6 @@ namespace AMWD.Net.Api.Cloudflare
/// The result of the API call.
/// </summary>
[JsonProperty("result")]
public T Result { get; set; }
public T? Result { get; set; }
}
}

View File

@@ -15,6 +15,6 @@
/// The message.
/// </summary>
[JsonProperty("message")]
public string Message { get; set; }
public string? Message { get; set; }
}
}