// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

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

        internal FineTuningEvent(string id, DateTimeOffset createdAt, string message, string level)
        {
            Id = id;
            CreatedAt = createdAt;
            Message = message;
            Level = level;
        }

        internal FineTuningEvent(string id, DateTimeOffset createdAt, string message, FineTuningJobEventKind? kind, BinaryData data, string level, string @object, IDictionary<string, BinaryData> additionalBinaryDataProperties)
        {
            Id = id;
            CreatedAt = createdAt;
            Message = message;
            Kind = kind;
            Data = data;
            Level = level;
            _object = @object;
            _additionalBinaryDataProperties = additionalBinaryDataProperties;
        }

        public string Id { get; }

        public DateTimeOffset CreatedAt { get; }

        public string Message { get; }

        public FineTuningJobEventKind? Kind { get; }

        public BinaryData Data { get; }

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