Class CacheControl
- Namespace
- AnthropicClient.Models
- Assembly
- AnthropicClient.dll
Represents the cache control to be used for content.
public abstract class CacheControl
- Inheritance
-
CacheControl
- Derived
- Inherited Members
Constructors
CacheControl(string)
Initializes a new instance of the CacheControl class.
protected CacheControl(string type)
Parameters
type
stringThe type of the cache control.
Exceptions
- ArgumentException
Thrown when the type is null or whitespace.
Properties
Type
Gets the type of the cache control.
public string Type { get; init; }