// <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 ComplexPartsRequest
    {
        internal ComplexPartsRequest()
        {
        }

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

            content.Add("id", Id);
            content.Add<global::Sample.Models.Address>("address", Address, global::Sample.SampleContext.Default, global::Sample.ModelSerializationExtensions.WireOptions, "application/json");
            content.Add("profileImage", ProfileImage);
            foreach (global::System.ClientModel.FileBinaryContent item in Pictures)
            {
                content.Add("pictures", item);
            }

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