// <auto-generated/>

#nullable disable

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

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

        internal InternalCreateChatCompletionStreamResponseChoiceLogprobs()
        {
            Content = new ChangeTrackingList<ChatTokenLogProbabilityDetails>();
            Refusal = new ChangeTrackingList<ChatTokenLogProbabilityDetails>();
        }

        internal InternalCreateChatCompletionStreamResponseChoiceLogprobs(IReadOnlyList<ChatTokenLogProbabilityDetails> content, IReadOnlyList<ChatTokenLogProbabilityDetails> refusal, IDictionary<string, BinaryData> additionalBinaryDataProperties)
        {
            Content = content;
            Refusal = refusal;
            _additionalBinaryDataProperties = additionalBinaryDataProperties;
        }

        public IReadOnlyList<ChatTokenLogProbabilityDetails> Content { get; }

        public IReadOnlyList<ChatTokenLogProbabilityDetails> Refusal { get; }

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