// <auto-generated/>

#nullable disable

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

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

        public InternalTodoFineTuneChatRequestInput()
        {
            Messages = new ChangeTrackingList<BinaryData>();
            Tools = new ChangeTrackingList<ChatTool>();
            Functions = new ChangeTrackingList<ChatFunction>();
        }

        internal InternalTodoFineTuneChatRequestInput(IList<BinaryData> messages, IList<ChatTool> tools, bool? parallelToolCalls, IList<ChatFunction> functions, IDictionary<string, BinaryData> additionalBinaryDataProperties)
        {
            Messages = messages;
            Tools = tools;
            ParallelToolCalls = parallelToolCalls;
            Functions = functions;
            _additionalBinaryDataProperties = additionalBinaryDataProperties;
        }

        public IList<BinaryData> Messages { get; }

        public IList<ChatTool> Tools { get; }

        public bool? ParallelToolCalls { get; set; }

        public IList<ChatFunction> Functions { get; }

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