// <auto-generated/>

#nullable disable

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

namespace OpenAI.Responses
{
    public partial class FileSearchCallResult
    {
        private protected IDictionary<string, BinaryData> _additionalBinaryDataProperties;

        public FileSearchCallResult()
        {
            Attributes = new ChangeTrackingDictionary<string, BinaryData>();
        }

        internal FileSearchCallResult(string fileId, string text, string filename, IDictionary<string, BinaryData> attributes, float? score, IDictionary<string, BinaryData> additionalBinaryDataProperties)
        {
            FileId = fileId;
            Text = text;
            Filename = filename;
            Attributes = attributes;
            Score = score;
            _additionalBinaryDataProperties = additionalBinaryDataProperties;
        }

        public string FileId { get; set; }

        public string Text { get; set; }

        public string Filename { get; set; }

        public IDictionary<string, BinaryData> Attributes { get; }

        public float? Score { get; set; }

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