// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;

namespace OpenAI.FineTuning
{
    [Experimental("OPENAI001")]
    public partial class FineTuningTrainingMethod
    {
        private protected IDictionary<string, BinaryData> _additionalBinaryDataProperties;

        internal FineTuningTrainingMethod(InternalFineTuneMethodType kind)
        {
            Kind = kind;
        }

        internal FineTuningTrainingMethod(InternalFineTuneMethodType kind, InternalFineTuneReinforcementMethod reinforcement, InternalFineTuningJobRequestMethodSupervised supervised, InternalFineTuningJobRequestMethodDpo dpo, IDictionary<string, BinaryData> additionalBinaryDataProperties)
        {
            Kind = kind;
            Reinforcement = reinforcement;
            Supervised = supervised;
            Dpo = dpo;
            _additionalBinaryDataProperties = additionalBinaryDataProperties;
        }

        internal InternalFineTuneMethodType Kind { get; set; }

        internal InternalFineTuneReinforcementMethod Reinforcement { get; set; }

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