Class ReplayFile
Represents a recorded session.
public record ReplayFile : IEquatable<ReplayFile>
- Inheritance
-
ReplayFile
- Implements
- Inherited Members
Properties
Interactions
[JsonPropertyName("interactions")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public List<ReplayInteraction>? Interactions { get; set; }
Property Value
ReplayId
[JsonPropertyName("replayId")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? ReplayId { get; set; }
Property Value
Methods
FromJson(string, JsonSerializerOptions?)
Deserializes a JSON string to a ReplayFile object.
public static ReplayFile? FromJson(string jsonString, JsonSerializerOptions? options = null)
Parameters
jsonStringstringThe JSON string to deserialize.
optionsJsonSerializerOptionsOptional JsonSerializerOptions.
Returns
- ReplayFile
The deserialized ReplayFile object, or null if deserialization fails.