< Summary

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

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor()-100%100%
.ctor(...)-0%100%
get_ExperimentId()-0%100%
get_ExperimentName()-100%100%
get_RunId()-100%100%
get_RunType()-0%100%
get_RunTags()-100%100%
get_RunProperties()-100%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\eventgrid\Microsoft.Azure.EventGrid\src\Generated\Models\MachineLearningServicesRunCompletedEventData.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.MachineLearningServices.RunCompleted event.
 19    /// </summary>
 20    public partial class MachineLearningServicesRunCompletedEventData
 21    {
 22        /// <summary>
 23        /// Initializes a new instance of the
 24        /// MachineLearningServicesRunCompletedEventData class.
 25        /// </summary>
 126        public MachineLearningServicesRunCompletedEventData()
 27        {
 28            CustomInit();
 129        }
 30
 31        /// <summary>
 32        /// Initializes a new instance of the
 33        /// MachineLearningServicesRunCompletedEventData class.
 34        /// </summary>
 35        /// <param name="experimentId">The ID of the experiment that the run
 36        /// belongs to.</param>
 37        /// <param name="experimentName">The name of the experiment that the
 38        /// run belongs to.</param>
 39        /// <param name="runId">The ID of the Run that was completed.</param>
 40        /// <param name="runType">The Run Type of the completed Run.</param>
 41        /// <param name="runTags">The tags of the completed Run.</param>
 42        /// <param name="runProperties">The properties of the completed
 43        /// Run.</param>
 044        public MachineLearningServicesRunCompletedEventData(string experimentId = default(string), string experimentName
 45        {
 046            ExperimentId = experimentId;
 047            ExperimentName = experimentName;
 048            RunId = runId;
 049            RunType = runType;
 050            RunTags = runTags;
 051            RunProperties = runProperties;
 52            CustomInit();
 053        }
 54
 55        /// <summary>
 56        /// An initialization method that performs custom operations like setting defaults
 57        /// </summary>
 58        partial void CustomInit();
 59
 60        /// <summary>
 61        /// Gets or sets the ID of the experiment that the run belongs to.
 62        /// </summary>
 63        [JsonProperty(PropertyName = "experimentId")]
 064        public string ExperimentId { get; set; }
 65
 66        /// <summary>
 67        /// Gets or sets the name of the experiment that the run belongs to.
 68        /// </summary>
 69        [JsonProperty(PropertyName = "experimentName")]
 270        public string ExperimentName { get; set; }
 71
 72        /// <summary>
 73        /// Gets or sets the ID of the Run that was completed.
 74        /// </summary>
 75        [JsonProperty(PropertyName = "runId")]
 276        public string RunId { get; set; }
 77
 78        /// <summary>
 79        /// Gets or sets the Run Type of the completed Run.
 80        /// </summary>
 81        [JsonProperty(PropertyName = "runType")]
 082        public string RunType { get; set; }
 83
 84        /// <summary>
 85        /// Gets or sets the tags of the completed Run.
 86        /// </summary>
 87        [JsonProperty(PropertyName = "runTags")]
 288        public object RunTags { get; set; }
 89
 90        /// <summary>
 91        /// Gets or sets the properties of the completed Run.
 92        /// </summary>
 93        [JsonProperty(PropertyName = "runProperties")]
 294        public object RunProperties { get; set; }
 95
 96    }
 97}