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 Details

    • getModelName

      public String getModelName()
      Get the modelName property: The name of the model that was registered.
      Returns:
      the modelName value.
    • getModelVersion

      public String getModelVersion()
      Get the modelVersion property: The version of the model that was registered.
      Returns:
      the modelVersion value.
    • getModelTags

      public Map<String,com.azure.core.util.BinaryData> getModelTags()
      Get the modelTags property: The tags of the model that was registered.
      Returns:
      the modelTags value.
    • getModelProperties

      public Map<String,com.azure.core.util.BinaryData> getModelProperties()
      Get the modelProperties property: The properties of the model that was registered.
      Returns:
      the modelProperties value.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.