// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

namespace OpenAI.Assistants
{
    internal partial class InternalMessageDeltaContentImageFileObject : InternalMessageDeltaContent
    {
        internal InternalMessageDeltaContentImageFileObject(int index)
        {
            Type = "image_file";
            Index = index;
        }

        internal InternalMessageDeltaContentImageFileObject(string type, IDictionary<string, BinaryData> serializedAdditionalRawData, int index, InternalMessageDeltaContentImageFileObjectImageFile imageFile) : base(type, serializedAdditionalRawData)
        {
            Index = index;
            ImageFile = imageFile;
        }

        internal InternalMessageDeltaContentImageFileObject()
        {
        }

        public int Index { get; }
        public InternalMessageDeltaContentImageFileObjectImageFile ImageFile { get; }
    }
}
