// <auto-generated/>

#nullable disable

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

namespace OpenAI.Assistants
{
    public partial class AssistantModificationOptions
    {
        private protected IDictionary<string, BinaryData> _additionalBinaryDataProperties;

        public AssistantModificationOptions() : this(null, null, null, null, default, null, null, null, null, default, default, null)
        {
        }

        internal AssistantModificationOptions(string name, string description, string instructions, IDictionary<string, string> metadata, float? temperature, string model, IList<ToolDefinition> defaultTools, ToolResources toolResources, AssistantResponseFormat responseFormat, float? nucleusSamplingFactor, ChatReasoningEffortLevel? reasoningEffortLevel, IDictionary<string, BinaryData> additionalBinaryDataProperties)
        {
            // Plugin customization: ensure initialization of collections
            Name = name;
            Description = description;
            Instructions = instructions;
            Metadata = metadata ?? new ChangeTrackingDictionary<string, string>();
            Temperature = temperature;
            Model = model;
            DefaultTools = defaultTools ?? new ChangeTrackingList<ToolDefinition>();
            ToolResources = toolResources;
            ResponseFormat = responseFormat;
            NucleusSamplingFactor = nucleusSamplingFactor;
            ReasoningEffortLevel = reasoningEffortLevel;
            _additionalBinaryDataProperties = additionalBinaryDataProperties;
        }

        public string Name { get; set; }

        public string Description { get; set; }

        public string Instructions { get; set; }

        public IDictionary<string, string> Metadata { get; }

        public float? Temperature { get; set; }

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