< Summary

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

Metrics

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

File(s)

C:\Git\azure-sdk-for-net\sdk\eventgrid\Microsoft.Azure.EventGrid\src\Generated\Models\RedisScalingCompletedEventData.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    /// Schema of the Data property of an EventGridEvent for an
 18    /// Microsoft.Cache.ScalingCompleted event.
 19    /// </summary>
 20    public partial class RedisScalingCompletedEventData
 21    {
 22        /// <summary>
 23        /// Initializes a new instance of the RedisScalingCompletedEventData
 24        /// class.
 25        /// </summary>
 026        public RedisScalingCompletedEventData()
 27        {
 28            CustomInit();
 029        }
 30
 31        /// <summary>
 32        /// Initializes a new instance of the RedisScalingCompletedEventData
 33        /// class.
 34        /// </summary>
 35        /// <param name="timestamp">The time at which the event
 36        /// occurred.</param>
 37        /// <param name="name">The name of this event.</param>
 38        /// <param name="status">The status of this event. Failed or  succeeded
 39        /// </param>
 040        public RedisScalingCompletedEventData(System.DateTime? timestamp = default(System.DateTime?), string name = defa
 41        {
 042            Timestamp = timestamp;
 043            Name = name;
 044            Status = status;
 45            CustomInit();
 046        }
 47
 48        /// <summary>
 49        /// An initialization method that performs custom operations like setting defaults
 50        /// </summary>
 51        partial void CustomInit();
 52
 53        /// <summary>
 54        /// Gets or sets the time at which the event occurred.
 55        /// </summary>
 56        [JsonProperty(PropertyName = "timestamp")]
 057        public System.DateTime? Timestamp { get; set; }
 58
 59        /// <summary>
 60        /// Gets or sets the name of this event.
 61        /// </summary>
 62        [JsonProperty(PropertyName = "name")]
 063        public string Name { get; set; }
 64
 65        /// <summary>
 66        /// Gets or sets the status of this event. Failed or  succeeded
 67        /// </summary>
 68        [JsonProperty(PropertyName = "status")]
 069        public string Status { get; set; }
 70
 71    }
 72}