< Summary

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

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor()-0%100%
.ctor(...)-0%100%
get_Timestamp()-0%100%
get_HubName()-0%100%
get_ConnectionId()-0%100%
get_UserId()-0%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\eventgrid\Microsoft.Azure.EventGrid\src\Generated\Models\SignalRServiceClientConnectionConnectedEventData.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 a
 18    /// Microsoft.SignalRService.ClientConnectionConnected event.
 19    /// </summary>
 20    public partial class SignalRServiceClientConnectionConnectedEventData
 21    {
 22        /// <summary>
 23        /// Initializes a new instance of the
 24        /// SignalRServiceClientConnectionConnectedEventData class.
 25        /// </summary>
 026        public SignalRServiceClientConnectionConnectedEventData()
 27        {
 28            CustomInit();
 029        }
 30
 31        /// <summary>
 32        /// Initializes a new instance of the
 33        /// SignalRServiceClientConnectionConnectedEventData class.
 34        /// </summary>
 35        /// <param name="timestamp">The time at which the event
 36        /// occurred.</param>
 37        /// <param name="hubName">The hub of connected client
 38        /// connection.</param>
 39        /// <param name="connectionId">The connection Id of connected client
 40        /// connection.</param>
 41        /// <param name="userId">The user Id of connected client
 42        /// connection.</param>
 043        public SignalRServiceClientConnectionConnectedEventData(System.DateTime? timestamp = default(System.DateTime?), 
 44        {
 045            Timestamp = timestamp;
 046            HubName = hubName;
 047            ConnectionId = connectionId;
 048            UserId = userId;
 49            CustomInit();
 050        }
 51
 52        /// <summary>
 53        /// An initialization method that performs custom operations like setting defaults
 54        /// </summary>
 55        partial void CustomInit();
 56
 57        /// <summary>
 58        /// Gets or sets the time at which the event occurred.
 59        /// </summary>
 60        [JsonProperty(PropertyName = "timestamp")]
 061        public System.DateTime? Timestamp { get; set; }
 62
 63        /// <summary>
 64        /// Gets or sets the hub of connected client connection.
 65        /// </summary>
 66        [JsonProperty(PropertyName = "hubName")]
 067        public string HubName { get; set; }
 68
 69        /// <summary>
 70        /// Gets or sets the connection Id of connected client connection.
 71        /// </summary>
 72        [JsonProperty(PropertyName = "connectionId")]
 073        public string ConnectionId { get; set; }
 74
 75        /// <summary>
 76        /// Gets or sets the user Id of connected client connection.
 77        /// </summary>
 78        [JsonProperty(PropertyName = "userId")]
 079        public string UserId { get; set; }
 80
 81    }
 82}