< Summary

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

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor()-100%100%
.ctor(...)-0%100%
get_Timestamp()-100%100%
get_TrackType()-100%100%
get_Bitrate()-100%100%
get_Timescale()-100%100%
get_ResultCode()-100%100%
get_TrackName()-100%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\eventgrid\Microsoft.Azure.EventGrid\src\Generated\Models\MediaLiveEventIncomingDataChunkDroppedEventData.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.Linq;
 15
 16    /// <summary>
 17    /// Ingest fragment dropped event data.
 18    /// </summary>
 19    public partial class MediaLiveEventIncomingDataChunkDroppedEventData
 20    {
 21        /// <summary>
 22        /// Initializes a new instance of the
 23        /// MediaLiveEventIncomingDataChunkDroppedEventData class.
 24        /// </summary>
 125        public MediaLiveEventIncomingDataChunkDroppedEventData()
 26        {
 27            CustomInit();
 128        }
 29
 30        /// <summary>
 31        /// Initializes a new instance of the
 32        /// MediaLiveEventIncomingDataChunkDroppedEventData class.
 33        /// </summary>
 34        /// <param name="timestamp">Gets the timestamp of the data chunk
 35        /// dropped.</param>
 36        /// <param name="trackType">Gets the type of the track (Audio /
 37        /// Video).</param>
 38        /// <param name="bitrate">Gets the bitrate of the track.</param>
 39        /// <param name="timescale">Gets the timescale of the
 40        /// Timestamp.</param>
 41        /// <param name="resultCode">Gets the result code for fragment drop
 42        /// operation.</param>
 43        /// <param name="trackName">Gets the name of the track for which
 44        /// fragment is dropped.</param>
 045        public MediaLiveEventIncomingDataChunkDroppedEventData(string timestamp = default(string), string trackType = de
 46        {
 047            Timestamp = timestamp;
 048            TrackType = trackType;
 049            Bitrate = bitrate;
 050            Timescale = timescale;
 051            ResultCode = resultCode;
 052            TrackName = trackName;
 53            CustomInit();
 054        }
 55
 56        /// <summary>
 57        /// An initialization method that performs custom operations like setting defaults
 58        /// </summary>
 59        partial void CustomInit();
 60
 61        /// <summary>
 62        /// Gets the timestamp of the data chunk dropped.
 63        /// </summary>
 64        [JsonProperty(PropertyName = "timestamp")]
 265        public string Timestamp { get; private set; }
 66
 67        /// <summary>
 68        /// Gets the type of the track (Audio / Video).
 69        /// </summary>
 70        [JsonProperty(PropertyName = "trackType")]
 271        public string TrackType { get; private set; }
 72
 73        /// <summary>
 74        /// Gets the bitrate of the track.
 75        /// </summary>
 76        [JsonProperty(PropertyName = "bitrate")]
 277        public long? Bitrate { get; private set; }
 78
 79        /// <summary>
 80        /// Gets the timescale of the Timestamp.
 81        /// </summary>
 82        [JsonProperty(PropertyName = "timescale")]
 283        public string Timescale { get; private set; }
 84
 85        /// <summary>
 86        /// Gets the result code for fragment drop operation.
 87        /// </summary>
 88        [JsonProperty(PropertyName = "resultCode")]
 289        public string ResultCode { get; private set; }
 90
 91        /// <summary>
 92        /// Gets the name of the track for which fragment is dropped.
 93        /// </summary>
 94        [JsonProperty(PropertyName = "trackName")]
 295        public string TrackName { get; private set; }
 96
 97    }
 98}