// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

namespace OpenAI.Files
{
    internal partial class InternalCreateUploadRequest
    {
        internal IDictionary<string, BinaryData> SerializedAdditionalRawData { get; set; }
        public InternalCreateUploadRequest(string filename, InternalCreateUploadRequestPurpose purpose, int bytes, string mimeType)
        {
            Argument.AssertNotNull(filename, nameof(filename));
            Argument.AssertNotNull(mimeType, nameof(mimeType));

            Filename = filename;
            Purpose = purpose;
            Bytes = bytes;
            MimeType = mimeType;
        }

        internal InternalCreateUploadRequest(string filename, InternalCreateUploadRequestPurpose purpose, int bytes, string mimeType, IDictionary<string, BinaryData> serializedAdditionalRawData)
        {
            Filename = filename;
            Purpose = purpose;
            Bytes = bytes;
            MimeType = mimeType;
            SerializedAdditionalRawData = serializedAdditionalRawData;
        }

        internal InternalCreateUploadRequest()
        {
        }

        public string Filename { get; }
        public InternalCreateUploadRequestPurpose Purpose { get; }
        public int Bytes { get; }
        public string MimeType { get; }
    }
}
