// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

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

        internal InternalRealtimeTranscriptionSessionCreateResponseTurnDetection()
        {
        }

        internal InternalRealtimeTranscriptionSessionCreateResponseTurnDetection(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;
        }
    }
}
