// <auto-generated/>

#nullable disable

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

namespace OpenAI.Evals
{
    internal partial class InternalEvalRunStoredCompletionsDataContentSource : InternalEvalRunDataContentSource
    {
        public InternalEvalRunStoredCompletionsDataContentSource(IDictionary<string, string> metadata) : base(InternalEvalRunDataContentSourceType.StoredCompletions)
        {
            // Plugin customization: ensure initialization of collections
            Metadata = metadata ?? new ChangeTrackingDictionary<string, string>();
        }

        internal InternalEvalRunStoredCompletionsDataContentSource(InternalEvalRunDataContentSourceType kind, IDictionary<string, BinaryData> additionalBinaryDataProperties, IDictionary<string, string> metadata, string model, int? createdAfter, int? createdBefore, int? limit) : base(kind, additionalBinaryDataProperties)
        {
            // Plugin customization: ensure initialization of collections
            Metadata = metadata ?? new ChangeTrackingDictionary<string, string>();
            Model = model;
            CreatedAfter = createdAfter;
            CreatedBefore = createdBefore;
            Limit = limit;
        }

        public IDictionary<string, string> Metadata { get; }

        public string Model { get; set; }

        public int? CreatedAfter { get; set; }

        public int? CreatedBefore { get; set; }

        public int? Limit { get; set; }
    }
}
