// <auto-generated/>

#nullable disable

using System.ClientModel.Primitives;
using System.Collections.Generic;

namespace Sample
{
    public partial class TestClient
    {
        internal global::System.ClientModel.Primitives.PipelineMessage CreateTestOperationRequest(global::System.Collections.Generic.IDictionary<string, string> metadata, global::System.ClientModel.Primitives.RequestOptions options)
        {
            global::Sample.ClientUriBuilder uri = new global::Sample.ClientUriBuilder();
            uri.Reset(_endpoint);
            global::System.ClientModel.Primitives.PipelineMessage message = Pipeline.CreateMessage(uri.ToUri(), "GET", PipelineMessageClassifier200);
            global::System.ClientModel.Primitives.PipelineRequest request = message.Request;
            if (((metadata != null) && !((metadata is global::Sample.ChangeTrackingDictionary<string, string> changeTrackingDictionary) && changeTrackingDictionary.IsUndefined)))
            {
                request.Headers.SetDelimited("x-ms-meta", metadata, null);
            }
            message.Apply(options);
            return message;
        }
    }
}
