fixed warnings

This commit is contained in:
2023-01-04 21:43:18 -07:00
parent c350a8487e
commit 8fec96ce5c
6 changed files with 22 additions and 24 deletions

View File

@@ -2,7 +2,6 @@ namespace CanvasModel.Users;
public record PageViewModel
(
[property: JsonPropertyName("id")]
string Id,
@@ -30,6 +29,15 @@ public record PageViewModel
[property: JsonPropertyName("links")]
PageViewLinksModel Links,
[property: JsonPropertyName("user_agent")]
string UserAgent,
[property: JsonPropertyName("http_method")]
string HttpMethod,
[property: JsonPropertyName("remote_ip")]
string RemoteIp,
[property: JsonPropertyName("interaction_seconds")]
decimal? InteractionSeconds = null,
@@ -39,15 +47,7 @@ public record PageViewModel
[property: JsonPropertyName("render_time")]
double? RenderTime = null,
[property: JsonPropertyName("user_agent")]
string UserAgent = null,
[property: JsonPropertyName("participated")]
bool? Participated = null,
[property: JsonPropertyName("http_method")]
string HttpMethod = null,
[property: JsonPropertyName("remote_ip")]
string RemoteIp = null
bool? Participated = null
);