Enable explicit nullable definition for Core
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,6 +15,6 @@
|
||||
/// The message.
|
||||
/// </summary>
|
||||
[JsonProperty("message")]
|
||||
public string Message { get; set; }
|
||||
public string? Message { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user