Class CustomOutput
Spec for custom output. This data type is not supported in Gemini API.
public record CustomOutput : IEquatable<CustomOutput>
- Inheritance
-
CustomOutput
- Implements
- Inherited Members
Properties
RawOutputs
Output only. List of raw output strings.
[JsonPropertyName("rawOutputs")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public RawOutput? RawOutputs { get; set; }
Property Value
Methods
FromJson(string, JsonSerializerOptions?)
Deserializes a JSON string to a CustomOutput object.
public static CustomOutput? FromJson(string jsonString, JsonSerializerOptions? options = null)
Parameters
jsonStringstringThe JSON string to deserialize.
optionsJsonSerializerOptionsOptional JsonSerializerOptions.
Returns
- CustomOutput
The deserialized CustomOutput object, or null if deserialization fails.