diff --git a/src/AnthropicClient/Models/MessageBatchResponse.cs b/src/AnthropicClient/Models/MessageBatchResponse.cs index b3c0a0e..925e713 100644 --- a/src/AnthropicClient/Models/MessageBatchResponse.cs +++ b/src/AnthropicClient/Models/MessageBatchResponse.cs @@ -33,7 +33,7 @@ public class MessageBatchResponse /// Gets the date and time when the batch ended. /// [JsonPropertyName("ended_at")] - public DateTimeOffset EndedAt { get; init; } + public DateTimeOffset? EndedAt { get; init; } /// /// Gets the date and time when the batch was created. @@ -51,19 +51,19 @@ public class MessageBatchResponse /// Gets the date and time when the batch was archived. /// [JsonPropertyName("archived_at")] - public DateTimeOffset ArchivedAt { get; init; } + public DateTimeOffset? ArchivedAt { get; init; } /// /// Gets the date and time when the batch cancellation was initiated. /// [JsonPropertyName("cancel_initiated_at")] - public DateTimeOffset CancelInitiatedAt { get; init; } + public DateTimeOffset? CancelInitiatedAt { get; init; } /// /// Gets the URL to the results of the batch. /// [JsonPropertyName("results_url")] - public string ResultsUrl { get; init; } = string.Empty; + public string? ResultsUrl { get; init; } = string.Empty; } ///