From 0322d440504707b35471bc152cdd52740dd8e290 Mon Sep 17 00:00:00 2001 From: arcturusZhang Date: Wed, 23 Oct 2019 14:46:15 +0800 Subject: [PATCH] Fix profiles --- .../cognitiveservices/luis/runtime/models.go | 52 ------------------- .../luis/runtime/runtimeapi/models.go | 24 --------- 2 files changed, 76 deletions(-) delete mode 100644 profiles/preview/preview/cognitiveservices/luis/runtime/models.go delete mode 100644 profiles/preview/preview/cognitiveservices/luis/runtime/runtimeapi/models.go diff --git a/profiles/preview/preview/cognitiveservices/luis/runtime/models.go b/profiles/preview/preview/cognitiveservices/luis/runtime/models.go deleted file mode 100644 index 07f74266913b..000000000000 --- a/profiles/preview/preview/cognitiveservices/luis/runtime/models.go +++ /dev/null @@ -1,52 +0,0 @@ -// +build go1.9 - -// Copyright 2019 Microsoft Corporation -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// This code was auto-generated by: -// github.com/Azure/azure-sdk-for-go/tools/profileBuilder - -package runtime - -import original "github.com/Azure/azure-sdk-for-go/services/preview/cognitiveservices/v3.0/luis/runtime" - -type BaseClient = original.BaseClient -type DynamicList = original.DynamicList -type Error = original.Error -type ErrorBody = original.ErrorBody -type ExternalEntity = original.ExternalEntity -type Intent = original.Intent -type Prediction = original.Prediction -type PredictionClient = original.PredictionClient -type PredictionRequest = original.PredictionRequest -type PredictionRequestOptions = original.PredictionRequestOptions -type PredictionResponse = original.PredictionResponse -type RequestList = original.RequestList -type Sentiment = original.Sentiment - -func New(endpoint string) BaseClient { - return original.New(endpoint) -} -func NewPredictionClient(endpoint string) PredictionClient { - return original.NewPredictionClient(endpoint) -} -func NewWithoutDefaults(endpoint string) BaseClient { - return original.NewWithoutDefaults(endpoint) -} -func UserAgent() string { - return original.UserAgent() + " profiles/preview" -} -func Version() string { - return original.Version() -} diff --git a/profiles/preview/preview/cognitiveservices/luis/runtime/runtimeapi/models.go b/profiles/preview/preview/cognitiveservices/luis/runtime/runtimeapi/models.go deleted file mode 100644 index 8a2b27b774f6..000000000000 --- a/profiles/preview/preview/cognitiveservices/luis/runtime/runtimeapi/models.go +++ /dev/null @@ -1,24 +0,0 @@ -// +build go1.9 - -// Copyright 2019 Microsoft Corporation -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// This code was auto-generated by: -// github.com/Azure/azure-sdk-for-go/tools/profileBuilder - -package runtimeapi - -import original "github.com/Azure/azure-sdk-for-go/services/preview/cognitiveservices/v3.0/luis/runtime/runtimeapi" - -type PredictionClientAPI = original.PredictionClientAPI