// <auto-generated/>

#nullable disable

using System.ClientModel;
using Sample;

#pragma warning disable SCME0004 // Type is for evaluation purposes only and is subject to change or removal in future updates.
namespace Sample.Models
{
    public partial class ModelArrayMultiRequest
    {
        internal ModelArrayMultiRequest()
        {
        }

        internal global::System.ClientModel.MultiPartFormContent ToMultipartFormContent()
        {
            global::System.ClientModel.MultiPartFormContent content = new global::System.ClientModel.MultiPartFormContent();

            foreach (global::Sample.Models.Address item in Addresses)
            {
                content.Add<global::Sample.Models.Address>("addresses", item, global::Sample.SampleContext.Default, global::Sample.ModelSerializationExtensions.WireOptions, "application/json");
            }

            return content;
        }
    }
}
#pragma warning restore SCME0004 // Type is for evaluation purposes only and is subject to change or removal in future updates.
