| | 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.DatasetDriftDetected event. |
| | 19 | | /// </summary> |
| | 20 | | public partial class MachineLearningServicesDatasetDriftDetectedEventData |
| | 21 | | { |
| | 22 | | /// <summary> |
| | 23 | | /// Initializes a new instance of the |
| | 24 | | /// MachineLearningServicesDatasetDriftDetectedEventData class. |
| | 25 | | /// </summary> |
| 1 | 26 | | public MachineLearningServicesDatasetDriftDetectedEventData() |
| | 27 | | { |
| | 28 | | CustomInit(); |
| 1 | 29 | | } |
| | 30 | |
|
| | 31 | | /// <summary> |
| | 32 | | /// Initializes a new instance of the |
| | 33 | | /// MachineLearningServicesDatasetDriftDetectedEventData class. |
| | 34 | | /// </summary> |
| | 35 | | /// <param name="dataDriftId">The ID of the data drift monitor that |
| | 36 | | /// triggered the event.</param> |
| | 37 | | /// <param name="dataDriftName">The name of the data drift monitor that |
| | 38 | | /// triggered the event.</param> |
| | 39 | | /// <param name="runId">The ID of the Run that detected data |
| | 40 | | /// drift.</param> |
| | 41 | | /// <param name="baseDatasetId">The ID of the base Dataset used to |
| | 42 | | /// detect drift.</param> |
| | 43 | | /// <param name="targetDatasetId">The ID of the target Dataset used to |
| | 44 | | /// detect drift.</param> |
| | 45 | | /// <param name="driftCoefficient">The coefficient result that |
| | 46 | | /// triggered the event.</param> |
| | 47 | | /// <param name="startTime">The start time of the target dataset time |
| | 48 | | /// series that resulted in drift detection.</param> |
| | 49 | | /// <param name="endTime">The end time of the target dataset time |
| | 50 | | /// series that resulted in drift detection.</param> |
| 0 | 51 | | public MachineLearningServicesDatasetDriftDetectedEventData(string dataDriftId = default(string), string dataDri |
| | 52 | | { |
| 0 | 53 | | DataDriftId = dataDriftId; |
| 0 | 54 | | DataDriftName = dataDriftName; |
| 0 | 55 | | RunId = runId; |
| 0 | 56 | | BaseDatasetId = baseDatasetId; |
| 0 | 57 | | TargetDatasetId = targetDatasetId; |
| 0 | 58 | | DriftCoefficient = driftCoefficient; |
| 0 | 59 | | StartTime = startTime; |
| 0 | 60 | | EndTime = endTime; |
| | 61 | | CustomInit(); |
| 0 | 62 | | } |
| | 63 | |
|
| | 64 | | /// <summary> |
| | 65 | | /// An initialization method that performs custom operations like setting defaults |
| | 66 | | /// </summary> |
| | 67 | | partial void CustomInit(); |
| | 68 | |
|
| | 69 | | /// <summary> |
| | 70 | | /// Gets or sets the ID of the data drift monitor that triggered the |
| | 71 | | /// event. |
| | 72 | | /// </summary> |
| | 73 | | [JsonProperty(PropertyName = "dataDriftId")] |
| 0 | 74 | | public string DataDriftId { get; set; } |
| | 75 | |
|
| | 76 | | /// <summary> |
| | 77 | | /// Gets or sets the name of the data drift monitor that triggered the |
| | 78 | | /// event. |
| | 79 | | /// </summary> |
| | 80 | | [JsonProperty(PropertyName = "dataDriftName")] |
| 2 | 81 | | public string DataDriftName { get; set; } |
| | 82 | |
|
| | 83 | | /// <summary> |
| | 84 | | /// Gets or sets the ID of the Run that detected data drift. |
| | 85 | | /// </summary> |
| | 86 | | [JsonProperty(PropertyName = "runId")] |
| 0 | 87 | | public string RunId { get; set; } |
| | 88 | |
|
| | 89 | | /// <summary> |
| | 90 | | /// Gets or sets the ID of the base Dataset used to detect drift. |
| | 91 | | /// </summary> |
| | 92 | | [JsonProperty(PropertyName = "baseDatasetId")] |
| 0 | 93 | | public string BaseDatasetId { get; set; } |
| | 94 | |
|
| | 95 | | /// <summary> |
| | 96 | | /// Gets or sets the ID of the target Dataset used to detect drift. |
| | 97 | | /// </summary> |
| | 98 | | [JsonProperty(PropertyName = "targetDatasetId")] |
| 0 | 99 | | public string TargetDatasetId { get; set; } |
| | 100 | |
|
| | 101 | | /// <summary> |
| | 102 | | /// Gets or sets the coefficient result that triggered the event. |
| | 103 | | /// </summary> |
| | 104 | | [JsonProperty(PropertyName = "driftCoefficient")] |
| 0 | 105 | | public double? DriftCoefficient { get; set; } |
| | 106 | |
|
| | 107 | | /// <summary> |
| | 108 | | /// Gets or sets the start time of the target dataset time series that |
| | 109 | | /// resulted in drift detection. |
| | 110 | | /// </summary> |
| | 111 | | [JsonProperty(PropertyName = "startTime")] |
| 0 | 112 | | public System.DateTime? StartTime { get; set; } |
| | 113 | |
|
| | 114 | | /// <summary> |
| | 115 | | /// Gets or sets the end time of the target dataset time series that |
| | 116 | | /// resulted in drift detection. |
| | 117 | | /// </summary> |
| | 118 | | [JsonProperty(PropertyName = "endTime")] |
| 0 | 119 | | public System.DateTime? EndTime { get; set; } |
| | 120 | |
|
| | 121 | | } |
| | 122 | | } |