// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

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

        internal InternalRealtimeSessionCreateResponseClientSecret(string value, DateTimeOffset expiresAt)
        {
            Value = value;
            ExpiresAt = expiresAt;
        }

        internal InternalRealtimeSessionCreateResponseClientSecret(string value, DateTimeOffset expiresAt, IDictionary<string, BinaryData> additionalBinaryDataProperties)
        {
            Value = value;
            ExpiresAt = expiresAt;
            _additionalBinaryDataProperties = additionalBinaryDataProperties;
        }

        public string Value { get; }

        public DateTimeOffset ExpiresAt { get; }

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