From 6652f1d4a22387dc951917194c37f403cca150b0 Mon Sep 17 00:00:00 2001 From: SDK Automation Date: Thu, 2 Apr 2020 03:18:11 +0000 Subject: [PATCH] Generated from 2d5e64e128672bf29c65595184d6f586c451abb6 fix: java tag error --- sdk/eventgrid/mgmt-v2018_05_01_preview/pom.xml | 4 +++- .../eventgrid/v2018_05_01_preview/DeadLetterDestination.java | 2 +- .../EventHubEventSubscriptionDestination.java | 2 +- .../v2018_05_01_preview/EventSubscriptionDestination.java | 2 +- .../HybridConnectionEventSubscriptionDestination.java | 2 +- .../eventgrid/v2018_05_01_preview/InputSchemaMapping.java | 2 +- .../eventgrid/v2018_05_01_preview/JsonInputSchemaMapping.java | 2 +- .../v2018_05_01_preview/StorageBlobDeadLetterDestination.java | 2 +- .../StorageQueueEventSubscriptionDestination.java | 2 +- .../WebHookEventSubscriptionDestination.java | 2 +- 10 files changed, 12 insertions(+), 10 deletions(-) diff --git a/sdk/eventgrid/mgmt-v2018_05_01_preview/pom.xml b/sdk/eventgrid/mgmt-v2018_05_01_preview/pom.xml index 97a995faafeb8..8daa7cf34eff0 100644 --- a/sdk/eventgrid/mgmt-v2018_05_01_preview/pom.xml +++ b/sdk/eventgrid/mgmt-v2018_05_01_preview/pom.xml @@ -11,7 +11,7 @@ com.microsoft.azure azure-arm-parent - 1.2.0 + 1.1.0 ../../../pom.management.xml azure-mgmt-eventgrid @@ -71,6 +71,8 @@ azure-arm-client-runtime test-jar test + + 1.6.5 diff --git a/sdk/eventgrid/mgmt-v2018_05_01_preview/src/main/java/com/microsoft/azure/management/eventgrid/v2018_05_01_preview/DeadLetterDestination.java b/sdk/eventgrid/mgmt-v2018_05_01_preview/src/main/java/com/microsoft/azure/management/eventgrid/v2018_05_01_preview/DeadLetterDestination.java index 8cb5893ed6538..fea461dba29c0 100644 --- a/sdk/eventgrid/mgmt-v2018_05_01_preview/src/main/java/com/microsoft/azure/management/eventgrid/v2018_05_01_preview/DeadLetterDestination.java +++ b/sdk/eventgrid/mgmt-v2018_05_01_preview/src/main/java/com/microsoft/azure/management/eventgrid/v2018_05_01_preview/DeadLetterDestination.java @@ -19,7 +19,7 @@ * StorageBlobDeadLetterDestination is the only class that derives from this * class. */ -@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "endpointType") +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "endpointType", defaultImpl = DeadLetterDestination.class) @JsonTypeName("DeadLetterDestination") @JsonSubTypes({ @JsonSubTypes.Type(name = "StorageBlob", value = StorageBlobDeadLetterDestination.class) diff --git a/sdk/eventgrid/mgmt-v2018_05_01_preview/src/main/java/com/microsoft/azure/management/eventgrid/v2018_05_01_preview/EventHubEventSubscriptionDestination.java b/sdk/eventgrid/mgmt-v2018_05_01_preview/src/main/java/com/microsoft/azure/management/eventgrid/v2018_05_01_preview/EventHubEventSubscriptionDestination.java index 619a8b5e0694a..69d8e165c2e0b 100644 --- a/sdk/eventgrid/mgmt-v2018_05_01_preview/src/main/java/com/microsoft/azure/management/eventgrid/v2018_05_01_preview/EventHubEventSubscriptionDestination.java +++ b/sdk/eventgrid/mgmt-v2018_05_01_preview/src/main/java/com/microsoft/azure/management/eventgrid/v2018_05_01_preview/EventHubEventSubscriptionDestination.java @@ -16,7 +16,7 @@ /** * Information about the event hub destination for an event subscription. */ -@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "endpointType") +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "endpointType", defaultImpl = EventHubEventSubscriptionDestination.class) @JsonTypeName("EventHub") @JsonFlatten public class EventHubEventSubscriptionDestination extends EventSubscriptionDestination { diff --git a/sdk/eventgrid/mgmt-v2018_05_01_preview/src/main/java/com/microsoft/azure/management/eventgrid/v2018_05_01_preview/EventSubscriptionDestination.java b/sdk/eventgrid/mgmt-v2018_05_01_preview/src/main/java/com/microsoft/azure/management/eventgrid/v2018_05_01_preview/EventSubscriptionDestination.java index 5bc0efb9141ee..4bc66a77a777d 100644 --- a/sdk/eventgrid/mgmt-v2018_05_01_preview/src/main/java/com/microsoft/azure/management/eventgrid/v2018_05_01_preview/EventSubscriptionDestination.java +++ b/sdk/eventgrid/mgmt-v2018_05_01_preview/src/main/java/com/microsoft/azure/management/eventgrid/v2018_05_01_preview/EventSubscriptionDestination.java @@ -15,7 +15,7 @@ /** * Information about the destination for an event subscription. */ -@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "endpointType") +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "endpointType", defaultImpl = EventSubscriptionDestination.class) @JsonTypeName("EventSubscriptionDestination") @JsonSubTypes({ @JsonSubTypes.Type(name = "WebHook", value = WebHookEventSubscriptionDestination.class), diff --git a/sdk/eventgrid/mgmt-v2018_05_01_preview/src/main/java/com/microsoft/azure/management/eventgrid/v2018_05_01_preview/HybridConnectionEventSubscriptionDestination.java b/sdk/eventgrid/mgmt-v2018_05_01_preview/src/main/java/com/microsoft/azure/management/eventgrid/v2018_05_01_preview/HybridConnectionEventSubscriptionDestination.java index 2c550bcd53452..703c28cb31c71 100644 --- a/sdk/eventgrid/mgmt-v2018_05_01_preview/src/main/java/com/microsoft/azure/management/eventgrid/v2018_05_01_preview/HybridConnectionEventSubscriptionDestination.java +++ b/sdk/eventgrid/mgmt-v2018_05_01_preview/src/main/java/com/microsoft/azure/management/eventgrid/v2018_05_01_preview/HybridConnectionEventSubscriptionDestination.java @@ -17,7 +17,7 @@ * Information about the HybridConnection destination for an event * subscription. */ -@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "endpointType") +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "endpointType", defaultImpl = HybridConnectionEventSubscriptionDestination.class) @JsonTypeName("HybridConnection") @JsonFlatten public class HybridConnectionEventSubscriptionDestination extends EventSubscriptionDestination { diff --git a/sdk/eventgrid/mgmt-v2018_05_01_preview/src/main/java/com/microsoft/azure/management/eventgrid/v2018_05_01_preview/InputSchemaMapping.java b/sdk/eventgrid/mgmt-v2018_05_01_preview/src/main/java/com/microsoft/azure/management/eventgrid/v2018_05_01_preview/InputSchemaMapping.java index 9b05462d80c1b..8971c855b7bf2 100644 --- a/sdk/eventgrid/mgmt-v2018_05_01_preview/src/main/java/com/microsoft/azure/management/eventgrid/v2018_05_01_preview/InputSchemaMapping.java +++ b/sdk/eventgrid/mgmt-v2018_05_01_preview/src/main/java/com/microsoft/azure/management/eventgrid/v2018_05_01_preview/InputSchemaMapping.java @@ -18,7 +18,7 @@ * custom input schema. Currently, the only supported type of * InputSchemaMapping is 'JsonInputSchemaMapping'. */ -@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "inputSchemaMappingType") +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "inputSchemaMappingType", defaultImpl = InputSchemaMapping.class) @JsonTypeName("InputSchemaMapping") @JsonSubTypes({ @JsonSubTypes.Type(name = "Json", value = JsonInputSchemaMapping.class) diff --git a/sdk/eventgrid/mgmt-v2018_05_01_preview/src/main/java/com/microsoft/azure/management/eventgrid/v2018_05_01_preview/JsonInputSchemaMapping.java b/sdk/eventgrid/mgmt-v2018_05_01_preview/src/main/java/com/microsoft/azure/management/eventgrid/v2018_05_01_preview/JsonInputSchemaMapping.java index 1535070e375ba..a6bf06f3043fa 100644 --- a/sdk/eventgrid/mgmt-v2018_05_01_preview/src/main/java/com/microsoft/azure/management/eventgrid/v2018_05_01_preview/JsonInputSchemaMapping.java +++ b/sdk/eventgrid/mgmt-v2018_05_01_preview/src/main/java/com/microsoft/azure/management/eventgrid/v2018_05_01_preview/JsonInputSchemaMapping.java @@ -18,7 +18,7 @@ * be used to map properties from a custom input JSON schema to the Event Grid * event schema. */ -@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "inputSchemaMappingType") +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "inputSchemaMappingType", defaultImpl = JsonInputSchemaMapping.class) @JsonTypeName("Json") @JsonFlatten public class JsonInputSchemaMapping extends InputSchemaMapping { diff --git a/sdk/eventgrid/mgmt-v2018_05_01_preview/src/main/java/com/microsoft/azure/management/eventgrid/v2018_05_01_preview/StorageBlobDeadLetterDestination.java b/sdk/eventgrid/mgmt-v2018_05_01_preview/src/main/java/com/microsoft/azure/management/eventgrid/v2018_05_01_preview/StorageBlobDeadLetterDestination.java index bf357e5dc13ea..780ede98c20ac 100644 --- a/sdk/eventgrid/mgmt-v2018_05_01_preview/src/main/java/com/microsoft/azure/management/eventgrid/v2018_05_01_preview/StorageBlobDeadLetterDestination.java +++ b/sdk/eventgrid/mgmt-v2018_05_01_preview/src/main/java/com/microsoft/azure/management/eventgrid/v2018_05_01_preview/StorageBlobDeadLetterDestination.java @@ -16,7 +16,7 @@ /** * Information about the storage blob based dead letter destination. */ -@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "endpointType") +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "endpointType", defaultImpl = StorageBlobDeadLetterDestination.class) @JsonTypeName("StorageBlob") @JsonFlatten public class StorageBlobDeadLetterDestination extends DeadLetterDestination { diff --git a/sdk/eventgrid/mgmt-v2018_05_01_preview/src/main/java/com/microsoft/azure/management/eventgrid/v2018_05_01_preview/StorageQueueEventSubscriptionDestination.java b/sdk/eventgrid/mgmt-v2018_05_01_preview/src/main/java/com/microsoft/azure/management/eventgrid/v2018_05_01_preview/StorageQueueEventSubscriptionDestination.java index b4215787aab08..afd9d3d40b9bf 100644 --- a/sdk/eventgrid/mgmt-v2018_05_01_preview/src/main/java/com/microsoft/azure/management/eventgrid/v2018_05_01_preview/StorageQueueEventSubscriptionDestination.java +++ b/sdk/eventgrid/mgmt-v2018_05_01_preview/src/main/java/com/microsoft/azure/management/eventgrid/v2018_05_01_preview/StorageQueueEventSubscriptionDestination.java @@ -16,7 +16,7 @@ /** * Information about the storage queue destination for an event subscription. */ -@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "endpointType") +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "endpointType", defaultImpl = StorageQueueEventSubscriptionDestination.class) @JsonTypeName("StorageQueue") @JsonFlatten public class StorageQueueEventSubscriptionDestination extends EventSubscriptionDestination { diff --git a/sdk/eventgrid/mgmt-v2018_05_01_preview/src/main/java/com/microsoft/azure/management/eventgrid/v2018_05_01_preview/WebHookEventSubscriptionDestination.java b/sdk/eventgrid/mgmt-v2018_05_01_preview/src/main/java/com/microsoft/azure/management/eventgrid/v2018_05_01_preview/WebHookEventSubscriptionDestination.java index 1bcf9bc01547a..edbe0020b2fa1 100644 --- a/sdk/eventgrid/mgmt-v2018_05_01_preview/src/main/java/com/microsoft/azure/management/eventgrid/v2018_05_01_preview/WebHookEventSubscriptionDestination.java +++ b/sdk/eventgrid/mgmt-v2018_05_01_preview/src/main/java/com/microsoft/azure/management/eventgrid/v2018_05_01_preview/WebHookEventSubscriptionDestination.java @@ -16,7 +16,7 @@ /** * Information about the webhook destination for an event subscription. */ -@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "endpointType") +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "endpointType", defaultImpl = WebHookEventSubscriptionDestination.class) @JsonTypeName("WebHook") @JsonFlatten public class WebHookEventSubscriptionDestination extends EventSubscriptionDestination {