diff --git a/api-specs.json b/api-specs.json
index 2187614d8f1c..e2f7de958adf 100644
--- a/api-specs.json
+++ b/api-specs.json
@@ -50,6 +50,10 @@
"source": "specification/eventgrid/data-plane/readme.md",
"args": "--multiapi"
},
+ "hdinsight/resource-manager": {
+ "source": "specification/hdinsight/resource-manager/readme.md",
+ "args": "--multiapi --fluent"
+ },
"iotcentral/resource-manager": {
"source": "specification/iotcentral/resource-manager/readme.md",
"args": "--multiapi --fluent",
@@ -68,10 +72,18 @@
"source": "specification/keyvault/resource-manager/readme.md",
"args": "--multiapi --fluent"
},
+ "loganalytics/data-plane": {
+ "source": "specification/operationalinsights/data-plane/readme.md",
+ "args": "--payload-flattening-threshold=1 --override-client-name=LogAnalyticsDataClient"
+ },
"logic/resource-manager": {
"source": "specification/logic/resource-manager/readme.md",
"args": "--multiapi --fluent"
},
+ "notificationhubs/resource-manager": {
+ "source": "specification/notificationhubs/resource-manager/readme.md",
+ "args": "--multiapi --fluent"
+ },
"mediaservices/resource-manager": {
"source": "specification/mediaservices/resource-manager/readme.md",
"args": "--multiapi --fluent"
diff --git a/cognitiveservices/data-plane/language/bingspellcheck/pom.xml b/cognitiveservices/data-plane/language/bingspellcheck/pom.xml
index 11852af03000..a175bc04e384 100755
--- a/cognitiveservices/data-plane/language/bingspellcheck/pom.xml
+++ b/cognitiveservices/data-plane/language/bingspellcheck/pom.xml
@@ -8,15 +8,15 @@
com.microsoft.azure.cognitiveservices
azure-cognitiveservices-parent
- 1.0.1
+ 1.0.2
../../pom.xml
- 1.0.1
+ 1.0.2
azure-cognitiveservices-spellcheck
jar
Microsoft Azure SDK for Cognitive Service Spell Check
This package contains Microsoft Cognitive Service Spell Check SDK.
- https://github.com/Azure/azure-sdk-for-java/azure-cognitiveservices/language/bingspellcheck
+ https://github.com/Azure/azure-sdk-for-java/cognitiveservices/data-plane/language/bingspellcheck
The MIT License (MIT)
diff --git a/cognitiveservices/data-plane/language/luis/authoring/pom.xml b/cognitiveservices/data-plane/language/luis/authoring/pom.xml
index 095807a44801..878d915c0ed1 100644
--- a/cognitiveservices/data-plane/language/luis/authoring/pom.xml
+++ b/cognitiveservices/data-plane/language/luis/authoring/pom.xml
@@ -8,15 +8,15 @@
com.microsoft.azure.cognitiveservices
azure-cognitiveservices-parent
- 1.0.1
+ 1.0.2
../../../pom.xml
- azure-cognitiveservices-languageunderstanding-authoring
- 1.0.1-beta
+ azure-cognitiveservices-luis-authoring
+ 1.0.2-beta
jar
Microsoft Azure SDK for Cognitive Service Language Understanding (LUIS)
This package contains Microsoft Cognitive Service Language Understanding (LUIS).
- https://github.com/Azure/azure-sdk-for-java/azure-cognitiveservices/language/luis/authoring
+ https://github.com/Azure/azure-sdk-for-java/cognitiveservices/data-plane/language/luis/authoring
The MIT License (MIT)
diff --git a/cognitiveservices/data-plane/language/luis/authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/Apps.java b/cognitiveservices/data-plane/language/luis/authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/Apps.java
index 7b1987ac2821..2ede84991ffb 100644
--- a/cognitiveservices/data-plane/language/luis/authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/Apps.java
+++ b/cognitiveservices/data-plane/language/luis/authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/Apps.java
@@ -73,7 +73,7 @@ public interface Apps {
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the List<ApplicationInfoResponse> object if successful.
*/
-
+ @Deprecated
List list(ListAppsOptionalParameter listOptionalParameter);
/**
@@ -83,7 +83,7 @@ public interface Apps {
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the List<ApplicationInfoResponse> object
*/
-
+ @Deprecated
Observable> listAsync(ListAppsOptionalParameter listOptionalParameter);
/**
@@ -155,7 +155,7 @@ interface AppsListDefinition extends
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the UUID object if successful.
*/
-
+ @Deprecated
UUID importMethod(LuisApp luisApp, ImportMethodAppsOptionalParameter importMethodOptionalParameter);
/**
@@ -166,7 +166,7 @@ interface AppsListDefinition extends
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the UUID object
*/
-
+ @Deprecated
Observable importMethodAsync(LuisApp luisApp, ImportMethodAppsOptionalParameter importMethodOptionalParameter);
/**
@@ -462,7 +462,7 @@ interface AppsImportMethodDefinition extends
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the OperationStatus object if successful.
*/
-
+ @Deprecated
OperationStatus updateSettings(UUID appId, UpdateSettingsOptionalParameter updateSettingsOptionalParameter);
/**
@@ -473,7 +473,7 @@ interface AppsImportMethodDefinition extends
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the OperationStatus object
*/
-
+ @Deprecated
Observable updateSettingsAsync(UUID appId, UpdateSettingsOptionalParameter updateSettingsOptionalParameter);
/**
diff --git a/cognitiveservices/data-plane/language/luis/authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/Examples.java b/cognitiveservices/data-plane/language/luis/authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/Examples.java
index 3217ac4fa13e..b673d2e963f8 100644
--- a/cognitiveservices/data-plane/language/luis/authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/Examples.java
+++ b/cognitiveservices/data-plane/language/luis/authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/Examples.java
@@ -87,7 +87,7 @@ public interface Examples {
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the List<LabeledUtterance> object if successful.
*/
-
+ @Deprecated
List list(UUID appId, String versionId, ListExamplesOptionalParameter listOptionalParameter);
/**
@@ -99,7 +99,7 @@ public interface Examples {
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the List<LabeledUtterance> object
*/
-
+ @Deprecated
Observable> listAsync(UUID appId, String versionId, ListExamplesOptionalParameter listOptionalParameter);
/**
diff --git a/cognitiveservices/data-plane/language/luis/authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/Features.java b/cognitiveservices/data-plane/language/luis/authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/Features.java
index 40b027313b96..647f5c198b0e 100644
--- a/cognitiveservices/data-plane/language/luis/authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/Features.java
+++ b/cognitiveservices/data-plane/language/luis/authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/Features.java
@@ -65,7 +65,7 @@ public interface Features {
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the List<PhraseListFeatureInfo> object if successful.
*/
-
+ @Deprecated
List listPhraseLists(UUID appId, String versionId, ListPhraseListsOptionalParameter listPhraseListsOptionalParameter);
/**
@@ -77,7 +77,7 @@ public interface Features {
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the List<PhraseListFeatureInfo> object
*/
-
+ @Deprecated
Observable> listPhraseListsAsync(UUID appId, String versionId, ListPhraseListsOptionalParameter listPhraseListsOptionalParameter);
/**
@@ -174,7 +174,7 @@ interface FeaturesListPhraseListsDefinition extends
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the FeaturesResponseObject object if successful.
*/
-
+ @Deprecated
FeaturesResponseObject list(UUID appId, String versionId, ListFeaturesOptionalParameter listOptionalParameter);
/**
@@ -186,7 +186,7 @@ interface FeaturesListPhraseListsDefinition extends
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the FeaturesResponseObject object
*/
-
+ @Deprecated
Observable listAsync(UUID appId, String versionId, ListFeaturesOptionalParameter listOptionalParameter);
/**
@@ -310,7 +310,7 @@ interface FeaturesListDefinition extends
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the OperationStatus object if successful.
*/
-
+ @Deprecated
OperationStatus updatePhraseList(UUID appId, String versionId, int phraselistId, UpdatePhraseListOptionalParameter updatePhraseListOptionalParameter);
/**
@@ -323,7 +323,7 @@ interface FeaturesListDefinition extends
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the OperationStatus object
*/
-
+ @Deprecated
Observable updatePhraseListAsync(UUID appId, String versionId, int phraselistId, UpdatePhraseListOptionalParameter updatePhraseListOptionalParameter);
/**
diff --git a/cognitiveservices/data-plane/language/luis/authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/LUISAuthoringAPI.java b/cognitiveservices/data-plane/language/luis/authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/LUISAuthoringClient.java
similarity index 72%
rename from cognitiveservices/data-plane/language/luis/authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/LUISAuthoringAPI.java
rename to cognitiveservices/data-plane/language/luis/authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/LUISAuthoringClient.java
index e21297ee992f..a3b9b84e9d9c 100644
--- a/cognitiveservices/data-plane/language/luis/authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/LUISAuthoringAPI.java
+++ b/cognitiveservices/data-plane/language/luis/authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/LUISAuthoringClient.java
@@ -9,13 +9,12 @@
package com.microsoft.azure.cognitiveservices.language.luis.authoring;
import com.microsoft.azure.AzureClient;
-import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.AzureRegions;
import com.microsoft.rest.RestClient;
/**
- * The interface for LUISAuthoringAPI class.
+ * The interface for LUISAuthoringClient class.
*/
-public interface LUISAuthoringAPI {
+public interface LUISAuthoringClient {
/**
* Gets the REST client.
*
@@ -36,21 +35,6 @@ public interface LUISAuthoringAPI {
*/
String userAgent();
- /**
- * Gets Supported Azure regions for Cognitive Services endpoints. Possible values include: 'westus', 'westeurope', 'southeastasia', 'eastus2', 'westcentralus', 'westus2', 'eastus', 'southcentralus', 'northeurope', 'eastasia', 'australiaeast', 'brazilsouth'.
- *
- * @return the azureRegion value.
- */
- AzureRegions azureRegion();
-
- /**
- * Sets Supported Azure regions for Cognitive Services endpoints. Possible values include: 'westus', 'westeurope', 'southeastasia', 'eastus2', 'westcentralus', 'westus2', 'eastus', 'southcentralus', 'northeurope', 'eastasia', 'australiaeast', 'brazilsouth'.
- *
- * @param azureRegion the azureRegion value.
- * @return the service client itself
- */
- LUISAuthoringAPI withAzureRegion(AzureRegions azureRegion);
-
/**
* Gets Gets or sets the preferred language for the response..
*
@@ -64,7 +48,7 @@ public interface LUISAuthoringAPI {
* @param acceptLanguage the acceptLanguage value.
* @return the service client itself
*/
- LUISAuthoringAPI withAcceptLanguage(String acceptLanguage);
+ LUISAuthoringClient withAcceptLanguage(String acceptLanguage);
/**
* Gets Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30..
@@ -79,7 +63,7 @@ public interface LUISAuthoringAPI {
* @param longRunningOperationRetryTimeout the longRunningOperationRetryTimeout value.
* @return the service client itself
*/
- LUISAuthoringAPI withLongRunningOperationRetryTimeout(int longRunningOperationRetryTimeout);
+ LUISAuthoringClient withLongRunningOperationRetryTimeout(int longRunningOperationRetryTimeout);
/**
* Gets When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true..
@@ -94,7 +78,7 @@ public interface LUISAuthoringAPI {
* @param generateClientRequestId the generateClientRequestId value.
* @return the service client itself
*/
- LUISAuthoringAPI withGenerateClientRequestId(boolean generateClientRequestId);
+ LUISAuthoringClient withGenerateClientRequestId(boolean generateClientRequestId);
/**
* Gets the Features object to access its operations.
diff --git a/cognitiveservices/data-plane/language/luis/authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/LUISAuthoringManager.java b/cognitiveservices/data-plane/language/luis/authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/LUISAuthoringManager.java
index 3ba0b50ffb33..5b4e94ff8eec 100644
--- a/cognitiveservices/data-plane/language/luis/authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/LUISAuthoringManager.java
+++ b/cognitiveservices/data-plane/language/luis/authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/LUISAuthoringManager.java
@@ -6,8 +6,7 @@
package com.microsoft.azure.cognitiveservices.language.luis.authoring;
-import com.microsoft.azure.cognitiveservices.language.luis.authoring.implementation.LUISAuthoringAPIImpl;
-import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.AzureRegions;
+import com.microsoft.azure.cognitiveservices.language.luis.authoring.implementation.LUISAuthoringClientImpl;
import com.microsoft.rest.RestClient;
import com.microsoft.rest.credentials.ServiceClientCredentials;
import okhttp3.Interceptor;
@@ -24,13 +23,11 @@ public class LUISAuthoringManager {
/**
* Initializes an instance of Language Understanding (LUIS) Authoring API client.
*
- * @param region Supported Azure regions for Cognitive Services endpoints.
* @param subscriptionKey the Language Understanding (LUIS) Authoring API key
* @return the Language Understanding Authoring API client
*/
- public static LUISAuthoringAPI authenticate(AzureRegions region, String subscriptionKey) {
- return authenticate("https://{AzureRegion}.api.cognitive.microsoft.com/luis/api/v2.0/", subscriptionKey)
- .withAzureRegion(region);
+ public static LUISAuthoringClient authenticate(String subscriptionKey) {
+ return authenticate("https://api.cognitive.microsoft.com/luis/api/v2.0/", subscriptionKey);
}
/**
@@ -40,7 +37,7 @@ public static LUISAuthoringAPI authenticate(AzureRegions region, String subscrip
* @param subscriptionKey the Language Understanding (LUIS) Authoring API key
* @return the Language Understanding (LUIS) Authoring API client
*/
- public static LUISAuthoringAPI authenticate(String baseUrl, final String subscriptionKey) {
+ public static LUISAuthoringClient authenticate(String baseUrl, final String subscriptionKey) {
ServiceClientCredentials serviceClientCredentials = new ServiceClientCredentials() {
@Override
public void applyCredentialsFilter(OkHttpClient.Builder builder) {
@@ -65,13 +62,11 @@ public Response intercept(Chain chain) throws IOException {
/**
* Initializes an instance of Language Understanding (LUIS) Authoring API client.
*
- * @param region Supported Azure regions for Cognitive Services endpoints.
* @param credentials the management credentials for Azure
* @return the Language Understanding (LUIS) Authoring API client
*/
- public static LUISAuthoringAPI authenticate(AzureRegions region, ServiceClientCredentials credentials) {
- return authenticate("https://{AzureRegion}.api.cognitive.microsoft.com/luis/api/v2.0/", credentials)
- .withAzureRegion(region);
+ public static LUISAuthoringClient authenticate(ServiceClientCredentials credentials) {
+ return authenticate("https://api.cognitive.microsoft.com/luis/api/v2.0/", credentials);
}
/**
@@ -81,8 +76,8 @@ public static LUISAuthoringAPI authenticate(AzureRegions region, ServiceClientCr
* @param credentials the management credentials for Azure
* @return the Language Understanding (LUIS) Authoring API client
*/
- public static LUISAuthoringAPI authenticate(String baseUrl, ServiceClientCredentials credentials) {
- return new LUISAuthoringAPIImpl(baseUrl, credentials);
+ public static LUISAuthoringClient authenticate(String baseUrl, ServiceClientCredentials credentials) {
+ return new LUISAuthoringClientImpl(baseUrl, credentials);
}
/**
@@ -91,7 +86,7 @@ public static LUISAuthoringAPI authenticate(String baseUrl, ServiceClientCredent
* @param restClient the REST client to connect to Azure.
* @return the Language Understanding (LUIS) Authoring API client
*/
- public static LUISAuthoringAPI authenticate(RestClient restClient) {
- return new LUISAuthoringAPIImpl(restClient);
+ public static LUISAuthoringClient authenticate(RestClient restClient) {
+ return new LUISAuthoringClientImpl(restClient);
}
}
diff --git a/cognitiveservices/data-plane/language/luis/authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/Models.java b/cognitiveservices/data-plane/language/luis/authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/Models.java
index 880d4af329fa..95e2a1be6950 100644
--- a/cognitiveservices/data-plane/language/luis/authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/Models.java
+++ b/cognitiveservices/data-plane/language/luis/authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/Models.java
@@ -99,7 +99,7 @@ public interface Models {
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the UUID object if successful.
*/
-
+ @Deprecated
UUID addIntent(UUID appId, String versionId, AddIntentOptionalParameter addIntentOptionalParameter);
/**
@@ -111,7 +111,7 @@ public interface Models {
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the UUID object
*/
-
+ @Deprecated
Observable addIntentAsync(UUID appId, String versionId, AddIntentOptionalParameter addIntentOptionalParameter);
/**
@@ -201,7 +201,7 @@ interface ModelsAddIntentDefinition extends
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the List<IntentClassifier> object if successful.
*/
-
+ @Deprecated
List listIntents(UUID appId, String versionId, ListIntentsOptionalParameter listIntentsOptionalParameter);
/**
@@ -213,7 +213,7 @@ interface ModelsAddIntentDefinition extends
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the List<IntentClassifier> object
*/
-
+ @Deprecated
Observable> listIntentsAsync(UUID appId, String versionId, ListIntentsOptionalParameter listIntentsOptionalParameter);
/**
@@ -310,7 +310,7 @@ interface ModelsListIntentsDefinition extends
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the UUID object if successful.
*/
-
+ @Deprecated
UUID addEntity(UUID appId, String versionId, AddEntityOptionalParameter addEntityOptionalParameter);
/**
@@ -322,7 +322,7 @@ interface ModelsListIntentsDefinition extends
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the UUID object
*/
-
+ @Deprecated
Observable addEntityAsync(UUID appId, String versionId, AddEntityOptionalParameter addEntityOptionalParameter);
/**
@@ -412,7 +412,7 @@ interface ModelsAddEntityDefinition extends
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the List<EntityExtractor> object if successful.
*/
-
+ @Deprecated
List listEntities(UUID appId, String versionId, ListEntitiesOptionalParameter listEntitiesOptionalParameter);
/**
@@ -424,7 +424,7 @@ interface ModelsAddEntityDefinition extends
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the List<EntityExtractor> object
*/
-
+ @Deprecated
Observable> listEntitiesAsync(UUID appId, String versionId, ListEntitiesOptionalParameter listEntitiesOptionalParameter);
/**
@@ -547,7 +547,7 @@ interface ModelsListEntitiesDefinition extends
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the List<HierarchicalEntityExtractor> object if successful.
*/
-
+ @Deprecated
List listHierarchicalEntities(UUID appId, String versionId, ListHierarchicalEntitiesOptionalParameter listHierarchicalEntitiesOptionalParameter);
/**
@@ -559,7 +559,7 @@ interface ModelsListEntitiesDefinition extends
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the List<HierarchicalEntityExtractor> object
*/
-
+ @Deprecated
Observable> listHierarchicalEntitiesAsync(UUID appId, String versionId, ListHierarchicalEntitiesOptionalParameter listHierarchicalEntitiesOptionalParameter);
/**
@@ -682,7 +682,7 @@ interface ModelsListHierarchicalEntitiesDefinition extends
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the List<CompositeEntityExtractor> object if successful.
*/
-
+ @Deprecated
List listCompositeEntities(UUID appId, String versionId, ListCompositeEntitiesOptionalParameter listCompositeEntitiesOptionalParameter);
/**
@@ -694,7 +694,7 @@ interface ModelsListHierarchicalEntitiesDefinition extends
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the List<CompositeEntityExtractor> object
*/
-
+ @Deprecated
Observable> listCompositeEntitiesAsync(UUID appId, String versionId, ListCompositeEntitiesOptionalParameter listCompositeEntitiesOptionalParameter);
/**
@@ -791,7 +791,7 @@ interface ModelsListCompositeEntitiesDefinition extends
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the List<ClosedListEntityExtractor> object if successful.
*/
-
+ @Deprecated
List listClosedLists(UUID appId, String versionId, ListClosedListsOptionalParameter listClosedListsOptionalParameter);
/**
@@ -803,7 +803,7 @@ interface ModelsListCompositeEntitiesDefinition extends
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the List<ClosedListEntityExtractor> object
*/
-
+ @Deprecated
Observable> listClosedListsAsync(UUID appId, String versionId, ListClosedListsOptionalParameter listClosedListsOptionalParameter);
/**
@@ -952,7 +952,7 @@ interface ModelsListClosedListsDefinition extends
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the List<PrebuiltEntityExtractor> object if successful.
*/
-
+ @Deprecated
List listPrebuilts(UUID appId, String versionId, ListPrebuiltsOptionalParameter listPrebuiltsOptionalParameter);
/**
@@ -964,7 +964,7 @@ interface ModelsListClosedListsDefinition extends
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the List<PrebuiltEntityExtractor> object
*/
-
+ @Deprecated
Observable> listPrebuiltsAsync(UUID appId, String versionId, ListPrebuiltsOptionalParameter listPrebuiltsOptionalParameter);
/**
@@ -1085,7 +1085,7 @@ interface ModelsListPrebuiltsDefinition extends
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the List<ModelInfoResponse> object if successful.
*/
-
+ @Deprecated
List listModels(UUID appId, String versionId, ListModelsOptionalParameter listModelsOptionalParameter);
/**
@@ -1097,7 +1097,7 @@ interface ModelsListPrebuiltsDefinition extends
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the List<ModelInfoResponse> object
*/
-
+ @Deprecated
Observable> listModelsAsync(UUID appId, String versionId, ListModelsOptionalParameter listModelsOptionalParameter);
/**
@@ -1195,7 +1195,7 @@ interface ModelsListModelsDefinition extends
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the List<LabelTextObject> object if successful.
*/
-
+ @Deprecated
List examplesMethod(UUID appId, String versionId, String modelId, ExamplesMethodOptionalParameter examplesMethodOptionalParameter);
/**
@@ -1208,7 +1208,7 @@ interface ModelsListModelsDefinition extends
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the List<LabelTextObject> object
*/
-
+ @Deprecated
Observable> examplesMethodAsync(UUID appId, String versionId, String modelId, ExamplesMethodOptionalParameter examplesMethodOptionalParameter);
/**
@@ -1344,7 +1344,7 @@ interface ModelsExamplesMethodDefinition extends
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the OperationStatus object if successful.
*/
-
+ @Deprecated
OperationStatus updateIntent(UUID appId, String versionId, UUID intentId, UpdateIntentOptionalParameter updateIntentOptionalParameter);
/**
@@ -1357,7 +1357,7 @@ interface ModelsExamplesMethodDefinition extends
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the OperationStatus object
*/
-
+ @Deprecated
Observable updateIntentAsync(UUID appId, String versionId, UUID intentId, UpdateIntentOptionalParameter updateIntentOptionalParameter);
/**
@@ -1460,7 +1460,7 @@ interface ModelsUpdateIntentDefinition extends
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the OperationStatus object if successful.
*/
-
+ @Deprecated
OperationStatus deleteIntent(UUID appId, String versionId, UUID intentId, DeleteIntentOptionalParameter deleteIntentOptionalParameter);
/**
@@ -1473,7 +1473,7 @@ interface ModelsUpdateIntentDefinition extends
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the OperationStatus object
*/
-
+ @Deprecated
Observable deleteIntentAsync(UUID appId, String versionId, UUID intentId, DeleteIntentOptionalParameter deleteIntentOptionalParameter);
/**
@@ -1603,7 +1603,7 @@ interface ModelsDeleteIntentDefinition extends
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the OperationStatus object if successful.
*/
-
+ @Deprecated
OperationStatus updateEntity(UUID appId, String versionId, UUID entityId, UpdateEntityOptionalParameter updateEntityOptionalParameter);
/**
@@ -1616,7 +1616,7 @@ interface ModelsDeleteIntentDefinition extends
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the OperationStatus object
*/
-
+ @Deprecated
Observable updateEntityAsync(UUID appId, String versionId, UUID entityId, UpdateEntityOptionalParameter updateEntityOptionalParameter);
/**
@@ -1959,7 +1959,7 @@ interface ModelsUpdateEntityDefinition extends
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the OperationStatus object if successful.
*/
-
+ @Deprecated
OperationStatus patchClosedList(UUID appId, String versionId, UUID clEntityId, PatchClosedListOptionalParameter patchClosedListOptionalParameter);
/**
@@ -1972,7 +1972,7 @@ interface ModelsUpdateEntityDefinition extends
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the OperationStatus object
*/
-
+ @Deprecated
Observable patchClosedListAsync(UUID appId, String versionId, UUID clEntityId, PatchClosedListOptionalParameter patchClosedListOptionalParameter);
/**
@@ -2211,7 +2211,7 @@ interface ModelsPatchClosedListDefinition extends
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the List<IntentsSuggestionExample> object if successful.
*/
-
+ @Deprecated
List getIntentSuggestions(UUID appId, String versionId, UUID intentId, GetIntentSuggestionsOptionalParameter getIntentSuggestionsOptionalParameter);
/**
@@ -2224,7 +2224,7 @@ interface ModelsPatchClosedListDefinition extends
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the List<IntentsSuggestionExample> object
*/
-
+ @Deprecated
Observable> getIntentSuggestionsAsync(UUID appId, String versionId, UUID intentId, GetIntentSuggestionsOptionalParameter getIntentSuggestionsOptionalParameter);
/**
@@ -2327,7 +2327,7 @@ interface ModelsGetIntentSuggestionsDefinition extends
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the List<EntitiesSuggestionExample> object if successful.
*/
-
+ @Deprecated
List getEntitySuggestions(UUID appId, String versionId, UUID entityId, GetEntitySuggestionsOptionalParameter getEntitySuggestionsOptionalParameter);
/**
@@ -2340,7 +2340,7 @@ interface ModelsGetIntentSuggestionsDefinition extends
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the List<EntitiesSuggestionExample> object
*/
-
+ @Deprecated
Observable> getEntitySuggestionsAsync(UUID appId, String versionId, UUID entityId, GetEntitySuggestionsOptionalParameter getEntitySuggestionsOptionalParameter);
/**
@@ -2470,7 +2470,7 @@ interface ModelsGetEntitySuggestionsDefinition extends
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the List<UUID> object if successful.
*/
-
+ @Deprecated
List addCustomPrebuiltDomain(UUID appId, String versionId, AddCustomPrebuiltDomainModelsOptionalParameter addCustomPrebuiltDomainOptionalParameter);
/**
@@ -2482,7 +2482,7 @@ interface ModelsGetEntitySuggestionsDefinition extends
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the List<UUID> object
*/
-
+ @Deprecated
Observable> addCustomPrebuiltDomainAsync(UUID appId, String versionId, AddCustomPrebuiltDomainModelsOptionalParameter addCustomPrebuiltDomainOptionalParameter);
/**
@@ -2756,7 +2756,7 @@ interface ModelsAddCustomPrebuiltDomainDefinition extends
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the OperationStatus object if successful.
*/
-
+ @Deprecated
OperationStatus updateHierarchicalEntityChild(UUID appId, String versionId, UUID hEntityId, UUID hChildId, UpdateHierarchicalEntityChildOptionalParameter updateHierarchicalEntityChildOptionalParameter);
/**
@@ -2770,7 +2770,7 @@ interface ModelsAddCustomPrebuiltDomainDefinition extends
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the OperationStatus object
*/
-
+ @Deprecated
Observable updateHierarchicalEntityChildAsync(UUID appId, String versionId, UUID hEntityId, UUID hChildId, UpdateHierarchicalEntityChildOptionalParameter updateHierarchicalEntityChildOptionalParameter);
/**
@@ -2913,7 +2913,7 @@ interface ModelsUpdateHierarchicalEntityChildDefinition extends
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the UUID object if successful.
*/
-
+ @Deprecated
UUID addHierarchicalEntityChild(UUID appId, String versionId, UUID hEntityId, AddHierarchicalEntityChildOptionalParameter addHierarchicalEntityChildOptionalParameter);
/**
@@ -2926,7 +2926,7 @@ interface ModelsUpdateHierarchicalEntityChildDefinition extends
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the UUID object
*/
-
+ @Deprecated
Observable addHierarchicalEntityChildAsync(UUID appId, String versionId, UUID hEntityId, AddHierarchicalEntityChildOptionalParameter addHierarchicalEntityChildOptionalParameter);
/**
@@ -3029,7 +3029,7 @@ interface ModelsAddHierarchicalEntityChildDefinition extends
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the UUID object if successful.
*/
-
+ @Deprecated
UUID addCompositeEntityChild(UUID appId, String versionId, UUID cEntityId, AddCompositeEntityChildOptionalParameter addCompositeEntityChildOptionalParameter);
/**
@@ -3042,7 +3042,7 @@ interface ModelsAddHierarchicalEntityChildDefinition extends
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the UUID object
*/
-
+ @Deprecated
Observable addCompositeEntityChildAsync(UUID appId, String versionId, UUID cEntityId, AddCompositeEntityChildOptionalParameter addCompositeEntityChildOptionalParameter);
/**
@@ -3172,7 +3172,7 @@ interface ModelsAddCompositeEntityChildDefinition extends
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the List<RegexEntityExtractor> object if successful.
*/
-
+ @Deprecated
List getRegexEntityInfos(UUID appId, String versionId, GetRegexEntityInfosOptionalParameter getRegexEntityInfosOptionalParameter);
/**
@@ -3184,7 +3184,7 @@ interface ModelsAddCompositeEntityChildDefinition extends
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the List<RegexEntityExtractor> object
*/
-
+ @Deprecated
Observable> getRegexEntityInfosAsync(UUID appId, String versionId, GetRegexEntityInfosOptionalParameter getRegexEntityInfosOptionalParameter);
/**
@@ -3307,7 +3307,7 @@ interface ModelsGetRegexEntityInfosDefinition extends
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the List<PatternAnyEntityExtractor> object if successful.
*/
-
+ @Deprecated
List getPatternAnyEntityInfos(UUID appId, String versionId, GetPatternAnyEntityInfosOptionalParameter getPatternAnyEntityInfosOptionalParameter);
/**
@@ -3319,7 +3319,7 @@ interface ModelsGetRegexEntityInfosDefinition extends
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the List<PatternAnyEntityExtractor> object
*/
-
+ @Deprecated
Observable> getPatternAnyEntityInfosAsync(UUID appId, String versionId, GetPatternAnyEntityInfosOptionalParameter getPatternAnyEntityInfosOptionalParameter);
/**
@@ -3469,7 +3469,7 @@ interface ModelsGetPatternAnyEntityInfosDefinition extends
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the UUID object if successful.
*/
-
+ @Deprecated
UUID createEntityRole(UUID appId, String versionId, UUID entityId, CreateEntityRoleOptionalParameter createEntityRoleOptionalParameter);
/**
@@ -3482,7 +3482,7 @@ interface ModelsGetPatternAnyEntityInfosDefinition extends
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the UUID object
*/
-
+ @Deprecated
Observable createEntityRoleAsync(UUID appId, String versionId, UUID entityId, CreateEntityRoleOptionalParameter createEntityRoleOptionalParameter);
/**
@@ -3611,7 +3611,7 @@ interface ModelsCreateEntityRoleDefinition extends
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the UUID object if successful.
*/
-
+ @Deprecated
UUID createPrebuiltEntityRole(UUID appId, String versionId, UUID entityId, CreatePrebuiltEntityRoleOptionalParameter createPrebuiltEntityRoleOptionalParameter);
/**
@@ -3624,7 +3624,7 @@ interface ModelsCreateEntityRoleDefinition extends
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the UUID object
*/
-
+ @Deprecated
Observable createPrebuiltEntityRoleAsync(UUID appId, String versionId, UUID entityId, CreatePrebuiltEntityRoleOptionalParameter createPrebuiltEntityRoleOptionalParameter);
/**
@@ -3753,7 +3753,7 @@ interface ModelsCreatePrebuiltEntityRoleDefinition extends
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the UUID object if successful.
*/
-
+ @Deprecated
UUID createClosedListEntityRole(UUID appId, String versionId, UUID entityId, CreateClosedListEntityRoleOptionalParameter createClosedListEntityRoleOptionalParameter);
/**
@@ -3766,7 +3766,7 @@ interface ModelsCreatePrebuiltEntityRoleDefinition extends
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the UUID object
*/
-
+ @Deprecated
Observable createClosedListEntityRoleAsync(UUID appId, String versionId, UUID entityId, CreateClosedListEntityRoleOptionalParameter createClosedListEntityRoleOptionalParameter);
/**
@@ -3895,7 +3895,7 @@ interface ModelsCreateClosedListEntityRoleDefinition extends
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the UUID object if successful.
*/
-
+ @Deprecated
UUID createRegexEntityRole(UUID appId, String versionId, UUID entityId, CreateRegexEntityRoleOptionalParameter createRegexEntityRoleOptionalParameter);
/**
@@ -3908,7 +3908,7 @@ interface ModelsCreateClosedListEntityRoleDefinition extends
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the UUID object
*/
-
+ @Deprecated
Observable createRegexEntityRoleAsync(UUID appId, String versionId, UUID entityId, CreateRegexEntityRoleOptionalParameter createRegexEntityRoleOptionalParameter);
/**
@@ -4037,7 +4037,7 @@ interface ModelsCreateRegexEntityRoleDefinition extends
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the UUID object if successful.
*/
-
+ @Deprecated
UUID createCompositeEntityRole(UUID appId, String versionId, UUID cEntityId, CreateCompositeEntityRoleOptionalParameter createCompositeEntityRoleOptionalParameter);
/**
@@ -4050,7 +4050,7 @@ interface ModelsCreateRegexEntityRoleDefinition extends
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the UUID object
*/
-
+ @Deprecated
Observable createCompositeEntityRoleAsync(UUID appId, String versionId, UUID cEntityId, CreateCompositeEntityRoleOptionalParameter createCompositeEntityRoleOptionalParameter);
/**
@@ -4179,7 +4179,7 @@ interface ModelsCreateCompositeEntityRoleDefinition extends
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the UUID object if successful.
*/
-
+ @Deprecated
UUID createPatternAnyEntityRole(UUID appId, String versionId, UUID entityId, CreatePatternAnyEntityRoleOptionalParameter createPatternAnyEntityRoleOptionalParameter);
/**
@@ -4192,7 +4192,7 @@ interface ModelsCreateCompositeEntityRoleDefinition extends
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the UUID object
*/
-
+ @Deprecated
Observable createPatternAnyEntityRoleAsync(UUID appId, String versionId, UUID entityId, CreatePatternAnyEntityRoleOptionalParameter createPatternAnyEntityRoleOptionalParameter);
/**
@@ -4321,7 +4321,7 @@ interface ModelsCreatePatternAnyEntityRoleDefinition extends
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the UUID object if successful.
*/
-
+ @Deprecated
UUID createHierarchicalEntityRole(UUID appId, String versionId, UUID hEntityId, CreateHierarchicalEntityRoleOptionalParameter createHierarchicalEntityRoleOptionalParameter);
/**
@@ -4334,7 +4334,7 @@ interface ModelsCreatePatternAnyEntityRoleDefinition extends
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the UUID object
*/
-
+ @Deprecated
Observable createHierarchicalEntityRoleAsync(UUID appId, String versionId, UUID hEntityId, CreateHierarchicalEntityRoleOptionalParameter createHierarchicalEntityRoleOptionalParameter);
/**
@@ -4463,7 +4463,7 @@ interface ModelsCreateHierarchicalEntityRoleDefinition extends
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the UUID object if successful.
*/
-
+ @Deprecated
UUID createCustomPrebuiltEntityRole(UUID appId, String versionId, UUID entityId, CreateCustomPrebuiltEntityRoleOptionalParameter createCustomPrebuiltEntityRoleOptionalParameter);
/**
@@ -4476,7 +4476,7 @@ interface ModelsCreateHierarchicalEntityRoleDefinition extends
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the UUID object
*/
-
+ @Deprecated
Observable createCustomPrebuiltEntityRoleAsync(UUID appId, String versionId, UUID entityId, CreateCustomPrebuiltEntityRoleOptionalParameter createCustomPrebuiltEntityRoleOptionalParameter);
/**
@@ -4605,7 +4605,7 @@ interface ModelsCreateCustomPrebuiltEntityRoleDefinition extends
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the int object if successful.
*/
-
+ @Deprecated
int addExplicitListItem(UUID appId, String versionId, UUID entityId, AddExplicitListItemOptionalParameter addExplicitListItemOptionalParameter);
/**
@@ -4618,7 +4618,7 @@ interface ModelsCreateCustomPrebuiltEntityRoleDefinition extends
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the int object
*/
-
+ @Deprecated
Observable addExplicitListItemAsync(UUID appId, String versionId, UUID entityId, AddExplicitListItemOptionalParameter addExplicitListItemOptionalParameter);
/**
@@ -4910,7 +4910,7 @@ interface ModelsAddExplicitListItemDefinition extends
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the OperationStatus object if successful.
*/
-
+ @Deprecated
OperationStatus updateEntityRole(UUID appId, String versionId, UUID entityId, UUID roleId, UpdateEntityRoleOptionalParameter updateEntityRoleOptionalParameter);
/**
@@ -4924,7 +4924,7 @@ interface ModelsAddExplicitListItemDefinition extends
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the OperationStatus object
*/
-
+ @Deprecated
Observable updateEntityRoleAsync(UUID appId, String versionId, UUID entityId, UUID roleId, UpdateEntityRoleOptionalParameter updateEntityRoleOptionalParameter);
/**
@@ -5096,7 +5096,7 @@ interface ModelsUpdateEntityRoleDefinition extends
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the OperationStatus object if successful.
*/
-
+ @Deprecated
OperationStatus updatePrebuiltEntityRole(UUID appId, String versionId, UUID entityId, UUID roleId, UpdatePrebuiltEntityRoleOptionalParameter updatePrebuiltEntityRoleOptionalParameter);
/**
@@ -5110,7 +5110,7 @@ interface ModelsUpdateEntityRoleDefinition extends
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the OperationStatus object
*/
-
+ @Deprecated
Observable updatePrebuiltEntityRoleAsync(UUID appId, String versionId, UUID entityId, UUID roleId, UpdatePrebuiltEntityRoleOptionalParameter updatePrebuiltEntityRoleOptionalParameter);
/**
@@ -5282,7 +5282,7 @@ interface ModelsUpdatePrebuiltEntityRoleDefinition extends
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the OperationStatus object if successful.
*/
-
+ @Deprecated
OperationStatus updateClosedListEntityRole(UUID appId, String versionId, UUID entityId, UUID roleId, UpdateClosedListEntityRoleOptionalParameter updateClosedListEntityRoleOptionalParameter);
/**
@@ -5296,7 +5296,7 @@ interface ModelsUpdatePrebuiltEntityRoleDefinition extends
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the OperationStatus object
*/
-
+ @Deprecated
Observable updateClosedListEntityRoleAsync(UUID appId, String versionId, UUID entityId, UUID roleId, UpdateClosedListEntityRoleOptionalParameter updateClosedListEntityRoleOptionalParameter);
/**
@@ -5468,7 +5468,7 @@ interface ModelsUpdateClosedListEntityRoleDefinition extends
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the OperationStatus object if successful.
*/
-
+ @Deprecated
OperationStatus updateRegexEntityRole(UUID appId, String versionId, UUID entityId, UUID roleId, UpdateRegexEntityRoleOptionalParameter updateRegexEntityRoleOptionalParameter);
/**
@@ -5482,7 +5482,7 @@ interface ModelsUpdateClosedListEntityRoleDefinition extends
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the OperationStatus object
*/
-
+ @Deprecated
Observable updateRegexEntityRoleAsync(UUID appId, String versionId, UUID entityId, UUID roleId, UpdateRegexEntityRoleOptionalParameter updateRegexEntityRoleOptionalParameter);
/**
@@ -5654,7 +5654,7 @@ interface ModelsUpdateRegexEntityRoleDefinition extends
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the OperationStatus object if successful.
*/
-
+ @Deprecated
OperationStatus updateCompositeEntityRole(UUID appId, String versionId, UUID cEntityId, UUID roleId, UpdateCompositeEntityRoleOptionalParameter updateCompositeEntityRoleOptionalParameter);
/**
@@ -5668,7 +5668,7 @@ interface ModelsUpdateRegexEntityRoleDefinition extends
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the OperationStatus object
*/
-
+ @Deprecated
Observable updateCompositeEntityRoleAsync(UUID appId, String versionId, UUID cEntityId, UUID roleId, UpdateCompositeEntityRoleOptionalParameter updateCompositeEntityRoleOptionalParameter);
/**
@@ -5840,7 +5840,7 @@ interface ModelsUpdateCompositeEntityRoleDefinition extends
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the OperationStatus object if successful.
*/
-
+ @Deprecated
OperationStatus updatePatternAnyEntityRole(UUID appId, String versionId, UUID entityId, UUID roleId, UpdatePatternAnyEntityRoleOptionalParameter updatePatternAnyEntityRoleOptionalParameter);
/**
@@ -5854,7 +5854,7 @@ interface ModelsUpdateCompositeEntityRoleDefinition extends
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the OperationStatus object
*/
-
+ @Deprecated
Observable updatePatternAnyEntityRoleAsync(UUID appId, String versionId, UUID entityId, UUID roleId, UpdatePatternAnyEntityRoleOptionalParameter updatePatternAnyEntityRoleOptionalParameter);
/**
@@ -6026,7 +6026,7 @@ interface ModelsUpdatePatternAnyEntityRoleDefinition extends
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the OperationStatus object if successful.
*/
-
+ @Deprecated
OperationStatus updateHierarchicalEntityRole(UUID appId, String versionId, UUID hEntityId, UUID roleId, UpdateHierarchicalEntityRoleOptionalParameter updateHierarchicalEntityRoleOptionalParameter);
/**
@@ -6040,7 +6040,7 @@ interface ModelsUpdatePatternAnyEntityRoleDefinition extends
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the OperationStatus object
*/
-
+ @Deprecated
Observable updateHierarchicalEntityRoleAsync(UUID appId, String versionId, UUID hEntityId, UUID roleId, UpdateHierarchicalEntityRoleOptionalParameter updateHierarchicalEntityRoleOptionalParameter);
/**
@@ -6212,7 +6212,7 @@ interface ModelsUpdateHierarchicalEntityRoleDefinition extends
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the OperationStatus object if successful.
*/
-
+ @Deprecated
OperationStatus updateCustomPrebuiltEntityRole(UUID appId, String versionId, UUID entityId, UUID roleId, UpdateCustomPrebuiltEntityRoleOptionalParameter updateCustomPrebuiltEntityRoleOptionalParameter);
/**
@@ -6226,7 +6226,7 @@ interface ModelsUpdateHierarchicalEntityRoleDefinition extends
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the OperationStatus object
*/
-
+ @Deprecated
Observable updateCustomPrebuiltEntityRoleAsync(UUID appId, String versionId, UUID entityId, UUID roleId, UpdateCustomPrebuiltEntityRoleOptionalParameter updateCustomPrebuiltEntityRoleOptionalParameter);
/**
@@ -6398,7 +6398,7 @@ interface ModelsUpdateCustomPrebuiltEntityRoleDefinition extends
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the OperationStatus object if successful.
*/
-
+ @Deprecated
OperationStatus updateExplicitListItem(UUID appId, String versionId, UUID entityId, long itemId, UpdateExplicitListItemOptionalParameter updateExplicitListItemOptionalParameter);
/**
@@ -6412,7 +6412,7 @@ interface ModelsUpdateCustomPrebuiltEntityRoleDefinition extends
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the OperationStatus object
*/
-
+ @Deprecated
Observable updateExplicitListItemAsync(UUID appId, String versionId, UUID entityId, long itemId, UpdateExplicitListItemOptionalParameter updateExplicitListItemOptionalParameter);
/**
diff --git a/cognitiveservices/data-plane/language/luis/authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/Patterns.java b/cognitiveservices/data-plane/language/luis/authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/Patterns.java
index ff1ab0a7150b..da99df1243ac 100644
--- a/cognitiveservices/data-plane/language/luis/authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/Patterns.java
+++ b/cognitiveservices/data-plane/language/luis/authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/Patterns.java
@@ -61,7 +61,7 @@ public interface Patterns {
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the List<PatternRuleInfo> object if successful.
*/
-
+ @Deprecated
List getPatterns(UUID appId, String versionId, GetPatternsOptionalParameter getPatternsOptionalParameter);
/**
@@ -73,7 +73,7 @@ public interface Patterns {
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the List<PatternRuleInfo> object
*/
-
+ @Deprecated
Observable> getPatternsAsync(UUID appId, String versionId, GetPatternsOptionalParameter getPatternsOptionalParameter);
/**
@@ -303,7 +303,7 @@ interface PatternsGetPatternsDefinition extends
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the List<PatternRuleInfo> object if successful.
*/
-
+ @Deprecated
List getIntentPatterns(UUID appId, String versionId, UUID intentId, GetIntentPatternsOptionalParameter getIntentPatternsOptionalParameter);
/**
@@ -316,7 +316,7 @@ interface PatternsGetPatternsDefinition extends
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the List<PatternRuleInfo> object
*/
-
+ @Deprecated
Observable> getIntentPatternsAsync(UUID appId, String versionId, UUID intentId, GetIntentPatternsOptionalParameter getIntentPatternsOptionalParameter);
/**
diff --git a/cognitiveservices/data-plane/language/luis/authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/Permissions.java b/cognitiveservices/data-plane/language/luis/authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/Permissions.java
index 277803395457..1dacbabbbe7d 100644
--- a/cognitiveservices/data-plane/language/luis/authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/Permissions.java
+++ b/cognitiveservices/data-plane/language/luis/authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/Permissions.java
@@ -56,7 +56,7 @@ public interface Permissions {
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the OperationStatus object if successful.
*/
-
+ @Deprecated
OperationStatus add(UUID appId, AddPermissionsOptionalParameter addOptionalParameter);
/**
@@ -68,7 +68,7 @@ public interface Permissions {
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the OperationStatus object
*/
-
+ @Deprecated
Observable addAsync(UUID appId, AddPermissionsOptionalParameter addOptionalParameter);
/**
@@ -147,7 +147,7 @@ interface PermissionsAddDefinition extends
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the OperationStatus object if successful.
*/
-
+ @Deprecated
OperationStatus delete(UUID appId, DeletePermissionsOptionalParameter deleteOptionalParameter);
/**
@@ -159,7 +159,7 @@ interface PermissionsAddDefinition extends
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the OperationStatus object
*/
-
+ @Deprecated
Observable deleteAsync(UUID appId, DeletePermissionsOptionalParameter deleteOptionalParameter);
/**
@@ -238,7 +238,7 @@ interface PermissionsDeleteDefinition extends
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the OperationStatus object if successful.
*/
-
+ @Deprecated
OperationStatus update(UUID appId, UpdatePermissionsOptionalParameter updateOptionalParameter);
/**
@@ -250,7 +250,7 @@ interface PermissionsDeleteDefinition extends
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the OperationStatus object
*/
-
+ @Deprecated
Observable updateAsync(UUID appId, UpdatePermissionsOptionalParameter updateOptionalParameter);
/**
diff --git a/cognitiveservices/data-plane/language/luis/authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/Versions.java b/cognitiveservices/data-plane/language/luis/authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/Versions.java
index bacc3cf4cf4e..9312c79fb9d1 100644
--- a/cognitiveservices/data-plane/language/luis/authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/Versions.java
+++ b/cognitiveservices/data-plane/language/luis/authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/Versions.java
@@ -36,7 +36,7 @@ public interface Versions {
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the String object if successful.
*/
-
+ @Deprecated
String clone(UUID appId, String versionId, CloneOptionalParameter cloneOptionalParameter);
/**
@@ -48,7 +48,7 @@ public interface Versions {
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the String object
*/
-
+ @Deprecated
Observable cloneAsync(UUID appId, String versionId, CloneOptionalParameter cloneOptionalParameter);
/**
@@ -137,7 +137,7 @@ interface VersionsCloneDefinition extends
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the List<VersionInfo> object if successful.
*/
-
+ @Deprecated
List list(UUID appId, ListVersionsOptionalParameter listOptionalParameter);
/**
@@ -148,7 +148,7 @@ interface VersionsCloneDefinition extends
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the List<VersionInfo> object
*/
-
+ @Deprecated
Observable> listAsync(UUID appId, ListVersionsOptionalParameter listOptionalParameter);
/**
@@ -257,7 +257,7 @@ interface VersionsListDefinition extends
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the OperationStatus object if successful.
*/
-
+ @Deprecated
OperationStatus update(UUID appId, String versionId, UpdateVersionsOptionalParameter updateOptionalParameter);
/**
@@ -269,7 +269,7 @@ interface VersionsListDefinition extends
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the OperationStatus object
*/
-
+ @Deprecated
Observable updateAsync(UUID appId, String versionId, UpdateVersionsOptionalParameter updateOptionalParameter);
/**
@@ -407,7 +407,7 @@ interface VersionsUpdateDefinition extends
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the String object if successful.
*/
-
+ @Deprecated
String importMethod(UUID appId, LuisApp luisApp, ImportMethodVersionsOptionalParameter importMethodOptionalParameter);
/**
@@ -419,7 +419,7 @@ interface VersionsUpdateDefinition extends
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the String object
*/
-
+ @Deprecated
Observable importMethodAsync(UUID appId, LuisApp luisApp, ImportMethodVersionsOptionalParameter importMethodOptionalParameter);
/**
diff --git a/cognitiveservices/data-plane/language/luis/authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/implementation/AppsImpl.java b/cognitiveservices/data-plane/language/luis/authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/implementation/AppsImpl.java
index 541312fb381a..924eff8f513f 100644
--- a/cognitiveservices/data-plane/language/luis/authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/implementation/AppsImpl.java
+++ b/cognitiveservices/data-plane/language/luis/authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/implementation/AppsImpl.java
@@ -13,7 +13,6 @@
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.UpdateSettingsOptionalParameter;
import retrofit2.Retrofit;
import com.microsoft.azure.cognitiveservices.language.luis.authoring.Apps;
-import com.google.common.base.Joiner;
import com.google.common.reflect.TypeToken;
import com.microsoft.azure.CloudException;
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.ApplicationCreateObject;
@@ -64,7 +63,7 @@ public class AppsImpl implements Apps {
/** The Retrofit service to perform REST calls. */
private AppsService service;
/** The service client containing this operation class. */
- private LUISAuthoringAPIImpl client;
+ private LUISAuthoringClientImpl client;
/**
* Initializes an instance of AppsImpl.
@@ -72,7 +71,7 @@ public class AppsImpl implements Apps {
* @param retrofit the Retrofit instance built from a Retrofit Builder.
* @param client the instance of the service client containing this operation class.
*/
- public AppsImpl(Retrofit retrofit, LUISAuthoringAPIImpl client) {
+ public AppsImpl(Retrofit retrofit, LUISAuthoringClientImpl client) {
this.service = retrofit.create(AppsService.class);
this.client = client;
}
@@ -84,84 +83,84 @@ public AppsImpl(Retrofit retrofit, LUISAuthoringAPIImpl client) {
interface AppsService {
@Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.cognitiveservices.language.luis.authoring.Apps add" })
@POST("apps/")
- Observable> add(@Body ApplicationCreateObject applicationCreateObject, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent);
+ Observable> add(@Body ApplicationCreateObject applicationCreateObject, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent);
@Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.cognitiveservices.language.luis.authoring.Apps list" })
@GET("apps/")
- Observable> list(@Query("skip") Integer skip, @Query("take") Integer take, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent);
+ Observable> list(@Query("skip") Integer skip, @Query("take") Integer take, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent);
@Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.cognitiveservices.language.luis.authoring.Apps importMethod" })
@POST("apps/import")
- Observable> importMethod(@Query("appName") String appName, @Body LuisApp luisApp, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent);
+ Observable> importMethod(@Query("appName") String appName, @Body LuisApp luisApp, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent);
@Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.cognitiveservices.language.luis.authoring.Apps listCortanaEndpoints" })
@GET("apps/assistants")
- Observable> listCortanaEndpoints(@Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent);
+ Observable> listCortanaEndpoints(@Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent);
@Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.cognitiveservices.language.luis.authoring.Apps listDomains" })
@GET("apps/domains")
- Observable> listDomains(@Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent);
+ Observable> listDomains(@Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent);
@Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.cognitiveservices.language.luis.authoring.Apps listUsageScenarios" })
@GET("apps/usagescenarios")
- Observable> listUsageScenarios(@Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent);
+ Observable> listUsageScenarios(@Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent);
@Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.cognitiveservices.language.luis.authoring.Apps listSupportedCultures" })
@GET("apps/cultures")
- Observable> listSupportedCultures(@Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent);
+ Observable> listSupportedCultures(@Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent);
@Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.cognitiveservices.language.luis.authoring.Apps downloadQueryLogs" })
@GET("apps/{appId}/querylogs")
@Streaming
- Observable> downloadQueryLogs(@Path("appId") UUID appId, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent);
+ Observable> downloadQueryLogs(@Path("appId") UUID appId, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent);
@Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.cognitiveservices.language.luis.authoring.Apps get" })
@GET("apps/{appId}")
- Observable> get(@Path("appId") UUID appId, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent);
+ Observable> get(@Path("appId") UUID appId, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent);
@Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.cognitiveservices.language.luis.authoring.Apps update" })
@PUT("apps/{appId}")
- Observable> update(@Path("appId") UUID appId, @Body ApplicationUpdateObject applicationUpdateObject, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent);
+ Observable> update(@Path("appId") UUID appId, @Body ApplicationUpdateObject applicationUpdateObject, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent);
@Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.cognitiveservices.language.luis.authoring.Apps delete" })
@HTTP(path = "apps/{appId}", method = "DELETE", hasBody = true)
- Observable> delete(@Path("appId") UUID appId, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent);
+ Observable> delete(@Path("appId") UUID appId, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent);
@Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.cognitiveservices.language.luis.authoring.Apps publish" })
@POST("apps/{appId}/publish")
- Observable> publish(@Path("appId") UUID appId, @Body ApplicationPublishObject applicationPublishObject, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent);
+ Observable> publish(@Path("appId") UUID appId, @Body ApplicationPublishObject applicationPublishObject, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent);
@Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.cognitiveservices.language.luis.authoring.Apps getSettings" })
@GET("apps/{appId}/settings")
- Observable> getSettings(@Path("appId") UUID appId, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent);
+ Observable> getSettings(@Path("appId") UUID appId, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent);
@Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.cognitiveservices.language.luis.authoring.Apps updateSettings" })
@PUT("apps/{appId}/settings")
- Observable> updateSettings(@Path("appId") UUID appId, @Header("accept-language") String acceptLanguage, @Body ApplicationSettingUpdateObject applicationSettingUpdateObject, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent);
+ Observable> updateSettings(@Path("appId") UUID appId, @Header("accept-language") String acceptLanguage, @Body ApplicationSettingUpdateObject applicationSettingUpdateObject, @Header("User-Agent") String userAgent);
@Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.cognitiveservices.language.luis.authoring.Apps getPublishSettings" })
@GET("apps/{appId}/publishsettings")
- Observable> getPublishSettings(@Path("appId") UUID appId, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent);
+ Observable> getPublishSettings(@Path("appId") UUID appId, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent);
@Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.cognitiveservices.language.luis.authoring.Apps updatePublishSettings" })
@PUT("apps/{appId}/publishsettings")
- Observable> updatePublishSettings(@Path("appId") UUID appId, @Body PublishSettingUpdateObject publishSettingUpdateObject, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent);
+ Observable> updatePublishSettings(@Path("appId") UUID appId, @Body PublishSettingUpdateObject publishSettingUpdateObject, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent);
@Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.cognitiveservices.language.luis.authoring.Apps listEndpoints" })
@GET("apps/{appId}/endpoints")
- Observable> listEndpoints(@Path("appId") UUID appId, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent);
+ Observable> listEndpoints(@Path("appId") UUID appId, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent);
@Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.cognitiveservices.language.luis.authoring.Apps listAvailableCustomPrebuiltDomains" })
@GET("apps/customprebuiltdomains")
- Observable> listAvailableCustomPrebuiltDomains(@Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent);
+ Observable> listAvailableCustomPrebuiltDomains(@Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent);
@Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.cognitiveservices.language.luis.authoring.Apps addCustomPrebuiltDomain" })
@POST("apps/customprebuiltdomains")
- Observable> addCustomPrebuiltDomain(@Body PrebuiltDomainCreateObject prebuiltDomainCreateObject, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent);
+ Observable> addCustomPrebuiltDomain(@Body PrebuiltDomainCreateObject prebuiltDomainCreateObject, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent);
@Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.cognitiveservices.language.luis.authoring.Apps listAvailableCustomPrebuiltDomainsForCulture" })
@GET("apps/customprebuiltdomains/{culture}")
- Observable> listAvailableCustomPrebuiltDomainsForCulture(@Path("culture") String culture, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent);
+ Observable> listAvailableCustomPrebuiltDomainsForCulture(@Path("culture") String culture, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent);
}
@@ -214,15 +213,11 @@ public UUID call(ServiceResponse response) {
* @return the observable to the UUID object
*/
public Observable> addWithServiceResponseAsync(ApplicationCreateObject applicationCreateObject) {
- if (this.client.azureRegion() == null) {
- throw new IllegalArgumentException("Parameter this.client.azureRegion() is required and cannot be null.");
- }
if (applicationCreateObject == null) {
throw new IllegalArgumentException("Parameter applicationCreateObject is required and cannot be null.");
}
Validator.validate(applicationCreateObject);
- String parameterizedHost = Joiner.on(", ").join("{AzureRegion}", this.client.azureRegion());
- return service.add(applicationCreateObject, this.client.acceptLanguage(), parameterizedHost, this.client.userAgent())
+ return service.add(applicationCreateObject, this.client.acceptLanguage(), this.client.userAgent())
.flatMap(new Func1, Observable>>() {
@Override
public Observable> call(Response response) {
@@ -293,9 +288,6 @@ public List call(ServiceResponse>> listWithServiceResponseAsync(ListAppsOptionalParameter listOptionalParameter) {
- if (this.client.azureRegion() == null) {
- throw new IllegalArgumentException("Parameter this.client.azureRegion() is required and cannot be null.");
- }
final Integer skip = listOptionalParameter != null ? listOptionalParameter.skip() : null;
final Integer take = listOptionalParameter != null ? listOptionalParameter.take() : null;
@@ -311,11 +303,7 @@ public Observable>> listWithServic
* @return the observable to the List<ApplicationInfoResponse> object
*/
public Observable>> listWithServiceResponseAsync(Integer skip, Integer take) {
- if (this.client.azureRegion() == null) {
- throw new IllegalArgumentException("Parameter this.client.azureRegion() is required and cannot be null.");
- }
- String parameterizedHost = Joiner.on(", ").join("{AzureRegion}", this.client.azureRegion());
- return service.list(skip, take, this.client.acceptLanguage(), parameterizedHost, this.client.userAgent())
+ return service.list(skip, take, this.client.acceptLanguage(), this.client.userAgent())
.flatMap(new Func1, Observable>>>() {
@Override
public Observable>> call(Response response) {
@@ -329,7 +317,7 @@ public Observable>> call(Response<
});
}
- private ServiceResponse> listDelegate(Response response) throws ErrorResponseException, IOException, IllegalArgumentException {
+ private ServiceResponse> listDelegate(Response response) throws ErrorResponseException, IOException {
return this.client.restClient().responseBuilderFactory()., ErrorResponseException>newInstance(this.client.serializerAdapter())
.register(200, new TypeToken>() { }.getType())
.registerError(ErrorResponseException.class)
@@ -439,9 +427,6 @@ public UUID call(ServiceResponse response) {
* @return the observable to the UUID object
*/
public Observable> importMethodWithServiceResponseAsync(LuisApp luisApp, ImportMethodAppsOptionalParameter importMethodOptionalParameter) {
- if (this.client.azureRegion() == null) {
- throw new IllegalArgumentException("Parameter this.client.azureRegion() is required and cannot be null.");
- }
if (luisApp == null) {
throw new IllegalArgumentException("Parameter luisApp is required and cannot be null.");
}
@@ -460,15 +445,11 @@ public Observable> importMethodWithServiceResponseAsync(Lu
* @return the observable to the UUID object
*/
public Observable> importMethodWithServiceResponseAsync(LuisApp luisApp, String appName) {
- if (this.client.azureRegion() == null) {
- throw new IllegalArgumentException("Parameter this.client.azureRegion() is required and cannot be null.");
- }
if (luisApp == null) {
throw new IllegalArgumentException("Parameter luisApp is required and cannot be null.");
}
Validator.validate(luisApp);
- String parameterizedHost = Joiner.on(", ").join("{AzureRegion}", this.client.azureRegion());
- return service.importMethod(appName, luisApp, this.client.acceptLanguage(), parameterizedHost, this.client.userAgent())
+ return service.importMethod(appName, luisApp, this.client.acceptLanguage(), this.client.userAgent())
.flatMap(new Func1, Observable>>() {
@Override
public Observable> call(Response response) {
@@ -583,11 +564,7 @@ public PersonalAssistantsResponse call(ServiceResponse> listCortanaEndpointsWithServiceResponseAsync() {
- if (this.client.azureRegion() == null) {
- throw new IllegalArgumentException("Parameter this.client.azureRegion() is required and cannot be null.");
- }
- String parameterizedHost = Joiner.on(", ").join("{AzureRegion}", this.client.azureRegion());
- return service.listCortanaEndpoints(this.client.acceptLanguage(), parameterizedHost, this.client.userAgent())
+ return service.listCortanaEndpoints(this.client.acceptLanguage(), this.client.userAgent())
.flatMap(new Func1, Observable>>() {
@Override
public Observable> call(Response response) {
@@ -601,7 +578,7 @@ public Observable> call(Response listCortanaEndpointsDelegate(Response response) throws ErrorResponseException, IOException, IllegalArgumentException {
+ private ServiceResponse listCortanaEndpointsDelegate(Response response) throws ErrorResponseException, IOException {
return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter())
.register(200, new TypeToken() { }.getType())
.registerError(ErrorResponseException.class)
@@ -653,11 +630,7 @@ public List call(ServiceResponse> response) {
* @return the observable to the List<String> object
*/
public Observable>> listDomainsWithServiceResponseAsync() {
- if (this.client.azureRegion() == null) {
- throw new IllegalArgumentException("Parameter this.client.azureRegion() is required and cannot be null.");
- }
- String parameterizedHost = Joiner.on(", ").join("{AzureRegion}", this.client.azureRegion());
- return service.listDomains(this.client.acceptLanguage(), parameterizedHost, this.client.userAgent())
+ return service.listDomains(this.client.acceptLanguage(), this.client.userAgent())
.flatMap(new Func1, Observable>>>() {
@Override
public Observable>> call(Response response) {
@@ -671,7 +644,7 @@ public Observable>> call(Response res
});
}
- private ServiceResponse> listDomainsDelegate(Response response) throws ErrorResponseException, IOException, IllegalArgumentException {
+ private ServiceResponse> listDomainsDelegate(Response response) throws ErrorResponseException, IOException {
return this.client.restClient().responseBuilderFactory()., ErrorResponseException>newInstance(this.client.serializerAdapter())
.register(200, new TypeToken>() { }.getType())
.registerError(ErrorResponseException.class)
@@ -723,11 +696,7 @@ public List call(ServiceResponse> response) {
* @return the observable to the List<String> object
*/
public Observable>> listUsageScenariosWithServiceResponseAsync() {
- if (this.client.azureRegion() == null) {
- throw new IllegalArgumentException("Parameter this.client.azureRegion() is required and cannot be null.");
- }
- String parameterizedHost = Joiner.on(", ").join("{AzureRegion}", this.client.azureRegion());
- return service.listUsageScenarios(this.client.acceptLanguage(), parameterizedHost, this.client.userAgent())
+ return service.listUsageScenarios(this.client.acceptLanguage(), this.client.userAgent())
.flatMap(new Func1, Observable>>>() {
@Override
public Observable>> call(Response response) {
@@ -741,7 +710,7 @@ public Observable>> call(Response res
});
}
- private ServiceResponse> listUsageScenariosDelegate(Response response) throws ErrorResponseException, IOException, IllegalArgumentException {
+ private ServiceResponse> listUsageScenariosDelegate(Response response) throws ErrorResponseException, IOException {
return this.client.restClient().responseBuilderFactory()., ErrorResponseException>newInstance(this.client.serializerAdapter())
.register(200, new TypeToken>() { }.getType())
.registerError(ErrorResponseException.class)
@@ -793,11 +762,7 @@ public List call(ServiceResponse> respo
* @return the observable to the List<AvailableCulture> object
*/
public Observable>> listSupportedCulturesWithServiceResponseAsync() {
- if (this.client.azureRegion() == null) {
- throw new IllegalArgumentException("Parameter this.client.azureRegion() is required and cannot be null.");
- }
- String parameterizedHost = Joiner.on(", ").join("{AzureRegion}", this.client.azureRegion());
- return service.listSupportedCultures(this.client.acceptLanguage(), parameterizedHost, this.client.userAgent())
+ return service.listSupportedCultures(this.client.acceptLanguage(), this.client.userAgent())
.flatMap(new Func1, Observable>>>() {
@Override
public Observable>> call(Response response) {
@@ -811,7 +776,7 @@ public Observable>> call(Response> listSupportedCulturesDelegate(Response response) throws ErrorResponseException, IOException, IllegalArgumentException {
+ private ServiceResponse> listSupportedCulturesDelegate(Response response) throws ErrorResponseException, IOException {
return this.client.restClient().responseBuilderFactory()., ErrorResponseException>newInstance(this.client.serializerAdapter())
.register(200, new TypeToken>() { }.getType())
.registerError(ErrorResponseException.class)
@@ -867,14 +832,10 @@ public InputStream call(ServiceResponse response) {
* @return the observable to the InputStream object
*/
public Observable> downloadQueryLogsWithServiceResponseAsync(UUID appId) {
- if (this.client.azureRegion() == null) {
- throw new IllegalArgumentException("Parameter this.client.azureRegion() is required and cannot be null.");
- }
if (appId == null) {
throw new IllegalArgumentException("Parameter appId is required and cannot be null.");
}
- String parameterizedHost = Joiner.on(", ").join("{AzureRegion}", this.client.azureRegion());
- return service.downloadQueryLogs(appId, this.client.acceptLanguage(), parameterizedHost, this.client.userAgent())
+ return service.downloadQueryLogs(appId, this.client.acceptLanguage(), this.client.userAgent())
.flatMap(new Func1, Observable>>() {
@Override
public Observable> call(Response response) {
@@ -944,14 +905,10 @@ public ApplicationInfoResponse call(ServiceResponse res
* @return the observable to the ApplicationInfoResponse object
*/
public Observable> getWithServiceResponseAsync(UUID appId) {
- if (this.client.azureRegion() == null) {
- throw new IllegalArgumentException("Parameter this.client.azureRegion() is required and cannot be null.");
- }
if (appId == null) {
throw new IllegalArgumentException("Parameter appId is required and cannot be null.");
}
- String parameterizedHost = Joiner.on(", ").join("{AzureRegion}", this.client.azureRegion());
- return service.get(appId, this.client.acceptLanguage(), parameterizedHost, this.client.userAgent())
+ return service.get(appId, this.client.acceptLanguage(), this.client.userAgent())
.flatMap(new Func1, Observable>>() {
@Override
public Observable> call(Response response) {
@@ -1025,9 +982,6 @@ public OperationStatus call(ServiceResponse response) {
* @return the observable to the OperationStatus object
*/
public Observable> updateWithServiceResponseAsync(UUID appId, ApplicationUpdateObject applicationUpdateObject) {
- if (this.client.azureRegion() == null) {
- throw new IllegalArgumentException("Parameter this.client.azureRegion() is required and cannot be null.");
- }
if (appId == null) {
throw new IllegalArgumentException("Parameter appId is required and cannot be null.");
}
@@ -1035,8 +989,7 @@ public Observable> updateWithServiceResponseAsy
throw new IllegalArgumentException("Parameter applicationUpdateObject is required and cannot be null.");
}
Validator.validate(applicationUpdateObject);
- String parameterizedHost = Joiner.on(", ").join("{AzureRegion}", this.client.azureRegion());
- return service.update(appId, applicationUpdateObject, this.client.acceptLanguage(), parameterizedHost, this.client.userAgent())
+ return service.update(appId, applicationUpdateObject, this.client.acceptLanguage(), this.client.userAgent())
.flatMap(new Func1, Observable>>() {
@Override
public Observable> call(Response response) {
@@ -1106,14 +1059,10 @@ public OperationStatus call(ServiceResponse response) {
* @return the observable to the OperationStatus object
*/
public Observable> deleteWithServiceResponseAsync(UUID appId) {
- if (this.client.azureRegion() == null) {
- throw new IllegalArgumentException("Parameter this.client.azureRegion() is required and cannot be null.");
- }
if (appId == null) {
throw new IllegalArgumentException("Parameter appId is required and cannot be null.");
}
- String parameterizedHost = Joiner.on(", ").join("{AzureRegion}", this.client.azureRegion());
- return service.delete(appId, this.client.acceptLanguage(), parameterizedHost, this.client.userAgent())
+ return service.delete(appId, this.client.acceptLanguage(), this.client.userAgent())
.flatMap(new Func1, Observable>>() {
@Override
public Observable> call(Response response) {
@@ -1187,9 +1136,6 @@ public ProductionOrStagingEndpointInfo call(ServiceResponse> publishWithServiceResponseAsync(UUID appId, ApplicationPublishObject applicationPublishObject) {
- if (this.client.azureRegion() == null) {
- throw new IllegalArgumentException("Parameter this.client.azureRegion() is required and cannot be null.");
- }
if (appId == null) {
throw new IllegalArgumentException("Parameter appId is required and cannot be null.");
}
@@ -1197,8 +1143,7 @@ public Observable> publishWithS
throw new IllegalArgumentException("Parameter applicationPublishObject is required and cannot be null.");
}
Validator.validate(applicationPublishObject);
- String parameterizedHost = Joiner.on(", ").join("{AzureRegion}", this.client.azureRegion());
- return service.publish(appId, applicationPublishObject, this.client.acceptLanguage(), parameterizedHost, this.client.userAgent())
+ return service.publish(appId, applicationPublishObject, this.client.acceptLanguage(), this.client.userAgent())
.flatMap(new Func1, Observable>>() {
@Override
public Observable> call(Response response) {
@@ -1268,14 +1213,10 @@ public ApplicationSettings call(ServiceResponse response) {
* @return the observable to the ApplicationSettings object
*/
public Observable> getSettingsWithServiceResponseAsync(UUID appId) {
- if (this.client.azureRegion() == null) {
- throw new IllegalArgumentException("Parameter this.client.azureRegion() is required and cannot be null.");
- }
if (appId == null) {
throw new IllegalArgumentException("Parameter appId is required and cannot be null.");
}
- String parameterizedHost = Joiner.on(", ").join("{AzureRegion}", this.client.azureRegion());
- return service.getSettings(appId, this.client.acceptLanguage(), parameterizedHost, this.client.userAgent())
+ return service.getSettings(appId, this.client.acceptLanguage(), this.client.userAgent())
.flatMap(new Func1, Observable>>() {
@Override
public Observable> call(Response response) {
@@ -1350,9 +1291,6 @@ public OperationStatus call(ServiceResponse response) {
* @return the observable to the OperationStatus object
*/
public Observable> updateSettingsWithServiceResponseAsync(UUID appId, UpdateSettingsOptionalParameter updateSettingsOptionalParameter) {
- if (this.client.azureRegion() == null) {
- throw new IllegalArgumentException("Parameter this.client.azureRegion() is required and cannot be null.");
- }
if (appId == null) {
throw new IllegalArgumentException("Parameter appId is required and cannot be null.");
}
@@ -1370,16 +1308,12 @@ public Observable> updateSettingsWithServiceRes
* @return the observable to the OperationStatus object
*/
public Observable> updateSettingsWithServiceResponseAsync(UUID appId, boolean publicParameter) {
- if (this.client.azureRegion() == null) {
- throw new IllegalArgumentException("Parameter this.client.azureRegion() is required and cannot be null.");
- }
if (appId == null) {
throw new IllegalArgumentException("Parameter appId is required and cannot be null.");
}
ApplicationSettingUpdateObject applicationSettingUpdateObject = new ApplicationSettingUpdateObject();
applicationSettingUpdateObject.withPublicProperty(publicParameter);
- String parameterizedHost = Joiner.on(", ").join("{AzureRegion}", this.client.azureRegion());
- return service.updateSettings(appId, this.client.acceptLanguage(), applicationSettingUpdateObject, parameterizedHost, this.client.userAgent())
+ return service.updateSettings(appId, this.client.acceptLanguage(), applicationSettingUpdateObject, this.client.userAgent())
.flatMap(new Func1, Observable>>() {
@Override
public Observable> call(Response response) {
@@ -1498,14 +1432,10 @@ public PublishSettings call(ServiceResponse response) {
* @return the observable to the PublishSettings object
*/
public Observable> getPublishSettingsWithServiceResponseAsync(UUID appId) {
- if (this.client.azureRegion() == null) {
- throw new IllegalArgumentException("Parameter this.client.azureRegion() is required and cannot be null.");
- }
if (appId == null) {
throw new IllegalArgumentException("Parameter appId is required and cannot be null.");
}
- String parameterizedHost = Joiner.on(", ").join("{AzureRegion}", this.client.azureRegion());
- return service.getPublishSettings(appId, this.client.acceptLanguage(), parameterizedHost, this.client.userAgent())
+ return service.getPublishSettings(appId, this.client.acceptLanguage(), this.client.userAgent())
.flatMap(new Func1, Observable>>() {
@Override
public Observable> call(Response