< Summary

Class:Microsoft.Azure.EventGrid.Models.MediaJobCancelingEventData
Assembly:Microsoft.Azure.EventGrid
File(s):C:\Git\azure-sdk-for-net\sdk\eventgrid\Microsoft.Azure.EventGrid\src\Generated\Models\MediaJobCancelingEventData.cs
Covered lines:2
Uncovered lines:2
Coverable lines:4
Total lines:53
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\MediaJobCancelingEventData.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 canceling event data
 19    /// </summary>
 20    public partial class MediaJobCancelingEventData : MediaJobStateChangeEventData
 21    {
 22        /// <summary>
 23        /// Initializes a new instance of the MediaJobCancelingEventData class.
 24        /// </summary>
 125        public MediaJobCancelingEventData()
 26        {
 27            CustomInit();
 128        }
 29
 30        /// <summary>
 31        /// Initializes a new instance of the MediaJobCancelingEventData class.
 32        /// </summary>
 33        /// <param name="previousState">The previous state of the Job. Possible
 34        /// values include: 'Canceled', 'Canceling', 'Error', 'Finished',
 35        /// 'Processing', 'Queued', 'Scheduled'</param>
 36        /// <param name="state">The new state of the Job. Possible values
 37        /// include: 'Canceled', 'Canceling', 'Error', 'Finished',
 38        /// 'Processing', 'Queued', 'Scheduled'</param>
 39        /// <param name="correlationData">Gets the Job correlation
 40        /// data.</param>
 41        public MediaJobCancelingEventData(MediaJobState previousState = default(MediaJobState), MediaJobState state = de
 042            : base(previousState, state, correlationData)
 43        {
 44            CustomInit();
 045        }
 46
 47        /// <summary>
 48        /// An initialization method that performs custom operations like setting defaults
 49        /// </summary>
 50        partial void CustomInit();
 51
 52    }
 53}

Methods/Properties

.ctor()
.ctor(...)