// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;
using System.Linq;

namespace OpenAI.FineTuning
{
    internal partial class InternalListFineTuningJobEventsResponse
    {
        internal IDictionary<string, BinaryData> SerializedAdditionalRawData { get; set; }
        internal InternalListFineTuningJobEventsResponse(IEnumerable<InternalFineTuningJobEvent> data)
        {
            Argument.AssertNotNull(data, nameof(data));

            Data = data.ToList();
        }

        internal InternalListFineTuningJobEventsResponse(IReadOnlyList<InternalFineTuningJobEvent> data, InternalListFineTuningJobEventsResponseObject @object, IDictionary<string, BinaryData> serializedAdditionalRawData)
        {
            Data = data;
            Object = @object;
            SerializedAdditionalRawData = serializedAdditionalRawData;
        }

        internal InternalListFineTuningJobEventsResponse()
        {
        }

        public IReadOnlyList<InternalFineTuningJobEvent> Data { get; }
        public InternalListFineTuningJobEventsResponseObject Object { get; } = InternalListFineTuningJobEventsResponseObject.List;
    }
}
