< Summary

Class:Microsoft.Azure.EventGrid.Models.IotHubDeviceDeletedEventData
Assembly:Microsoft.Azure.EventGrid
File(s):C:\Git\azure-sdk-for-net\sdk\eventgrid\Microsoft.Azure.EventGrid\src\Generated\Models\IotHubDeviceDeletedEventData.cs
Covered lines:2
Uncovered lines:2
Coverable lines:4
Total lines:54
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\IotHubDeviceDeletedEventData.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.Linq;
 14
 15    /// <summary>
 16    /// Event data for Microsoft.Devices.DeviceDeleted event.
 17    /// </summary>
 18    public partial class IotHubDeviceDeletedEventData : DeviceLifeCycleEventProperties
 19    {
 20        /// <summary>
 21        /// Initializes a new instance of the IotHubDeviceDeletedEventData
 22        /// class.
 23        /// </summary>
 124        public IotHubDeviceDeletedEventData()
 25        {
 26            CustomInit();
 127        }
 28
 29        /// <summary>
 30        /// Initializes a new instance of the IotHubDeviceDeletedEventData
 31        /// class.
 32        /// </summary>
 33        /// <param name="deviceId">The unique identifier of the device. This
 34        /// case-sensitive string can be up to 128 characters long, and
 35        /// supports ASCII 7-bit alphanumeric characters plus the following
 36        /// special characters: - : . + % _ &amp;#35; * ? ! ( ) , = @ ; $
 37        /// '.</param>
 38        /// <param name="hubName">Name of the IoT Hub where the device was
 39        /// created or deleted.</param>
 40        /// <param name="twin">Information about the device twin, which is the
 41        /// cloud representation of application device metadata.</param>
 42        public IotHubDeviceDeletedEventData(string deviceId = default(string), string hubName = default(string), DeviceT
 043            : base(deviceId, hubName, twin)
 44        {
 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    }
 54}

Methods/Properties

.ctor()
.ctor(...)