Class LiveServerSetupComplete
Sent in response to a LiveGenerateContentSetup message from the client.
public record LiveServerSetupComplete : IEquatable<LiveServerSetupComplete>
- Inheritance
-
LiveServerSetupComplete
- Implements
- Inherited Members
Properties
SessionId
The session id of the live session.
[JsonPropertyName("sessionId")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? SessionId { get; set; }
Property Value
Methods
FromJson(string, JsonSerializerOptions?)
Deserializes a JSON string to a LiveServerSetupComplete object.
public static LiveServerSetupComplete? FromJson(string jsonString, JsonSerializerOptions? options = null)
Parameters
jsonStringstringThe JSON string to deserialize.
optionsJsonSerializerOptionsOptional JsonSerializerOptions.
Returns
- LiveServerSetupComplete
The deserialized LiveServerSetupComplete object, or null if deserialization fails.