// <auto-generated/>

#nullable disable

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

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

        internal InternalCreateFineTuningCheckpointPermissionRequest(IEnumerable<string> projectIds)
        {
            ProjectIds = projectIds.ToList();
        }

        internal InternalCreateFineTuningCheckpointPermissionRequest(IList<string> projectIds, IDictionary<string, BinaryData> additionalBinaryDataProperties)
        {
            // Plugin customization: ensure initialization of collections
            ProjectIds = projectIds ?? new ChangeTrackingList<string>();
            _additionalBinaryDataProperties = additionalBinaryDataProperties;
        }

        public IList<string> ProjectIds { get; }

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