// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

namespace OpenAI.Responses
{
    internal partial class InternalResponseImageGenCallPartialImageEvent : StreamingResponseUpdate
    {
        internal InternalResponseImageGenCallPartialImageEvent(int sequenceNumber, int outputIndex, string itemId, int partialImageIndex, string partialImageB64) : base(InternalResponseStreamEventType.ResponseImageGenerationCallPartialImage, sequenceNumber)
        {
            OutputIndex = outputIndex;
            ItemId = itemId;
            PartialImageIndex = partialImageIndex;
            PartialImageB64 = partialImageB64;
        }

        internal InternalResponseImageGenCallPartialImageEvent(InternalResponseStreamEventType kind, int sequenceNumber, IDictionary<string, BinaryData> additionalBinaryDataProperties, int outputIndex, string itemId, int partialImageIndex, string partialImageB64) : base(kind, sequenceNumber, additionalBinaryDataProperties)
        {
            OutputIndex = outputIndex;
            ItemId = itemId;
            PartialImageIndex = partialImageIndex;
            PartialImageB64 = partialImageB64;
        }

        public int OutputIndex { get; }

        public string ItemId { get; }

        public int PartialImageIndex { get; }

        public string PartialImageB64 { get; }
    }
}
