public async Task <Response <Struct> > OperationAsync(string request, string message, string scope, string uri, string pipeline, string clientDiagnostics, Class @class, CancellationToken cancellationToken = default)
        {
            if (request == null)
            {
                throw new ArgumentNullException(nameof(request));
            }
            if (message == null)
            {
                throw new ArgumentNullException(nameof(message));
            }
            if (scope == null)
            {
                throw new ArgumentNullException(nameof(scope));
            }
            if (uri == null)
            {
                throw new ArgumentNullException(nameof(uri));
            }
            if (pipeline == null)
            {
                throw new ArgumentNullException(nameof(pipeline));
            }
            if (clientDiagnostics == null)
            {
                throw new ArgumentNullException(nameof(clientDiagnostics));
            }
            if (@class == null)
            {
                throw new ArgumentNullException(nameof(@class));
            }

            using var message0 = CreateOperationRequest(request, message, scope, uri, pipeline, clientDiagnostics, @class);
            await _pipeline.SendAsync(message0, cancellationToken).ConfigureAwait(false);

            switch (message0.Response.Status)
            {
            case 200:
            {
                Struct value = default;
                using var document = await JsonDocument.ParseAsync(message0.Response.ContentStream, default, cancellationToken).ConfigureAwait(false);

                if (document.RootElement.ValueKind == JsonValueKind.Null)
                {
                    value = null;
                }
                else
                {
                    value = Struct.DeserializeStruct(document.RootElement);
                }
                return(Azure.Response.FromValue(value, message0.Response));
            }