< Summary

Class:Azure.Analytics.Synapse.Artifacts.Models.RunQueryOrderBy
Assembly:Azure.Analytics.Synapse.Artifacts
File(s):C:\Git\azure-sdk-for-net\sdk\synapse\Azure.Analytics.Synapse.Artifacts\src\Generated\Models\RunQueryOrderBy.cs
C:\Git\azure-sdk-for-net\sdk\synapse\Azure.Analytics.Synapse.Artifacts\src\Generated\Models\RunQueryOrderBy.Serialization.cs
Covered lines:0
Uncovered lines:13
Coverable lines:13
Total lines:52
Line coverage:0% (0 of 13)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor(...)-0%100%
get_OrderBy()-0%100%
get_Order()-0%100%
Azure.Core.IUtf8JsonSerializable.Write(...)-0%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\synapse\Azure.Analytics.Synapse.Artifacts\src\Generated\Models\RunQueryOrderBy.cs

#LineLine coverage
 1// Copyright (c) Microsoft Corporation. All rights reserved.
 2// Licensed under the MIT License.
 3
 4// <auto-generated/>
 5
 6#nullable disable
 7
 8namespace Azure.Analytics.Synapse.Artifacts.Models
 9{
 10    /// <summary> An object to provide order by options for listing runs. </summary>
 11    public partial class RunQueryOrderBy
 12    {
 13        /// <summary> Initializes a new instance of RunQueryOrderBy. </summary>
 14        /// <param name="orderBy"> Parameter name to be used for order by. The allowed parameters to order by for pipeli
 15        /// <param name="order"> Sorting order of the parameter. </param>
 016        public RunQueryOrderBy(RunQueryOrderByField orderBy, RunQueryOrder order)
 17        {
 018            OrderBy = orderBy;
 019            Order = order;
 020        }
 21
 22        /// <summary> Parameter name to be used for order by. The allowed parameters to order by for pipeline runs are P
 023        public RunQueryOrderByField OrderBy { get; }
 24        /// <summary> Sorting order of the parameter. </summary>
 025        public RunQueryOrder Order { get; }
 26    }
 27}

C:\Git\azure-sdk-for-net\sdk\synapse\Azure.Analytics.Synapse.Artifacts\src\Generated\Models\RunQueryOrderBy.Serialization.cs

#LineLine coverage
 1// Copyright (c) Microsoft Corporation. All rights reserved.
 2// Licensed under the MIT License.
 3
 4// <auto-generated/>
 5
 6#nullable disable
 7
 8using System.Text.Json;
 9using Azure.Core;
 10
 11namespace Azure.Analytics.Synapse.Artifacts.Models
 12{
 13    public partial class RunQueryOrderBy : IUtf8JsonSerializable
 14    {
 15        void IUtf8JsonSerializable.Write(Utf8JsonWriter writer)
 16        {
 017            writer.WriteStartObject();
 018            writer.WritePropertyName("orderBy");
 019            writer.WriteStringValue(OrderBy.ToString());
 020            writer.WritePropertyName("order");
 021            writer.WriteStringValue(Order.ToString());
 022            writer.WriteEndObject();
 023        }
 24    }
 25}