< Summary

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

Metrics

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

File(s)

C:\Git\azure-sdk-for-net\sdk\eventgrid\Microsoft.Azure.EventGrid\src\Generated\Models\MediaJobProcessingEventData.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 System.Collections;
 14    using System.Collections.Generic;
 15    using System.Linq;
 16
 17    /// <summary>
 18    /// Job processing event data
 19    /// </summary>
 20    public partial class MediaJobProcessingEventData : MediaJobStateChangeEventData
 21    {
 22        /// <summary>
 23        /// Initializes a new instance of the MediaJobProcessingEventData
 24        /// class.
 25        /// </summary>
 126        public MediaJobProcessingEventData()
 27        {
 28            CustomInit();
 129        }
 30
 31        /// <summary>
 32        /// Initializes a new instance of the MediaJobProcessingEventData
 33        /// class.
 34        /// </summary>
 35        /// <param name="previousState">The previous state of the Job. Possible
 36        /// values include: 'Canceled', 'Canceling', 'Error', 'Finished',
 37        /// 'Processing', 'Queued', 'Scheduled'</param>
 38        /// <param name="state">The new state of the Job. Possible values
 39        /// include: 'Canceled', 'Canceling', 'Error', 'Finished',
 40        /// 'Processing', 'Queued', 'Scheduled'</param>
 41        /// <param name="correlationData">Gets the Job correlation
 42        /// data.</param>
 43        public MediaJobProcessingEventData(MediaJobState previousState = default(MediaJobState), MediaJobState state = d
 044            : base(previousState, state, correlationData)
 45        {
 46            CustomInit();
 047        }
 48
 49        /// <summary>
 50        /// An initialization method that performs custom operations like setting defaults
 51        /// </summary>
 52        partial void CustomInit();
 53
 54    }
 55}

Methods/Properties

.ctor()
.ctor(...)