Getting ready to seed more data
This commit is contained in:
@@ -1,18 +1,24 @@
|
||||
using MessagePack;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace SVSim.EmulatedEntrypoint.Models.Dtos.Internal;
|
||||
|
||||
[MessagePackObject]
|
||||
public class DataHeaders
|
||||
{
|
||||
[JsonPropertyName("short_udid")]
|
||||
[Key("short_udid")]
|
||||
public long ShortUdid { get; set; }
|
||||
[JsonPropertyName("viewer_id")]
|
||||
[Key("viewer_id")]
|
||||
public long ViewerId { get; set; }
|
||||
[JsonPropertyName("sid")]
|
||||
[Key("sid")]
|
||||
public string Sid { get; set; }
|
||||
[JsonPropertyName("servertime")]
|
||||
[Key("servertime")]
|
||||
public long Servertime { get; set; }
|
||||
[JsonPropertyName("result_code")]
|
||||
[Key("result_code")]
|
||||
public int ResultCode { get; set; }
|
||||
}
|
||||
@@ -1,4 +1,5 @@
|
||||
using MessagePack;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace SVSim.EmulatedEntrypoint.Models.Dtos.Internal;
|
||||
|
||||
@@ -11,12 +12,14 @@ public class DataWrapper
|
||||
/// <summary>
|
||||
/// Additional data about the request, response and user.
|
||||
/// </summary>
|
||||
[JsonPropertyName("data_headers")]
|
||||
[Key("data_headers")]
|
||||
public DataHeaders DataHeaders { get; set; } = new DataHeaders();
|
||||
|
||||
/// <summary>
|
||||
/// The response data from the endpoint.
|
||||
/// </summary>
|
||||
[JsonPropertyName("data")]
|
||||
[Key("data")]
|
||||
public object Data { get; set; } = new();
|
||||
}
|
||||
Reference in New Issue
Block a user