| | 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 | |
|
| | 11 | | namespace 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> |
| 1 | 26 | | public MachineLearningServicesRunCompletedEventData() |
| | 27 | | { |
| | 28 | | CustomInit(); |
| 1 | 29 | | } |
| | 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> |
| 0 | 44 | | public MachineLearningServicesRunCompletedEventData(string experimentId = default(string), string experimentName |
| | 45 | | { |
| 0 | 46 | | ExperimentId = experimentId; |
| 0 | 47 | | ExperimentName = experimentName; |
| 0 | 48 | | RunId = runId; |
| 0 | 49 | | RunType = runType; |
| 0 | 50 | | RunTags = runTags; |
| 0 | 51 | | RunProperties = runProperties; |
| | 52 | | CustomInit(); |
| 0 | 53 | | } |
| | 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")] |
| 0 | 64 | | 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")] |
| 2 | 70 | | 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")] |
| 2 | 76 | | 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")] |
| 0 | 82 | | public string RunType { get; set; } |
| | 83 | |
|
| | 84 | | /// <summary> |
| | 85 | | /// Gets or sets the tags of the completed Run. |
| | 86 | | /// </summary> |
| | 87 | | [JsonProperty(PropertyName = "runTags")] |
| 2 | 88 | | public object RunTags { get; set; } |
| | 89 | |
|
| | 90 | | /// <summary> |
| | 91 | | /// Gets or sets the properties of the completed Run. |
| | 92 | | /// </summary> |
| | 93 | | [JsonProperty(PropertyName = "runProperties")] |
| 2 | 94 | | public object RunProperties { get; set; } |
| | 95 | |
|
| | 96 | | } |
| | 97 | | } |