### YamlMime:JavaType uid: "com.azure.resourcemanager.machinelearning.models.Webhook" fullName: "com.azure.resourcemanager.machinelearning.models.Webhook" name: "Webhook" nameWithType: "Webhook" summary: "Webhook base." inheritances: - "" inheritedClassMethods: - classRef: "java.lang.Object" methodsRef: - "clone" - "equals" - "finalize" - "getClass" - "hashCode" - "notify" - "notifyAll" - "toString" - "wait" - "wait" - "wait" syntax: "public class **Webhook**
implements <>" constructors: - uid: "com.azure.resourcemanager.machinelearning.models.Webhook.Webhook()" fullName: "com.azure.resourcemanager.machinelearning.models.Webhook.Webhook()" name: "Webhook()" nameWithType: "Webhook.Webhook()" summary: "Creates an instance of Webhook class." syntax: "public Webhook()" desc: "Creates an instance of Webhook class." methods: - uid: "com.azure.resourcemanager.machinelearning.models.Webhook.eventType()" fullName: "com.azure.resourcemanager.machinelearning.models.Webhook.eventType()" name: "eventType()" nameWithType: "Webhook.eventType()" summary: "Get the eventType property: Send callback on a specified notification event." syntax: "public String eventType()" desc: "Get the eventType property: Send callback on a specified notification event." returns: description: "the eventType value." type: "String" - uid: "com.azure.resourcemanager.machinelearning.models.Webhook.fromJson(com.azure.json.JsonReader)" fullName: "com.azure.resourcemanager.machinelearning.models.Webhook.fromJson(JsonReader jsonReader)" name: "fromJson(JsonReader jsonReader)" nameWithType: "Webhook.fromJson(JsonReader jsonReader)" summary: "Reads an instance of Webhook from the JsonReader." modifiers: - "static" parameters: - description: "The JsonReader being read." name: "jsonReader" type: "" syntax: "public static Webhook fromJson(JsonReader jsonReader)" exceptions: - description: "If an error occurs while reading the Webhook." type: "IOException" desc: "Reads an instance of Webhook from the JsonReader." returns: description: "An instance of Webhook if the JsonReader was pointing to an instance of it, or null if it was pointing to\n JSON null." type: "" - uid: "com.azure.resourcemanager.machinelearning.models.Webhook.toJson(com.azure.json.JsonWriter)" fullName: "com.azure.resourcemanager.machinelearning.models.Webhook.toJson(JsonWriter jsonWriter)" name: "toJson(JsonWriter jsonWriter)" nameWithType: "Webhook.toJson(JsonWriter jsonWriter)" parameters: - name: "jsonWriter" type: "" syntax: "public JsonWriter toJson(JsonWriter jsonWriter)" exceptions: - type: "IOException" returns: type: "" - uid: "com.azure.resourcemanager.machinelearning.models.Webhook.validate()" fullName: "com.azure.resourcemanager.machinelearning.models.Webhook.validate()" name: "validate()" nameWithType: "Webhook.validate()" summary: "Validates the instance." syntax: "public void validate()" desc: "Validates the instance." - uid: "com.azure.resourcemanager.machinelearning.models.Webhook.webhookType()" fullName: "com.azure.resourcemanager.machinelearning.models.Webhook.webhookType()" name: "webhookType()" nameWithType: "Webhook.webhookType()" summary: "Get the webhookType property: \\[Required\\] Specifies the type of service to send a callback." syntax: "public WebhookType webhookType()" desc: "Get the webhookType property: \\[Required\\] Specifies the type of service to send a callback." returns: description: "the webhookType value." type: "" - uid: "com.azure.resourcemanager.machinelearning.models.Webhook.withEventType(java.lang.String)" fullName: "com.azure.resourcemanager.machinelearning.models.Webhook.withEventType(String eventType)" name: "withEventType(String eventType)" nameWithType: "Webhook.withEventType(String eventType)" summary: "Set the eventType property: Send callback on a specified notification event." parameters: - description: "the eventType value to set." name: "eventType" type: "String" syntax: "public Webhook withEventType(String eventType)" desc: "Set the eventType property: Send callback on a specified notification event." returns: description: "the Webhook object itself." type: "" type: "class" desc: "Webhook base." implements: - "<>" metadata: {} package: "com.azure.resourcemanager.machinelearning.models" artifact: com.azure.resourcemanager:azure-resourcemanager-machinelearning:1.1.0