using System.Text.Json.Serialization; namespace AnthropicClient.Models; /// /// Represents a chat response. /// public class ChatResponse { /// /// Gets the ID of the chat response. /// public string Id { get; init; } = string.Empty; /// /// Gets the model used for the chat response. /// public string Model { get; init; } = string.Empty; /// /// Gets the role of the chat response. /// public string Role { get; init; } = string.Empty; /// /// Gets the stop reason of the chat response. /// [JsonPropertyName("stop_reason")] public string StopReason { get; init; } = string.Empty; /// /// Gets the stop sequence of the chat response. /// [JsonPropertyName("stop_sequence")] public string StopSequence { get; init; } = string.Empty; /// /// Gets the type of the chat response. /// public string Type { get; init; } = string.Empty; /// /// Gets the usage of the chat response. /// public ChatUsage Usage { get; init; } = new(); /// /// Gets the contents of the chat response. /// public List Content { get; init; } = []; }