< Summary

Class:Microsoft.Azure.EventGrid.Models.MediaLiveEventIncomingStreamsOutOfSyncEventData
Assembly:Microsoft.Azure.EventGrid
File(s):C:\Git\azure-sdk-for-net\sdk\eventgrid\Microsoft.Azure.EventGrid\src\Generated\Models\MediaLiveEventIncomingStreamsOutOfSyncEventData.cs
Covered lines:8
Uncovered lines:8
Coverable lines:16
Total lines:99
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_MinLastTimestamp()-100%100%
get_TypeOfStreamWithMinLastTimestamp()-100%100%
get_MaxLastTimestamp()-100%100%
get_TypeOfStreamWithMaxLastTimestamp()-100%100%
get_TimescaleOfMinLastTimestamp()-100%100%
get_TimescaleOfMaxLastTimestamp()-100%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\eventgrid\Microsoft.Azure.EventGrid\src\Generated\Models\MediaLiveEventIncomingStreamsOutOfSyncEventData.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    /// Incoming streams out of sync event data.
 18    /// </summary>
 19    public partial class MediaLiveEventIncomingStreamsOutOfSyncEventData
 20    {
 21        /// <summary>
 22        /// Initializes a new instance of the
 23        /// MediaLiveEventIncomingStreamsOutOfSyncEventData class.
 24        /// </summary>
 125        public MediaLiveEventIncomingStreamsOutOfSyncEventData()
 26        {
 27            CustomInit();
 128        }
 29
 30        /// <summary>
 31        /// Initializes a new instance of the
 32        /// MediaLiveEventIncomingStreamsOutOfSyncEventData class.
 33        /// </summary>
 34        /// <param name="minLastTimestamp">Gets the minimum last timestamp
 35        /// received.</param>
 36        /// <param name="typeOfStreamWithMinLastTimestamp">Gets the type of
 37        /// stream with minimum last timestamp.</param>
 38        /// <param name="maxLastTimestamp">Gets the maximum timestamp among all
 39        /// the tracks (audio or video).</param>
 40        /// <param name="typeOfStreamWithMaxLastTimestamp">Gets the type of
 41        /// stream with maximum last timestamp.</param>
 42        /// <param name="timescaleOfMinLastTimestamp">Gets the timescale in
 43        /// which "MinLastTimestamp" is represented.</param>
 44        /// <param name="timescaleOfMaxLastTimestamp">Gets the timescale in
 45        /// which "MaxLastTimestamp" is represented.</param>
 046        public MediaLiveEventIncomingStreamsOutOfSyncEventData(string minLastTimestamp = default(string), string typeOfS
 47        {
 048            MinLastTimestamp = minLastTimestamp;
 049            TypeOfStreamWithMinLastTimestamp = typeOfStreamWithMinLastTimestamp;
 050            MaxLastTimestamp = maxLastTimestamp;
 051            TypeOfStreamWithMaxLastTimestamp = typeOfStreamWithMaxLastTimestamp;
 052            TimescaleOfMinLastTimestamp = timescaleOfMinLastTimestamp;
 053            TimescaleOfMaxLastTimestamp = timescaleOfMaxLastTimestamp;
 54            CustomInit();
 055        }
 56
 57        /// <summary>
 58        /// An initialization method that performs custom operations like setting defaults
 59        /// </summary>
 60        partial void CustomInit();
 61
 62        /// <summary>
 63        /// Gets the minimum last timestamp received.
 64        /// </summary>
 65        [JsonProperty(PropertyName = "minLastTimestamp")]
 266        public string MinLastTimestamp { get; private set; }
 67
 68        /// <summary>
 69        /// Gets the type of stream with minimum last timestamp.
 70        /// </summary>
 71        [JsonProperty(PropertyName = "typeOfStreamWithMinLastTimestamp")]
 272        public string TypeOfStreamWithMinLastTimestamp { get; private set; }
 73
 74        /// <summary>
 75        /// Gets the maximum timestamp among all the tracks (audio or video).
 76        /// </summary>
 77        [JsonProperty(PropertyName = "maxLastTimestamp")]
 278        public string MaxLastTimestamp { get; private set; }
 79
 80        /// <summary>
 81        /// Gets the type of stream with maximum last timestamp.
 82        /// </summary>
 83        [JsonProperty(PropertyName = "typeOfStreamWithMaxLastTimestamp")]
 284        public string TypeOfStreamWithMaxLastTimestamp { get; private set; }
 85
 86        /// <summary>
 87        /// Gets the timescale in which "MinLastTimestamp" is represented.
 88        /// </summary>
 89        [JsonProperty(PropertyName = "timescaleOfMinLastTimestamp")]
 290        public string TimescaleOfMinLastTimestamp { get; private set; }
 91
 92        /// <summary>
 93        /// Gets the timescale in which "MaxLastTimestamp" is represented.
 94        /// </summary>
 95        [JsonProperty(PropertyName = "timescaleOfMaxLastTimestamp")]
 296        public string TimescaleOfMaxLastTimestamp { get; private set; }
 97
 98    }
 99}