From e9af8a0b9dbd090cd643d48f8f752e640d027ae2 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Thu, 12 Nov 2020 05:17:14 +0000 Subject: [PATCH] CodeGen from PR 11631 in Azure/azure-rest-api-specs fix example (#11631) Co-authored-by: Ashraf Hamad --- .../2017-09-15-preview/eventgrid/models.go | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid/models.go b/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid/models.go index 975bb95b1417..0decc34603a9 100644 --- a/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid/models.go +++ b/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid/models.go @@ -28,7 +28,8 @@ import ( // The package's fully qualified name. const fqdn = "github.com/Azure/azure-sdk-for-go/services/preview/eventgrid/mgmt/2017-09-15-preview/eventgrid" -// EventHubEventSubscriptionDestination information about the event hub destination for an event subscription +// EventHubEventSubscriptionDestination information about the event hub destination for an event +// subscription type EventHubEventSubscriptionDestination struct { // EventHubEventSubscriptionDestinationProperties - Event Hub Properties of the event subscription destination *EventHubEventSubscriptionDestinationProperties `json:"properties,omitempty"` @@ -375,8 +376,8 @@ func (esp *EventSubscriptionProperties) UnmarshalJSON(body []byte) error { return nil } -// EventSubscriptionsCreateFuture an abstraction for monitoring and retrieving the results of a long-running -// operation. +// EventSubscriptionsCreateFuture an abstraction for monitoring and retrieving the results of a +// long-running operation. type EventSubscriptionsCreateFuture struct { azure.Future } @@ -404,8 +405,8 @@ func (future *EventSubscriptionsCreateFuture) Result(client EventSubscriptionsCl return } -// EventSubscriptionsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running -// operation. +// EventSubscriptionsDeleteFuture an abstraction for monitoring and retrieving the results of a +// long-running operation. type EventSubscriptionsDeleteFuture struct { azure.Future } @@ -434,8 +435,8 @@ type EventSubscriptionsListResult struct { Value *[]EventSubscription `json:"value,omitempty"` } -// EventSubscriptionsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running -// operation. +// EventSubscriptionsUpdateFuture an abstraction for monitoring and retrieving the results of a +// long-running operation. type EventSubscriptionsUpdateFuture struct { azure.Future } @@ -1065,8 +1066,8 @@ func (whesd *WebHookEventSubscriptionDestination) UnmarshalJSON(body []byte) err return nil } -// WebHookEventSubscriptionDestinationProperties information about the webhook destination properties for an -// event subscription +// WebHookEventSubscriptionDestinationProperties information about the webhook destination properties for +// an event subscription type WebHookEventSubscriptionDestinationProperties struct { // EndpointURL - The URL that represents the endpoint of the destination of an event subscription. EndpointURL *string `json:"endpointUrl,omitempty"`