< Summary

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

Metrics

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

File(s)

C:\Git\azure-sdk-for-net\sdk\eventgrid\Microsoft.Azure.EventGrid\src\Generated\Models\MediaJobOutputProcessingEventData.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 output processing event data
 19    /// </summary>
 20    public partial class MediaJobOutputProcessingEventData : MediaJobOutputStateChangeEventData
 21    {
 22        /// <summary>
 23        /// Initializes a new instance of the MediaJobOutputProcessingEventData
 24        /// class.
 25        /// </summary>
 126        public MediaJobOutputProcessingEventData()
 27        {
 28            CustomInit();
 129        }
 30
 31        /// <summary>
 32        /// Initializes a new instance of the MediaJobOutputProcessingEventData
 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="output">Gets the output.</param>
 39        /// <param name="jobCorrelationData">Gets the Job correlation
 40        /// data.</param>
 41        public MediaJobOutputProcessingEventData(MediaJobState previousState = default(MediaJobState), MediaJobOutput ou
 042            : base(previousState, output, jobCorrelationData)
 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        /// <summary>
 53        /// Validate the object.
 54        /// </summary>
 55        /// <exception cref="Rest.ValidationException">
 56        /// Thrown if validation fails
 57        /// </exception>
 58        public override void Validate()
 59        {
 060            base.Validate();
 061        }
 62    }
 63}

Methods/Properties

.ctor()
.ctor(...)
Validate()