// <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;

        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;
    }
}
