diff --git a/src/AnthropicClient/Models/CreateFileRequest.cs b/src/AnthropicClient/Models/CreateFileRequest.cs
index 1d0fcf9..535c9a3 100644
--- a/src/AnthropicClient/Models/CreateFileRequest.cs
+++ b/src/AnthropicClient/Models/CreateFileRequest.cs
@@ -10,17 +10,17 @@ public class CreateFileRequest
///
/// The file content as a byte array.
///
- public byte[] File { get; }
+ public byte[] File { get; init; }
///
/// The original filename of the file being uploaded.
///
- public string FileName { get; }
+ public string FileName { get; init; }
///
/// The MIME type of the file.
///
- public string FileType { get; }
+ public string FileType { get; init; }
///
/// Initializes a new instance of the class.
@@ -28,7 +28,8 @@ public class CreateFileRequest
/// The file content as a byte array.
/// The original filename of the file being uploaded.
/// The MIME type of the file.
- /// Thrown when , , or is null.
+ /// Thrown when is null.
+ /// Thrown when or is null or whitespace.
public CreateFileRequest(byte[] file, string fileName, string fileType)
{
ArgumentValidator.ThrowIfNull(file, nameof(file));
@@ -46,7 +47,8 @@ public class CreateFileRequest
/// The stream containing the file content.
/// The original filename of the file being uploaded.
/// The MIME type of the file.
- /// Thrown when , , or is null.
+ /// Thrown when is null.
+ /// Thrown when or is null or whitespace.
public CreateFileRequest(Stream stream, string fileName, string fileType)
{
ArgumentValidator.ThrowIfNull(stream, nameof(stream));