// <auto-generated/>

#nullable disable

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

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

        internal InternalCreateChatCompletionRequestWebSearchOptionsUserLocation1(InternalWebSearchLocation approximate)
        {
            Argument.AssertNotNull(approximate, nameof(approximate));

            Approximate = approximate;
        }

        internal InternalCreateChatCompletionRequestWebSearchOptionsUserLocation1(string kind, InternalWebSearchLocation approximate, IDictionary<string, BinaryData> additionalBinaryDataProperties)
        {
            Kind = kind;
            Approximate = approximate;
            _additionalBinaryDataProperties = additionalBinaryDataProperties;
        }

        public string Kind { get; } = "approximate";

        internal InternalWebSearchLocation Approximate { get; }

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