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

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

            content.Add("id", Id);
            if (global::Sample.Optional.IsDefined(OptionalFile))
            {
                content.Add("optionalFile", OptionalFile);
            }

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