Skip to content

Commit

Permalink
Generated from d3620f1cf3fda9d30555c4b0e47a1ea521ca5404 (#5799)
Browse files Browse the repository at this point in the history
Review 1 + remove v3.0 preview
  • Loading branch information
AutorestCI authored and ArcturusZhang committed Sep 20, 2019
1 parent 811731f commit 4faf540
Show file tree
Hide file tree
Showing 9 changed files with 644 additions and 0 deletions.
52 changes: 52 additions & 0 deletions profiles/latest/stable/cognitiveservices/luis/runtime/models.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
// +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/stable/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/latest"
}
func Version() string {
return original.Version()
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
// +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/stable/cognitiveservices/v3.0/luis/runtime/runtimeapi"

type PredictionClientAPI = original.PredictionClientAPI
52 changes: 52 additions & 0 deletions profiles/preview/stable/cognitiveservices/luis/runtime/models.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
// +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/stable/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()
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
// +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/stable/cognitiveservices/v3.0/luis/runtime/runtimeapi"

type PredictionClientAPI = original.PredictionClientAPI
44 changes: 44 additions & 0 deletions services/stable/cognitiveservices/v3.0/luis/runtime/client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

152 changes: 152 additions & 0 deletions services/stable/cognitiveservices/v3.0/luis/runtime/models.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 4faf540

Please sign in to comment.