Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR cognitiveservices/data-plane/LUIS/Runtime/cognitiveservices/data-plane/LUIS/Authoring] [Cognitive Services] Update endpoint URL template for LUIS. #2302

Merged
merged 3 commits into from
Aug 17, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 6 additions & 13 deletions profiles/latest/cognitiveservices/luis/runtime/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@ package runtime

import original "github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v2.0/luis/runtime"

const (
DefaultBaseURI = original.DefaultBaseURI
)

type BaseClient = original.BaseClient
type APIError = original.APIError
type CompositeChildModel = original.CompositeChildModel
Expand All @@ -37,17 +33,14 @@ type LuisResult = original.LuisResult
type Sentiment = original.Sentiment
type PredictionClient = original.PredictionClient

func New() BaseClient {
return original.New()
}
func NewWithBaseURI(baseURI string) BaseClient {
return original.NewWithBaseURI(baseURI)
func New(endpoint string) BaseClient {
return original.New(endpoint)
}
func NewPredictionClient() PredictionClient {
return original.NewPredictionClient()
func NewWithoutDefaults(endpoint string) BaseClient {
return original.NewWithoutDefaults(endpoint)
}
func NewPredictionClientWithBaseURI(baseURI string) PredictionClient {
return original.NewPredictionClientWithBaseURI(baseURI)
func NewPredictionClient(endpoint string) PredictionClient {
return original.NewPredictionClient(endpoint)
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
Expand Down
69 changes: 20 additions & 49 deletions profiles/preview/cognitiveservices/luis/authoring/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@ package authoring
import original "github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v2.0/luis/authoring"

type AppsClient = original.AppsClient

const (
DefaultBaseURI = original.DefaultBaseURI
)

type BaseClient = original.BaseClient
type ExamplesClient = original.ExamplesClient
type FeaturesClient = original.FeaturesClient
Expand Down Expand Up @@ -359,35 +354,23 @@ type PermissionsClient = original.PermissionsClient
type TrainClient = original.TrainClient
type VersionsClient = original.VersionsClient

func NewAppsClient() AppsClient {
return original.NewAppsClient()
}
func NewAppsClientWithBaseURI(baseURI string) AppsClient {
return original.NewAppsClientWithBaseURI(baseURI)
}
func New() BaseClient {
return original.New()
func NewAppsClient(endpoint string) AppsClient {
return original.NewAppsClient(endpoint)
}
func NewWithBaseURI(baseURI string) BaseClient {
return original.NewWithBaseURI(baseURI)
func New(endpoint string) BaseClient {
return original.New(endpoint)
}
func NewExamplesClient() ExamplesClient {
return original.NewExamplesClient()
func NewWithoutDefaults(endpoint string) BaseClient {
return original.NewWithoutDefaults(endpoint)
}
func NewExamplesClientWithBaseURI(baseURI string) ExamplesClient {
return original.NewExamplesClientWithBaseURI(baseURI)
func NewExamplesClient(endpoint string) ExamplesClient {
return original.NewExamplesClient(endpoint)
}
func NewFeaturesClient() FeaturesClient {
return original.NewFeaturesClient()
func NewFeaturesClient(endpoint string) FeaturesClient {
return original.NewFeaturesClient(endpoint)
}
func NewFeaturesClientWithBaseURI(baseURI string) FeaturesClient {
return original.NewFeaturesClientWithBaseURI(baseURI)
}
func NewModelClient() ModelClient {
return original.NewModelClient()
}
func NewModelClientWithBaseURI(baseURI string) ModelClient {
return original.NewModelClientWithBaseURI(baseURI)
func NewModelClient(endpoint string) ModelClient {
return original.NewModelClient(endpoint)
}
func PossibleOperationStatusTypeValues() []OperationStatusType {
return original.PossibleOperationStatusTypeValues()
Expand Down Expand Up @@ -434,33 +417,21 @@ func PossibleStatus1Values() []Status1 {
func PossibleTrainingStatusValues() []TrainingStatus {
return original.PossibleTrainingStatusValues()
}
func NewPatternClient() PatternClient {
return original.NewPatternClient()
}
func NewPatternClientWithBaseURI(baseURI string) PatternClient {
return original.NewPatternClientWithBaseURI(baseURI)
func NewPatternClient(endpoint string) PatternClient {
return original.NewPatternClient(endpoint)
}
func NewPermissionsClient() PermissionsClient {
return original.NewPermissionsClient()
func NewPermissionsClient(endpoint string) PermissionsClient {
return original.NewPermissionsClient(endpoint)
}
func NewPermissionsClientWithBaseURI(baseURI string) PermissionsClient {
return original.NewPermissionsClientWithBaseURI(baseURI)
}
func NewTrainClient() TrainClient {
return original.NewTrainClient()
}
func NewTrainClientWithBaseURI(baseURI string) TrainClient {
return original.NewTrainClientWithBaseURI(baseURI)
func NewTrainClient(endpoint string) TrainClient {
return original.NewTrainClient(endpoint)
}
func UserAgent() string {
return original.UserAgent() + " profiles/preview"
}
func Version() string {
return original.Version()
}
func NewVersionsClient() VersionsClient {
return original.NewVersionsClient()
}
func NewVersionsClientWithBaseURI(baseURI string) VersionsClient {
return original.NewVersionsClientWithBaseURI(baseURI)
func NewVersionsClient(endpoint string) VersionsClient {
return original.NewVersionsClient(endpoint)
}
19 changes: 6 additions & 13 deletions profiles/preview/cognitiveservices/luis/runtime/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@ package runtime

import original "github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v2.0/luis/runtime"

const (
DefaultBaseURI = original.DefaultBaseURI
)

type BaseClient = original.BaseClient
type APIError = original.APIError
type CompositeChildModel = original.CompositeChildModel
Expand All @@ -37,17 +33,14 @@ type LuisResult = original.LuisResult
type Sentiment = original.Sentiment
type PredictionClient = original.PredictionClient

func New() BaseClient {
return original.New()
}
func NewWithBaseURI(baseURI string) BaseClient {
return original.NewWithBaseURI(baseURI)
func New(endpoint string) BaseClient {
return original.New(endpoint)
}
func NewPredictionClient() PredictionClient {
return original.NewPredictionClient()
func NewWithoutDefaults(endpoint string) BaseClient {
return original.NewWithoutDefaults(endpoint)
}
func NewPredictionClientWithBaseURI(baseURI string) PredictionClient {
return original.NewPredictionClientWithBaseURI(baseURI)
func NewPredictionClient(endpoint string) PredictionClient {
return original.NewPredictionClient(endpoint)
}
func UserAgent() string {
return original.UserAgent() + " profiles/preview"
Expand Down
Loading