// <auto-generated/>

#nullable disable

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

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

        internal InternalListFineTuningJobEventsResponse(bool hasMore, IEnumerable<FineTuningJobEvent> data)
        {
            HasMore = hasMore;
            Data = data.ToList();
        }

        internal InternalListFineTuningJobEventsResponse(bool hasMore, IList<FineTuningJobEvent> data, InternalListFineTuningJobEventsResponseObject @object, IDictionary<string, BinaryData> additionalBinaryDataProperties)
        {
            HasMore = hasMore;
            Data = data;
            Object = @object;
            _additionalBinaryDataProperties = additionalBinaryDataProperties;
        }

        public bool HasMore { get; }

        public IList<FineTuningJobEvent> Data { get; }

        public InternalListFineTuningJobEventsResponseObject Object { get; } = "list";

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