// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

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

        internal InternalFineTuningCheckpointPermission(string id, DateTimeOffset createdAt, string projectId)
        {
            Id = id;
            CreatedAt = createdAt;
            ProjectId = projectId;
        }

        internal InternalFineTuningCheckpointPermission(string id, DateTimeOffset createdAt, string projectId, string @object, IDictionary<string, BinaryData> additionalBinaryDataProperties)
        {
            Id = id;
            CreatedAt = createdAt;
            ProjectId = projectId;
            Object = @object;
            _additionalBinaryDataProperties = additionalBinaryDataProperties;
        }

        public string Id { get; }

        public DateTimeOffset CreatedAt { get; }

        public string ProjectId { get; }

        public string Object { get; } = "checkpoint.permission";

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