// <auto-generated/>

#nullable disable

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

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

        public ConversationResponseOptions()
        {
            Tools = new ChangeTrackingList<ConversationTool>();
            Metadata = new ChangeTrackingDictionary<string, string>();
            OverrideItems = new ChangeTrackingList<ConversationItem>();
            _internalModalities = new ChangeTrackingList<InternalRealtimeRequestSessionModality>();
        }

        internal ConversationResponseOptions(string instructions, ConversationVoice? voice, ConversationAudioFormat? outputAudioFormat, IList<ConversationTool> tools, float? temperature, IDictionary<string, string> metadata, ResponseConversationSelection? conversationSelection, RealtimeConversation.ConversationMaxTokensChoice maxOutputTokens, IList<ConversationItem> overrideItems, IList<InternalRealtimeRequestSessionModality> internalModalities, BinaryData internalToolChoice, IDictionary<string, BinaryData> additionalBinaryDataProperties)
        {
            Instructions = instructions;
            Voice = voice;
            OutputAudioFormat = outputAudioFormat;
            Tools = tools;
            Temperature = temperature;
            Metadata = metadata;
            ConversationSelection = conversationSelection;
            MaxOutputTokens = maxOutputTokens;
            OverrideItems = overrideItems;
            _internalModalities = internalModalities;
            _internalToolChoice = internalToolChoice;
            _additionalBinaryDataProperties = additionalBinaryDataProperties;
        }

        public string Instructions { get; set; }

        public ConversationVoice? Voice { get; set; }

        public ConversationAudioFormat? OutputAudioFormat { get; set; }

        public IList<ConversationTool> Tools { get; }

        public float? Temperature { get; set; }

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

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