// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

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

        internal InternalBatchRequestCounts(int total, int completed, int failed)
        {
            Total = total;
            Completed = completed;
            Failed = failed;
        }

        internal InternalBatchRequestCounts(int total, int completed, int failed, IDictionary<string, BinaryData> additionalBinaryDataProperties)
        {
            Total = total;
            Completed = completed;
            Failed = failed;
            _additionalBinaryDataProperties = additionalBinaryDataProperties;
        }

        public int Total { get; }

        public int Completed { get; }

        public int Failed { get; }

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