// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;
using System.Linq;
using OpenAI;

namespace OpenAI.Responses
{
    internal partial class InternalComputerActionDrag : ComputerCallAction
    {
        internal InternalComputerActionDrag(IEnumerable<InternalCoordinate> path) : base(ComputerCallActionKind.Drag)
        {
            Argument.AssertNotNull(path, nameof(path));

            Path = path.ToList();
        }

        internal InternalComputerActionDrag(ComputerCallActionKind kind, IDictionary<string, BinaryData> additionalBinaryDataProperties, IList<InternalCoordinate> path) : base(kind, additionalBinaryDataProperties)
        {
            // Plugin customization: ensure initialization of collections
            Path = path ?? new ChangeTrackingList<InternalCoordinate>();
        }

        internal IList<InternalCoordinate> Path { get; }
    }
}
