// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

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

        internal InternalRealtimeSessionCreateResponseTurnDetection()
        {
        }

        internal InternalRealtimeSessionCreateResponseTurnDetection(string kind, float? threshold, int? prefixPaddingMs, int? silenceDurationMs, IDictionary<string, BinaryData> additionalBinaryDataProperties)
        {
            Kind = kind;
            Threshold = threshold;
            PrefixPaddingMs = prefixPaddingMs;
            SilenceDurationMs = silenceDurationMs;
            _additionalBinaryDataProperties = additionalBinaryDataProperties;
        }

        public string Kind { get; }

        public float? Threshold { get; }

        public int? PrefixPaddingMs { get; }

        public int? SilenceDurationMs { get; }

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