mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-26 07:38:33 -06:00
passing canvas models tests
This commit is contained in:
53
Management/Models/CanvasModels/Users/PageViewModel.cs
Normal file
53
Management/Models/CanvasModels/Users/PageViewModel.cs
Normal file
@@ -0,0 +1,53 @@
|
||||
namespace CanvasModel.Users;
|
||||
|
||||
public record PageViewModel
|
||||
(
|
||||
[property: JsonPropertyName("id")]
|
||||
string Id,
|
||||
|
||||
[property: JsonPropertyName("app_name")]
|
||||
string AppName,
|
||||
|
||||
[property: JsonPropertyName("url")]
|
||||
string Url,
|
||||
|
||||
[property: JsonPropertyName("context_type")]
|
||||
string ContextType,
|
||||
|
||||
[property: JsonPropertyName("asset_type")]
|
||||
string AssetType,
|
||||
|
||||
[property: JsonPropertyName("controller")]
|
||||
string Controller,
|
||||
|
||||
[property: JsonPropertyName("action")]
|
||||
string Action,
|
||||
|
||||
[property: JsonPropertyName("created_at")]
|
||||
DateTime CreatedAt,
|
||||
|
||||
[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,
|
||||
|
||||
[property: JsonPropertyName("user_request")]
|
||||
bool? UserRequest = null,
|
||||
|
||||
[property: JsonPropertyName("render_time")]
|
||||
double? RenderTime = null,
|
||||
|
||||
|
||||
[property: JsonPropertyName("participated")]
|
||||
bool? Participated = null
|
||||
);
|
||||
Reference in New Issue
Block a user