diff --git a/src/AnthropicClient/Models/CacheControl.cs b/src/AnthropicClient/Models/CacheControl.cs index d29dafb..b39e487 100644 --- a/src/AnthropicClient/Models/CacheControl.cs +++ b/src/AnthropicClient/Models/CacheControl.cs @@ -5,7 +5,7 @@ namespace AnthropicClient.Models; /// /// Represents the cache control to be used for content. /// -public class CacheControl +public abstract class CacheControl { /// /// Gets the type of the cache control. @@ -18,7 +18,7 @@ public class CacheControl /// The type of the cache control. /// A new instance of the class. /// Thrown when the type is null or whitespace. - public CacheControl(string type) + protected CacheControl(string type) { ArgumentValidator.ThrowIfNullOrWhitespace(type, nameof(type));