using System.Text.Json.Serialization; namespace AnthropicClient.Models; /// /// Represents part of the content of a message. /// public abstract class Content { /// /// Gets the type of the content. /// public string Type { get; init; } = string.Empty; [JsonConstructor] internal Content() { } /// /// Initializes a new instance of the class. /// /// The type of the content. /// A new instance of the class. protected Content(string type) { Type = type; } }