< Summary

Class:Microsoft.Azure.EventGrid.Models.MediaJobOutputProgressEventData
Assembly:Microsoft.Azure.EventGrid
File(s):C:\Git\azure-sdk-for-net\sdk\eventgrid\Microsoft.Azure.EventGrid\src\Generated\Models\MediaJobOutputProgressEventData.cs
Covered lines:5
Uncovered lines:5
Coverable lines:10
Total lines:72
Line coverage:50% (5 of 10)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor()-100%100%
.ctor(...)-0%100%
get_Label()-100%100%
get_Progress()-100%100%
get_JobCorrelationData()-100%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\eventgrid\Microsoft.Azure.EventGrid\src\Generated\Models\MediaJobOutputProgressEventData.cs

#LineLine coverage
 1// <auto-generated>
 2// Copyright (c) Microsoft Corporation. All rights reserved.
 3// Licensed under the MIT License. See License.txt in the project root for
 4// license information.
 5//
 6// Code generated by Microsoft (R) AutoRest Code Generator.
 7// Changes may cause incorrect behavior and will be lost if the code is
 8// regenerated.
 9// </auto-generated>
 10
 11namespace Microsoft.Azure.EventGrid.Models
 12{
 13    using Newtonsoft.Json;
 14    using System.Collections;
 15    using System.Collections.Generic;
 16    using System.Linq;
 17
 18    /// <summary>
 19    /// Job Output Progress Event Data.
 20    /// </summary>
 21    public partial class MediaJobOutputProgressEventData
 22    {
 23        /// <summary>
 24        /// Initializes a new instance of the MediaJobOutputProgressEventData
 25        /// class.
 26        /// </summary>
 127        public MediaJobOutputProgressEventData()
 28        {
 29            CustomInit();
 130        }
 31
 32        /// <summary>
 33        /// Initializes a new instance of the MediaJobOutputProgressEventData
 34        /// class.
 35        /// </summary>
 36        /// <param name="label">Gets the Job output label.</param>
 37        /// <param name="progress">Gets the Job output progress.</param>
 38        /// <param name="jobCorrelationData">Gets the Job correlation
 39        /// data.</param>
 040        public MediaJobOutputProgressEventData(string label = default(string), long? progress = default(long?), IDiction
 41        {
 042            Label = label;
 043            Progress = progress;
 044            JobCorrelationData = jobCorrelationData;
 45            CustomInit();
 046        }
 47
 48        /// <summary>
 49        /// An initialization method that performs custom operations like setting defaults
 50        /// </summary>
 51        partial void CustomInit();
 52
 53        /// <summary>
 54        /// Gets the Job output label.
 55        /// </summary>
 56        [JsonProperty(PropertyName = "label")]
 257        public string Label { get; set; }
 58
 59        /// <summary>
 60        /// Gets the Job output progress.
 61        /// </summary>
 62        [JsonProperty(PropertyName = "progress")]
 263        public long? Progress { get; set; }
 64
 65        /// <summary>
 66        /// Gets the Job correlation data.
 67        /// </summary>
 68        [JsonProperty(PropertyName = "jobCorrelationData")]
 669        public IDictionary<string, string> JobCorrelationData { get; set; }
 70
 71    }
 72}