| | 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.ModelRegistered event. |
| | 19 | | /// </summary> |
| | 20 | | public partial class MachineLearningServicesModelRegisteredEventData |
| | 21 | | { |
| | 22 | | /// <summary> |
| | 23 | | /// Initializes a new instance of the |
| | 24 | | /// MachineLearningServicesModelRegisteredEventData class. |
| | 25 | | /// </summary> |
| 1 | 26 | | public MachineLearningServicesModelRegisteredEventData() |
| | 27 | | { |
| | 28 | | CustomInit(); |
| 1 | 29 | | } |
| | 30 | |
|
| | 31 | | /// <summary> |
| | 32 | | /// Initializes a new instance of the |
| | 33 | | /// MachineLearningServicesModelRegisteredEventData class. |
| | 34 | | /// </summary> |
| | 35 | | /// <param name="modelName">The name of the model that was |
| | 36 | | /// registered.</param> |
| | 37 | | /// <param name="modelVersion">The version of the model that was |
| | 38 | | /// registered.</param> |
| | 39 | | /// <param name="modelTags">The tags of the model that was |
| | 40 | | /// registered.</param> |
| | 41 | | /// <param name="modelProperties">The properties of the model that was |
| | 42 | | /// registered.</param> |
| 0 | 43 | | public MachineLearningServicesModelRegisteredEventData(string modelName = default(string), string modelVersion = |
| | 44 | | { |
| 0 | 45 | | ModelName = modelName; |
| 0 | 46 | | ModelVersion = modelVersion; |
| 0 | 47 | | ModelTags = modelTags; |
| 0 | 48 | | ModelProperties = modelProperties; |
| | 49 | | CustomInit(); |
| 0 | 50 | | } |
| | 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 name of the model that was registered. |
| | 59 | | /// </summary> |
| | 60 | | [JsonProperty(PropertyName = "modelName")] |
| 2 | 61 | | public string ModelName { get; set; } |
| | 62 | |
|
| | 63 | | /// <summary> |
| | 64 | | /// Gets or sets the version of the model that was registered. |
| | 65 | | /// </summary> |
| | 66 | | [JsonProperty(PropertyName = "modelVersion")] |
| 2 | 67 | | public string ModelVersion { get; set; } |
| | 68 | |
|
| | 69 | | /// <summary> |
| | 70 | | /// Gets or sets the tags of the model that was registered. |
| | 71 | | /// </summary> |
| | 72 | | [JsonProperty(PropertyName = "modelTags")] |
| 4 | 73 | | public object ModelTags { get; set; } |
| | 74 | |
|
| | 75 | | /// <summary> |
| | 76 | | /// Gets or sets the properties of the model that was registered. |
| | 77 | | /// </summary> |
| | 78 | | [JsonProperty(PropertyName = "modelProperties")] |
| 4 | 79 | | public object ModelProperties { get; set; } |
| | 80 | |
|
| | 81 | | } |
| | 82 | | } |