// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;
using OpenAI;

namespace OpenAI.Files
{
    internal partial class InternalAddUploadPartRequest
    {
        private protected IDictionary<string, BinaryData> _additionalBinaryDataProperties;

        public InternalAddUploadPartRequest(BinaryData data)
        {
            Argument.AssertNotNull(data, nameof(data));

            Data = data;
        }

        internal InternalAddUploadPartRequest(BinaryData data, IDictionary<string, BinaryData> additionalBinaryDataProperties)
        {
            Data = data;
            _additionalBinaryDataProperties = additionalBinaryDataProperties;
        }

        public BinaryData Data { get; }

        internal IDictionary<string, BinaryData> SerializedAdditionalRawData
        {
            get => _additionalBinaryDataProperties;
            set => _additionalBinaryDataProperties = value;
        }
    }
}
