Class InlinedEmbedContentResponse
Config for inlined_embedding_responses parameter.
public record InlinedEmbedContentResponse : IEquatable<InlinedEmbedContentResponse>
- Inheritance
-
InlinedEmbedContentResponse
- Implements
- Inherited Members
Properties
Error
Output only. The error encountered while processing the request.
[JsonPropertyName("error")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public JobError? Error { get; set; }
Property Value
Metadata
Output only. The metadata associated with the request.
[JsonPropertyName("metadata")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public Dictionary<string, object>? Metadata { get; set; }
Property Value
Response
Output only. The response to the request.
[JsonPropertyName("response")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public SingleEmbedContentResponse? Response { get; set; }
Property Value
Methods
FromJson(string, JsonSerializerOptions?)
Deserializes a JSON string to a InlinedEmbedContentResponse object.
public static InlinedEmbedContentResponse? FromJson(string jsonString, JsonSerializerOptions? options = null)
Parameters
jsonStringstringThe JSON string to deserialize.
optionsJsonSerializerOptionsOptional JsonSerializerOptions.
Returns
- InlinedEmbedContentResponse
The deserialized InlinedEmbedContentResponse object, or null if deserialization fails.