// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

namespace OpenAI.Assistants
{
    internal partial class MessageDeltaContentImageUrlObject : MessageDeltaContent
    {
        internal MessageDeltaContentImageUrlObject(int index)
        {
            Type = "image_url";
            Index = index;
        }

        internal MessageDeltaContentImageUrlObject(string type, IDictionary<string, BinaryData> serializedAdditionalRawData, int index, MessageDeltaContentImageUrlObjectImageUrl imageUrl) : base(type, serializedAdditionalRawData)
        {
            Index = index;
            ImageUrl = imageUrl;
        }

        internal MessageDeltaContentImageUrlObject()
        {
        }

        public int Index { get; }
        public MessageDeltaContentImageUrlObjectImageUrl ImageUrl { get; }
    }
}
