Class MachineLearningServicesModelRegisteredEventData
java.lang.Object
com.azure.messaging.eventgrid.systemevents.MachineLearningServicesModelRegisteredEventData
- All Implemented Interfaces:
com.azure.json.JsonSerializable<MachineLearningServicesModelRegisteredEventData>
public final class MachineLearningServicesModelRegisteredEventData
extends Object
implements com.azure.json.JsonSerializable<MachineLearningServicesModelRegisteredEventData>
Schema of the Data property of an EventGridEvent for a Microsoft.MachineLearningServices.ModelRegistered event.
-
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of MachineLearningServicesModelRegisteredEventData from the JsonReader.Get the modelName property: The name of the model that was registered.Get the modelProperties property: The properties of the model that was registered.Get the modelTags property: The tags of the model that was registered.Get the modelVersion property: The version of the model that was registered.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Method Details
-
getModelName
Get the modelName property: The name of the model that was registered.- Returns:
- the modelName value.
-
getModelVersion
Get the modelVersion property: The version of the model that was registered.- Returns:
- the modelVersion value.
-
getModelTags
Get the modelTags property: The tags of the model that was registered.- Returns:
- the modelTags value.
-
getModelProperties
Get the modelProperties property: The properties of the model that was registered.- Returns:
- the modelProperties value.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<MachineLearningServicesModelRegisteredEventData>- Throws:
IOException
-
fromJson
public static MachineLearningServicesModelRegisteredEventData fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of MachineLearningServicesModelRegisteredEventData from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of MachineLearningServicesModelRegisteredEventData if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the MachineLearningServicesModelRegisteredEventData.
-