diff --git a/eng/versioning/version_data.txt b/eng/versioning/version_data.txt
index e10a90464a82..432fefc3f50c 100644
--- a/eng/versioning/version_data.txt
+++ b/eng/versioning/version_data.txt
@@ -8,7 +8,7 @@ com.microsoft.azure:azure-applicationinsights-query;1.0.0-beta-2;1.0.0-beta-2
com.microsoft.azure.cognitiveservices:azure-cognitiveservices-spellcheck;1.1.0-beta.1;1.1.0-beta.1
com.microsoft.azure.cognitiveservices:azure-cognitiveservices-textanalytics;1.1.0-beta.1;1.1.0-beta.1
com.microsoft.azure.cognitiveservices:azure-cognitiveservices-luis-runtime;1.1.0-beta.1;1.1.0-beta.1
-com.microsoft.azure.cognitiveservices:azure-cognitiveservices-luis-authoring;1.1.0-beta.1;1.1.0-beta.1
+com.microsoft.azure.cognitiveservices:azure-cognitiveservices-luis-authoring;1.0.3-beta;1.0.3-beta
com.microsoft.azure.cognitiveservices:azure-cognitiveservices-autosuggest;1.1.0-beta.1;1.1.0-beta.1
com.microsoft.azure.cognitiveservices:azure-cognitiveservices-customimagesearch;1.1.0-beta.1;1.1.0-beta.1
com.microsoft.azure.cognitiveservices:azure-cognitiveservices-customsearch;1.1.0-beta.1;1.1.0-beta.1
diff --git a/sdk/cognitiveservices/ms-azure-cs-luis-authoring/pom.xml b/sdk/cognitiveservices/ms-azure-cs-luis-authoring/pom.xml
index f507021590a3..d1c9208c057e 100644
--- a/sdk/cognitiveservices/ms-azure-cs-luis-authoring/pom.xml
+++ b/sdk/cognitiveservices/ms-azure-cs-luis-authoring/pom.xml
@@ -13,7 +13,7 @@
azure-cognitiveservices-luis-authoring
com.microsoft.azure.cognitiveservices
- 1.1.0-beta.1
+ 1.0.3-beta
jar
Microsoft Azure SDK for Cognitive Service Language Understanding (LUIS)
This package contains Microsoft Cognitive Service Language Understanding (LUIS).
diff --git a/sdk/cognitiveservices/ms-azure-cs-luis-authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/Apps.java b/sdk/cognitiveservices/ms-azure-cs-luis-authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/Apps.java
index 2ede84991ffb..75c31a678a27 100644
--- a/sdk/cognitiveservices/ms-azure-cs-luis-authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/Apps.java
+++ b/sdk/cognitiveservices/ms-azure-cs-luis-authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/Apps.java
@@ -10,6 +10,7 @@
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.ListAppsOptionalParameter;
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.ImportMethodAppsOptionalParameter;
+import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.DeleteAppsOptionalParameter;
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.UpdateSettingsOptionalParameter;
import com.microsoft.azure.CloudException;
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.ApplicationCreateObject;
@@ -28,6 +29,7 @@
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.PublishSettings;
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.PublishSettingUpdateObject;
import java.io.InputStream;
+import java.io.IOException;
import java.util.List;
import java.util.Map;
import java.util.UUID;
@@ -42,9 +44,9 @@ public interface Apps {
/**
* Creates a new LUIS app.
*
- * @param applicationCreateObject A model containing Name, Description (optional), Culture, Usage Scenario (optional), Domain
+ * @param applicationCreateObject An application containing Name, Description (optional), Culture, Usage Scenario (optional), Domain
* (optional) and initial version ID (optional) of the application. Default value for the version ID
- * is 0.1. Note: the culture cannot be changed after the app is created.
+ * is "0.1". Note: the culture cannot be changed after the app is created.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws ErrorResponseException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
@@ -55,9 +57,9 @@ public interface Apps {
/**
* Creates a new LUIS app.
*
- * @param applicationCreateObject A model containing Name, Description (optional), Culture, Usage Scenario (optional), Domain
+ * @param applicationCreateObject An application containing Name, Description (optional), Culture, Usage Scenario (optional), Domain
* (optional) and initial version ID (optional) of the application. Default value for the version ID
- * is 0.1. Note: the culture cannot be changed after the app is created.
+ * is "0.1". Note: the culture cannot be changed after the app is created.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the UUID object
*/
@@ -65,7 +67,7 @@ public interface Apps {
/**
- * Lists all of the user applications.
+ * Lists all of the user's applications.
*
* @param listOptionalParameter the object representing the optional parameters to be set before calling this API
* @throws IllegalArgumentException thrown if parameters fail the validation
@@ -73,21 +75,19 @@ 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);
/**
- * Lists all of the user applications.
+ * Lists all of the user's applications.
*
* @param listOptionalParameter the object representing the optional parameters to be set before calling this API
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the List<ApplicationInfoResponse> object
*/
- @Deprecated
Observable> listAsync(ListAppsOptionalParameter listOptionalParameter);
/**
- * Lists all of the user applications.
+ * Lists all of the user's applications.
*
* @return the first stage of the list call
*/
@@ -146,7 +146,7 @@ interface AppsListDefinition extends
}
/**
- * Imports an application to LUIS, the application's structure should be included in in the request body.
+ * Imports an application to LUIS, the application's structure is included in the request body.
*
* @param luisApp A LUIS application structure.
* @param importMethodOptionalParameter the object representing the optional parameters to be set before calling this API
@@ -155,22 +155,20 @@ 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);
/**
- * Imports an application to LUIS, the application's structure should be included in in the request body.
+ * Imports an application to LUIS, the application's structure is included in the request body.
*
* @param luisApp A LUIS application structure.
* @param importMethodOptionalParameter the object representing the optional parameters to be set before calling this API
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the UUID object
*/
- @Deprecated
Observable importMethodAsync(LuisApp luisApp, ImportMethodAppsOptionalParameter importMethodOptionalParameter);
/**
- * Imports an application to LUIS, the application's structure should be included in in the request body.
+ * Imports an application to LUIS, the application's structure is included in the request body.
*
* @return the first stage of the importMethod call
*/
@@ -198,7 +196,7 @@ interface WithLuisApp {
interface WithAllOptions {
/**
* The application name to create. If not specified, the application name will be read from the imported
- * object.
+ * object. If the application name already exists, an error is returned.
*
* @return next definition stage
*/
@@ -296,7 +294,8 @@ interface AppsImportMethodDefinition extends
/**
- * Gets the supported application cultures.
+ * Gets a list of supported cultures. Cultures are equivalent to the written language and locale. For
+ * example,"en-us" represents the U.S. variation of English.
*
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws ErrorResponseException thrown if the request is rejected by server
@@ -306,7 +305,8 @@ interface AppsImportMethodDefinition extends
List listSupportedCultures();
/**
- * Gets the supported application cultures.
+ * Gets a list of supported cultures. Cultures are equivalent to the written language and locale. For
+ * example,"en-us" represents the U.S. variation of English.
*
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the List<AvailableCulture> object
@@ -316,7 +316,7 @@ interface AppsImportMethodDefinition extends
/**
- * Gets the query logs of the past month for the application.
+ * Gets the logs of the past month's endpoint queries for the application.
*
* @param appId The application ID.
* @throws IllegalArgumentException thrown if parameters fail the validation
@@ -327,7 +327,7 @@ interface AppsImportMethodDefinition extends
InputStream downloadQueryLogs(UUID appId);
/**
- * Gets the query logs of the past month for the application.
+ * Gets the logs of the past month's endpoint queries for the application.
*
* @param appId The application ID.
* @throws IllegalArgumentException thrown if parameters fail the validation
@@ -382,27 +382,91 @@ interface AppsImportMethodDefinition extends
Observable updateAsync(UUID appId, ApplicationUpdateObject applicationUpdateObject);
-
/**
* Deletes an application.
*
* @param appId The application ID.
+ * @param deleteOptionalParameter the object representing the optional parameters to be set before calling this API
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws ErrorResponseException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the OperationStatus object if successful.
*/
- OperationStatus delete(UUID appId);
+ OperationStatus delete(UUID appId, DeleteAppsOptionalParameter deleteOptionalParameter);
/**
* Deletes an application.
*
* @param appId The application ID.
+ * @param deleteOptionalParameter the object representing the optional parameters to be set before calling this API
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the OperationStatus object
*/
- Observable deleteAsync(UUID appId);
+ Observable deleteAsync(UUID appId, DeleteAppsOptionalParameter deleteOptionalParameter);
+
+ /**
+ * Deletes an application.
+ *
+ * @return the first stage of the delete call
+ */
+ AppsDeleteDefinitionStages.WithAppId delete();
+
+ /**
+ * Grouping of delete definition stages.
+ */
+ interface AppsDeleteDefinitionStages {
+ /**
+ * The stage of the definition to be specify appId.
+ */
+ interface WithAppId {
+ /**
+ * The application ID.
+ *
+ * @return next definition stage
+ */
+ AppsDeleteDefinitionStages.WithExecute withAppId(UUID appId);
+ }
+
+ /**
+ * The stage of the definition which allows for any other optional settings to be specified.
+ */
+ interface WithAllOptions {
+ /**
+ * A flag to indicate whether to force an operation.
+ *
+ * @return next definition stage
+ */
+ AppsDeleteDefinitionStages.WithExecute withForce(Boolean force);
+
+ }
+
+ /**
+ * The last stage of the definition which will make the operation call.
+ */
+ interface WithExecute extends AppsDeleteDefinitionStages.WithAllOptions {
+ /**
+ * Execute the request.
+ *
+ * @return the OperationStatus object if successful.
+ */
+ OperationStatus execute();
+
+ /**
+ * Execute the request asynchronously.
+ *
+ * @return the observable to the OperationStatus object
+ */
+ Observable executeAsync();
+ }
+ }
+ /**
+ * The entirety of delete definition.
+ */
+ interface AppsDeleteDefinition extends
+ AppsDeleteDefinitionStages.WithAppId,
+ AppsDeleteDefinitionStages.WithExecute {
+ }
/**
@@ -432,7 +496,7 @@ interface AppsImportMethodDefinition extends
/**
- * Get the application settings.
+ * Get the application settings including 'UseAllTrainingData'.
*
* @param appId The application ID.
* @throws IllegalArgumentException thrown if parameters fail the validation
@@ -443,7 +507,7 @@ interface AppsImportMethodDefinition extends
ApplicationSettings getSettings(UUID appId);
/**
- * Get the application settings.
+ * Get the application settings including 'UseAllTrainingData'.
*
* @param appId The application ID.
* @throws IllegalArgumentException thrown if parameters fail the validation
@@ -453,7 +517,7 @@ interface AppsImportMethodDefinition extends
/**
- * Updates the application settings.
+ * Updates the application settings including 'UseAllTrainingData'.
*
* @param appId The application ID.
* @param updateSettingsOptionalParameter the object representing the optional parameters to be set before calling this API
@@ -462,22 +526,20 @@ 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);
/**
- * Updates the application settings.
+ * Updates the application settings including 'UseAllTrainingData'.
*
* @param appId The application ID.
* @param updateSettingsOptionalParameter the object representing the optional parameters to be set before calling this API
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the OperationStatus object
*/
- @Deprecated
Observable updateSettingsAsync(UUID appId, UpdateSettingsOptionalParameter updateSettingsOptionalParameter);
/**
- * Updates the application settings.
+ * Updates the application settings including 'UseAllTrainingData'.
*
* @return the first stage of the updateSettings call
*/
@@ -509,7 +571,7 @@ interface WithAllOptions {
*
* @return next definition stage
*/
- AppsUpdateSettingsDefinitionStages.WithExecute withPublicParameter(boolean publicParameter);
+ AppsUpdateSettingsDefinitionStages.WithExecute withIsPublic(boolean isPublic);
}
@@ -543,7 +605,7 @@ interface AppsUpdateSettingsDefinition extends
/**
- * Get the application publish settings.
+ * Get the application publish settings including 'UseAllTrainingData'.
*
* @param appId The application ID.
* @throws IllegalArgumentException thrown if parameters fail the validation
@@ -554,7 +616,7 @@ interface AppsUpdateSettingsDefinition extends
PublishSettings getPublishSettings(UUID appId);
/**
- * Get the application publish settings.
+ * Get the application publish settings including 'UseAllTrainingData'.
*
* @param appId The application ID.
* @throws IllegalArgumentException thrown if parameters fail the validation
@@ -565,7 +627,7 @@ interface AppsUpdateSettingsDefinition extends
/**
- * Updates the application publish settings.
+ * Updates the application publish settings including 'UseAllTrainingData'.
*
* @param appId The application ID.
* @param publishSettingUpdateObject An object containing the new publish application settings.
@@ -577,7 +639,7 @@ interface AppsUpdateSettingsDefinition extends
OperationStatus updatePublishSettings(UUID appId, PublishSettingUpdateObject publishSettingUpdateObject);
/**
- * Updates the application publish settings.
+ * Updates the application publish settings including 'UseAllTrainingData'.
*
* @param appId The application ID.
* @param publishSettingUpdateObject An object containing the new publish application settings.
@@ -631,7 +693,7 @@ interface AppsUpdateSettingsDefinition extends
/**
- * Adds a prebuilt domain along with its models as a new application.
+ * Adds a prebuilt domain along with its intent and entity models as a new application.
*
* @param prebuiltDomainCreateObject A prebuilt domain create object containing the name and culture of the domain.
* @throws IllegalArgumentException thrown if parameters fail the validation
@@ -642,7 +704,7 @@ interface AppsUpdateSettingsDefinition extends
UUID addCustomPrebuiltDomain(PrebuiltDomainCreateObject prebuiltDomainCreateObject);
/**
- * Adds a prebuilt domain along with its models as a new application.
+ * Adds a prebuilt domain along with its intent and entity models as a new application.
*
* @param prebuiltDomainCreateObject A prebuilt domain create object containing the name and culture of the domain.
* @throws IllegalArgumentException thrown if parameters fail the validation
@@ -653,7 +715,7 @@ interface AppsUpdateSettingsDefinition extends
/**
- * Gets all the available custom prebuilt domains for a specific culture.
+ * Gets all the available prebuilt domains for a specific culture.
*
* @param culture Culture.
* @throws IllegalArgumentException thrown if parameters fail the validation
@@ -664,7 +726,7 @@ interface AppsUpdateSettingsDefinition extends
List listAvailableCustomPrebuiltDomainsForCulture(String culture);
/**
- * Gets all the available custom prebuilt domains for a specific culture.
+ * Gets all the available prebuilt domains for a specific culture.
*
* @param culture Culture.
* @throws IllegalArgumentException thrown if parameters fail the validation
@@ -673,4 +735,56 @@ interface AppsUpdateSettingsDefinition extends
Observable> listAvailableCustomPrebuiltDomainsForCultureAsync(String culture);
+
+ /**
+ * package - Gets published LUIS application package in binary stream GZip format.
+ * Packages a published LUIS application as a GZip file to be used in the LUIS container.
+ *
+ * @param appId The application ID.
+ * @param slotName The publishing slot name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @throws ErrorResponseException thrown if the request is rejected by server
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
+ * @return the InputStream object if successful.
+ */
+ InputStream packagePublishedApplicationAsGzip(UUID appId, String slotName);
+
+ /**
+ * package - Gets published LUIS application package in binary stream GZip format.
+ * Packages a published LUIS application as a GZip file to be used in the LUIS container.
+ *
+ * @param appId The application ID.
+ * @param slotName The publishing slot name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable to the InputStream object
+ */
+ Observable packagePublishedApplicationAsGzipAsync(UUID appId, String slotName);
+
+
+
+ /**
+ * package - Gets trained LUIS application package in binary stream GZip format.
+ * Packages trained LUIS application as GZip file to be used in the LUIS container.
+ *
+ * @param appId The application ID.
+ * @param versionId The version ID.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @throws ErrorResponseException thrown if the request is rejected by server
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
+ * @return the InputStream object if successful.
+ */
+ InputStream packageTrainedApplicationAsGzip(UUID appId, String versionId);
+
+ /**
+ * package - Gets trained LUIS application package in binary stream GZip format.
+ * Packages trained LUIS application as GZip file to be used in the LUIS container.
+ *
+ * @param appId The application ID.
+ * @param versionId The version ID.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable to the InputStream object
+ */
+ Observable packageTrainedApplicationAsGzipAsync(UUID appId, String versionId);
+
+
}
diff --git a/sdk/cognitiveservices/ms-azure-cs-luis-authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/AzureAccounts.java b/sdk/cognitiveservices/ms-azure-cs-luis-authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/AzureAccounts.java
new file mode 100644
index 000000000000..0be16f7b1f68
--- /dev/null
+++ b/sdk/cognitiveservices/ms-azure-cs-luis-authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/AzureAccounts.java
@@ -0,0 +1,250 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.cognitiveservices.language.luis.authoring;
+
+import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.AssignToAppOptionalParameter;
+import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.RemoveFromAppOptionalParameter;
+import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.AzureAccountInfoObject;
+import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.ErrorResponseException;
+import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.OperationStatus;
+import java.io.IOException;
+import java.util.List;
+import java.util.UUID;
+import rx.Observable;
+
+/**
+ * An instance of this class provides access to all the operations defined
+ * in AzureAccounts.
+ */
+public interface AzureAccounts {
+ /**
+ * apps - Assign a LUIS Azure account to an application.
+ * Assigns an Azure account to the application.
+ *
+ * @param appId The application ID.
+ * @param assignToAppOptionalParameter the object representing the optional parameters to be set before calling this API
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @throws ErrorResponseException thrown if the request is rejected by server
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
+ * @return the OperationStatus object if successful.
+ */
+ OperationStatus assignToApp(UUID appId, AssignToAppOptionalParameter assignToAppOptionalParameter);
+
+ /**
+ * apps - Assign a LUIS Azure account to an application.
+ * Assigns an Azure account to the application.
+ *
+ * @param appId The application ID.
+ * @param assignToAppOptionalParameter the object representing the optional parameters to be set before calling this API
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable to the OperationStatus object
+ */
+ Observable assignToAppAsync(UUID appId, AssignToAppOptionalParameter assignToAppOptionalParameter);
+
+ /**
+ * apps - Assign a LUIS Azure account to an application.
+ * Assigns an Azure account to the application.
+ *
+ * @return the first stage of the assignToApp call
+ */
+ AzureAccountsAssignToAppDefinitionStages.WithAppId assignToApp();
+
+ /**
+ * Grouping of assignToApp definition stages.
+ */
+ interface AzureAccountsAssignToAppDefinitionStages {
+ /**
+ * The stage of the definition to be specify appId.
+ */
+ interface WithAppId {
+ /**
+ * The application ID.
+ *
+ * @return next definition stage
+ */
+ AzureAccountsAssignToAppDefinitionStages.WithExecute withAppId(UUID appId);
+ }
+
+ /**
+ * The stage of the definition which allows for any other optional settings to be specified.
+ */
+ interface WithAllOptions {
+ /**
+ * The Azure account information object.
+ *
+ * @return next definition stage
+ */
+ AzureAccountsAssignToAppDefinitionStages.WithExecute withAzureAccountInfoObject(AzureAccountInfoObject azureAccountInfoObject);
+
+ }
+
+ /**
+ * The last stage of the definition which will make the operation call.
+ */
+ interface WithExecute extends AzureAccountsAssignToAppDefinitionStages.WithAllOptions {
+ /**
+ * Execute the request.
+ *
+ * @return the OperationStatus object if successful.
+ */
+ OperationStatus execute();
+
+ /**
+ * Execute the request asynchronously.
+ *
+ * @return the observable to the OperationStatus object
+ */
+ Observable executeAsync();
+ }
+ }
+
+ /**
+ * The entirety of assignToApp definition.
+ */
+ interface AzureAccountsAssignToAppDefinition extends
+ AzureAccountsAssignToAppDefinitionStages.WithAppId,
+ AzureAccountsAssignToAppDefinitionStages.WithExecute {
+ }
+
+
+ /**
+ * apps - Get LUIS Azure accounts assigned to the application.
+ * Gets the LUIS Azure accounts assigned to the application for the user using his ARM token.
+ *
+ * @param appId The application ID.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @throws ErrorResponseException thrown if the request is rejected by server
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
+ * @return the List<AzureAccountInfoObject> object if successful.
+ */
+ List getAssigned(UUID appId);
+
+ /**
+ * apps - Get LUIS Azure accounts assigned to the application.
+ * Gets the LUIS Azure accounts assigned to the application for the user using his ARM token.
+ *
+ * @param appId The application ID.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable to the List<AzureAccountInfoObject> object
+ */
+ Observable> getAssignedAsync(UUID appId);
+
+
+ /**
+ * apps - Removes an assigned LUIS Azure account from an application.
+ * Removes assigned Azure account from the application.
+ *
+ * @param appId The application ID.
+ * @param removeFromAppOptionalParameter the object representing the optional parameters to be set before calling this API
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @throws ErrorResponseException thrown if the request is rejected by server
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
+ * @return the OperationStatus object if successful.
+ */
+ OperationStatus removeFromApp(UUID appId, RemoveFromAppOptionalParameter removeFromAppOptionalParameter);
+
+ /**
+ * apps - Removes an assigned LUIS Azure account from an application.
+ * Removes assigned Azure account from the application.
+ *
+ * @param appId The application ID.
+ * @param removeFromAppOptionalParameter the object representing the optional parameters to be set before calling this API
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable to the OperationStatus object
+ */
+ Observable removeFromAppAsync(UUID appId, RemoveFromAppOptionalParameter removeFromAppOptionalParameter);
+
+ /**
+ * apps - Removes an assigned LUIS Azure account from an application.
+ * Removes assigned Azure account from the application.
+ *
+ * @return the first stage of the removeFromApp call
+ */
+ AzureAccountsRemoveFromAppDefinitionStages.WithAppId removeFromApp();
+
+ /**
+ * Grouping of removeFromApp definition stages.
+ */
+ interface AzureAccountsRemoveFromAppDefinitionStages {
+ /**
+ * The stage of the definition to be specify appId.
+ */
+ interface WithAppId {
+ /**
+ * The application ID.
+ *
+ * @return next definition stage
+ */
+ AzureAccountsRemoveFromAppDefinitionStages.WithExecute withAppId(UUID appId);
+ }
+
+ /**
+ * The stage of the definition which allows for any other optional settings to be specified.
+ */
+ interface WithAllOptions {
+ /**
+ * The Azure account information object.
+ *
+ * @return next definition stage
+ */
+ AzureAccountsRemoveFromAppDefinitionStages.WithExecute withAzureAccountInfoObject(AzureAccountInfoObject azureAccountInfoObject);
+
+ }
+
+ /**
+ * The last stage of the definition which will make the operation call.
+ */
+ interface WithExecute extends AzureAccountsRemoveFromAppDefinitionStages.WithAllOptions {
+ /**
+ * Execute the request.
+ *
+ * @return the OperationStatus object if successful.
+ */
+ OperationStatus execute();
+
+ /**
+ * Execute the request asynchronously.
+ *
+ * @return the observable to the OperationStatus object
+ */
+ Observable executeAsync();
+ }
+ }
+
+ /**
+ * The entirety of removeFromApp definition.
+ */
+ interface AzureAccountsRemoveFromAppDefinition extends
+ AzureAccountsRemoveFromAppDefinitionStages.WithAppId,
+ AzureAccountsRemoveFromAppDefinitionStages.WithExecute {
+ }
+
+
+ /**
+ * user - Get LUIS Azure accounts.
+ * Gets the LUIS Azure accounts for the user using his ARM token.
+ *
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @throws ErrorResponseException thrown if the request is rejected by server
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
+ * @return the List<AzureAccountInfoObject> object if successful.
+ */
+ List listUserLUISAccounts();
+
+ /**
+ * user - Get LUIS Azure accounts.
+ * Gets the LUIS Azure accounts for the user using his ARM token.
+ *
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable to the List<AzureAccountInfoObject> object
+ */
+ Observable> listUserLUISAccountsAsync();
+
+
+}
diff --git a/sdk/cognitiveservices/ms-azure-cs-luis-authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/Examples.java b/sdk/cognitiveservices/ms-azure-cs-luis-authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/Examples.java
index b673d2e963f8..902fd87508e8 100644
--- a/sdk/cognitiveservices/ms-azure-cs-luis-authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/Examples.java
+++ b/sdk/cognitiveservices/ms-azure-cs-luis-authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/Examples.java
@@ -15,6 +15,7 @@
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.LabeledUtterance;
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.LabelExampleResponse;
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.OperationStatus;
+import java.io.IOException;
import java.util.List;
import java.util.UUID;
import rx.Observable;
@@ -26,11 +27,11 @@
public interface Examples {
/**
- * Adds a labeled example to the application.
+ * Adds a labeled example utterance in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
- * @param exampleLabelObject An example label with the expected intent and entities.
+ * @param exampleLabelObject A labeled example utterance with the expected intent and entities.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws ErrorResponseException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
@@ -39,11 +40,11 @@ public interface Examples {
LabelExampleResponse add(UUID appId, String versionId, ExampleLabelObject exampleLabelObject);
/**
- * Adds a labeled example to the application.
+ * Adds a labeled example utterance in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
- * @param exampleLabelObject An example label with the expected intent and entities.
+ * @param exampleLabelObject A labeled example utterance with the expected intent and entities.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the LabelExampleResponse object
*/
@@ -52,11 +53,11 @@ public interface Examples {
/**
- * Adds a batch of labeled examples to the application.
+ * Adds a batch of labeled example utterances to a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
- * @param exampleLabelObjectArray Array of examples.
+ * @param exampleLabelObjectArray Array of example utterances.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws ErrorResponseException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
@@ -65,11 +66,11 @@ public interface Examples {
List batch(UUID appId, String versionId, List exampleLabelObjectArray);
/**
- * Adds a batch of labeled examples to the application.
+ * Adds a batch of labeled example utterances to a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
- * @param exampleLabelObjectArray Array of examples.
+ * @param exampleLabelObjectArray Array of example utterances.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the List<BatchLabelExample> object
*/
@@ -77,7 +78,7 @@ public interface Examples {
/**
- * Returns examples to be reviewed.
+ * Returns example utterances to be reviewed from a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -87,11 +88,10 @@ 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);
/**
- * Returns examples to be reviewed.
+ * Returns example utterances to be reviewed from a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -99,11 +99,10 @@ 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);
/**
- * Returns examples to be reviewed.
+ * Returns example utterances to be reviewed from a version of the application.
*
* @return the first stage of the list call
*/
@@ -187,7 +186,7 @@ interface ExamplesListDefinition extends
/**
- * Deletes the labeled example with the specified ID.
+ * Deletes the labeled example utterances with the specified ID from a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -200,7 +199,7 @@ interface ExamplesListDefinition extends
OperationStatus delete(UUID appId, String versionId, int exampleId);
/**
- * Deletes the labeled example with the specified ID.
+ * Deletes the labeled example utterances with the specified ID from a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
diff --git a/sdk/cognitiveservices/ms-azure-cs-luis-authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/Features.java b/sdk/cognitiveservices/ms-azure-cs-luis-authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/Features.java
index 647f5c198b0e..c233a03388a6 100644
--- a/sdk/cognitiveservices/ms-azure-cs-luis-authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/Features.java
+++ b/sdk/cognitiveservices/ms-azure-cs-luis-authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/Features.java
@@ -13,10 +13,12 @@
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.UpdatePhraseListOptionalParameter;
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.ErrorResponseException;
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.FeaturesResponseObject;
+import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.ModelFeatureInformation;
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.OperationStatus;
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.PhraselistCreateObject;
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.PhraseListFeatureInfo;
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.PhraselistUpdateObject;
+import java.io.IOException;
import java.util.List;
import java.util.UUID;
import rx.Observable;
@@ -28,7 +30,7 @@
public interface Features {
/**
- * Creates a new phraselist feature.
+ * Creates a new phraselist feature in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -42,7 +44,7 @@ public interface Features {
int addPhraseList(UUID appId, String versionId, PhraselistCreateObject phraselistCreateObject);
/**
- * Creates a new phraselist feature.
+ * Creates a new phraselist feature in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -55,7 +57,7 @@ public interface Features {
/**
- * Gets all the phraselist features.
+ * Gets all the phraselist features in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -65,11 +67,10 @@ 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);
/**
- * Gets all the phraselist features.
+ * Gets all the phraselist features in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -77,11 +78,10 @@ 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);
/**
- * Gets all the phraselist features.
+ * Gets all the phraselist features in a version of the application.
*
* @return the first stage of the listPhraseLists call
*/
@@ -164,7 +164,7 @@ interface FeaturesListPhraseListsDefinition extends
}
/**
- * Gets all the extraction features for the specified application version.
+ * Gets all the extraction phraselist and pattern features in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -174,11 +174,10 @@ 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);
/**
- * Gets all the extraction features for the specified application version.
+ * Gets all the extraction phraselist and pattern features in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -186,11 +185,10 @@ 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);
/**
- * Gets all the extraction features for the specified application version.
+ * Gets all the extraction phraselist and pattern features in a version of the application.
*
* @return the first stage of the list call
*/
@@ -274,7 +272,7 @@ interface FeaturesListDefinition extends
/**
- * Gets phraselist feature info.
+ * Gets phraselist feature info in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -287,7 +285,7 @@ interface FeaturesListDefinition extends
PhraseListFeatureInfo getPhraseList(UUID appId, String versionId, int phraselistId);
/**
- * Gets phraselist feature info.
+ * Gets phraselist feature info in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -299,7 +297,7 @@ interface FeaturesListDefinition extends
/**
- * Updates the phrases, the state and the name of the phraselist feature.
+ * Updates the phrases, the state and the name of the phraselist feature in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -310,11 +308,10 @@ 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);
/**
- * Updates the phrases, the state and the name of the phraselist feature.
+ * Updates the phrases, the state and the name of the phraselist feature in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -323,11 +320,10 @@ 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);
/**
- * Updates the phrases, the state and the name of the phraselist feature.
+ * Updates the phrases, the state and the name of the phraselist feature in a version of the application.
*
* @return the first stage of the updatePhraseList call
*/
@@ -417,7 +413,7 @@ interface FeaturesUpdatePhraseListDefinition extends
/**
- * Deletes a phraselist feature.
+ * Deletes a phraselist feature from a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -430,7 +426,7 @@ interface FeaturesUpdatePhraseListDefinition extends
OperationStatus deletePhraseList(UUID appId, String versionId, int phraselistId);
/**
- * Deletes a phraselist feature.
+ * Deletes a phraselist feature from a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -441,4 +437,60 @@ interface FeaturesUpdatePhraseListDefinition extends
Observable deletePhraseListAsync(UUID appId, String versionId, int phraselistId);
+
+ /**
+ * Adds a new feature relation to be used by the intent in a version of the application.
+ *
+ * @param appId The application ID.
+ * @param versionId The version ID.
+ * @param intentId The intent classifier ID.
+ * @param featureRelationCreateObject A Feature relation information object.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @throws ErrorResponseException thrown if the request is rejected by server
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
+ * @return the OperationStatus object if successful.
+ */
+ OperationStatus addIntentFeature(UUID appId, String versionId, UUID intentId, ModelFeatureInformation featureRelationCreateObject);
+
+ /**
+ * Adds a new feature relation to be used by the intent in a version of the application.
+ *
+ * @param appId The application ID.
+ * @param versionId The version ID.
+ * @param intentId The intent classifier ID.
+ * @param featureRelationCreateObject A Feature relation information object.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable to the OperationStatus object
+ */
+ Observable addIntentFeatureAsync(UUID appId, String versionId, UUID intentId, ModelFeatureInformation featureRelationCreateObject);
+
+
+
+ /**
+ * Adds a new feature relation to be used by the entity in a version of the application.
+ *
+ * @param appId The application ID.
+ * @param versionId The version ID.
+ * @param entityId The entity extractor ID.
+ * @param featureRelationCreateObject A Feature relation information object.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @throws ErrorResponseException thrown if the request is rejected by server
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
+ * @return the OperationStatus object if successful.
+ */
+ OperationStatus addEntityFeature(UUID appId, String versionId, UUID entityId, ModelFeatureInformation featureRelationCreateObject);
+
+ /**
+ * Adds a new feature relation to be used by the entity in a version of the application.
+ *
+ * @param appId The application ID.
+ * @param versionId The version ID.
+ * @param entityId The entity extractor ID.
+ * @param featureRelationCreateObject A Feature relation information object.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable to the OperationStatus object
+ */
+ Observable addEntityFeatureAsync(UUID appId, String versionId, UUID entityId, ModelFeatureInformation featureRelationCreateObject);
+
+
}
diff --git a/sdk/cognitiveservices/ms-azure-cs-luis-authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/LUISAuthoringClient.java b/sdk/cognitiveservices/ms-azure-cs-luis-authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/LUISAuthoringClient.java
index 065cc8cbd49e..b885e4279516 100644
--- a/sdk/cognitiveservices/ms-azure-cs-luis-authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/LUISAuthoringClient.java
+++ b/sdk/cognitiveservices/ms-azure-cs-luis-authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/LUISAuthoringClient.java
@@ -143,4 +143,16 @@ public interface LUISAuthoringClient {
*/
Patterns patterns();
+ /**
+ * Gets the Settings object to access its operations.
+ * @return the Settings object.
+ */
+ Settings settings();
+
+ /**
+ * Gets the AzureAccounts object to access its operations.
+ * @return the AzureAccounts object.
+ */
+ AzureAccounts azureAccounts();
+
}
diff --git a/sdk/cognitiveservices/ms-azure-cs-luis-authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/LUISAuthoringManager.java b/sdk/cognitiveservices/ms-azure-cs-luis-authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/LUISAuthoringManager.java
index 4621eb789197..45296f75721a 100644
--- a/sdk/cognitiveservices/ms-azure-cs-luis-authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/LUISAuthoringManager.java
+++ b/sdk/cognitiveservices/ms-azure-cs-luis-authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/LUISAuthoringManager.java
@@ -29,7 +29,7 @@ public class LUISAuthoringManager {
* @return the Language Understanding Authoring API client
*/
public static LUISAuthoringClient authenticate(EndpointAPI endpointAPI, String luisAuthoringKey) {
- return authenticate(String.format("https://%s/luis/api/v2.0/", endpointAPI.toString()), luisAuthoringKey)
+ return authenticate(String.format("https://%s/luis/authoring/v3.0-preview", endpointAPI.toString()), luisAuthoringKey)
.withEndpoint(endpointAPI.toString());
}
@@ -78,7 +78,7 @@ public Response intercept(Chain chain) throws IOException {
* @return the Language Understanding (LUIS) Authoring API client
*/
public static LUISAuthoringClient authenticate(EndpointAPI endpointAPI, ServiceClientCredentials credentials) {
- return authenticate(String.format("https://%s/luis/api/v2.0/", endpointAPI), credentials)
+ return authenticate(String.format("https://%s/luis/authoring/v3.0-preview", endpointAPI), credentials)
.withEndpoint(endpointAPI.toString());
}
diff --git a/sdk/cognitiveservices/ms-azure-cs-luis-authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/Models.java b/sdk/cognitiveservices/ms-azure-cs-luis-authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/Models.java
index 95e2a1be6950..6480f63253c7 100644
--- a/sdk/cognitiveservices/ms-azure-cs-luis-authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/Models.java
+++ b/sdk/cognitiveservices/ms-azure-cs-luis-authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/Models.java
@@ -10,7 +10,6 @@
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.AddIntentOptionalParameter;
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.ListIntentsOptionalParameter;
-import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.AddEntityOptionalParameter;
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.ListEntitiesOptionalParameter;
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.ListHierarchicalEntitiesOptionalParameter;
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.ListCompositeEntitiesOptionalParameter;
@@ -20,16 +19,15 @@
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.ExamplesMethodOptionalParameter;
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.UpdateIntentOptionalParameter;
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.DeleteIntentOptionalParameter;
-import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.UpdateEntityOptionalParameter;
+import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.UpdateHierarchicalEntityOptionalParameter;
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.PatchClosedListOptionalParameter;
-import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.GetIntentSuggestionsOptionalParameter;
-import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.GetEntitySuggestionsOptionalParameter;
+import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.ListIntentSuggestionsOptionalParameter;
+import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.ListEntitySuggestionsOptionalParameter;
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.AddCustomPrebuiltDomainModelsOptionalParameter;
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.UpdateHierarchicalEntityChildOptionalParameter;
-import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.AddHierarchicalEntityChildOptionalParameter;
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.AddCompositeEntityChildOptionalParameter;
-import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.GetRegexEntityInfosOptionalParameter;
-import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.GetPatternAnyEntityInfosOptionalParameter;
+import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.ListRegexEntityInfosOptionalParameter;
+import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.ListPatternAnyEntityInfosOptionalParameter;
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.CreateEntityRoleOptionalParameter;
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.CreatePrebuiltEntityRoleOptionalParameter;
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.CreateClosedListEntityRoleOptionalParameter;
@@ -48,8 +46,8 @@
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.UpdateHierarchicalEntityRoleOptionalParameter;
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.UpdateCustomPrebuiltEntityRoleOptionalParameter;
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.UpdateExplicitListItemOptionalParameter;
-import com.microsoft.azure.CloudException;
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.AvailablePrebuiltEntityModel;
+import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.ChildEntityModelCreateObject;
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.ClosedListEntityExtractor;
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.ClosedListModelCreateObject;
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.ClosedListModelUpdateObject;
@@ -58,16 +56,19 @@
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.CustomPrebuiltModel;
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.EntitiesSuggestionExample;
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.EntityExtractor;
+import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.EntityModelCreateObject;
+import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.EntityModelUpdateObject;
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.EntityRole;
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.ErrorResponseException;
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.ExplicitListItem;
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.HierarchicalChildEntity;
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.HierarchicalEntityExtractor;
-import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.HierarchicalEntityModel;
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.IntentClassifier;
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.IntentsSuggestionExample;
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.LabelTextObject;
+import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.ModelFeatureInformation;
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.ModelInfoResponse;
+import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.NDepthEntityExtractor;
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.OperationStatus;
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.PatternAnyEntityExtractor;
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.PatternAnyModelCreateObject;
@@ -79,6 +80,7 @@
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.RegexModelUpdateObject;
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.WordListBaseUpdateObject;
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.WordListObject;
+import java.io.IOException;
import java.util.List;
import java.util.UUID;
import rx.Observable;
@@ -89,21 +91,20 @@
*/
public interface Models {
/**
- * Adds an intent classifier to the application.
+ * Adds an intent to a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
* @param addIntentOptionalParameter the object representing the optional parameters to be set before calling this API
* @throws IllegalArgumentException thrown if parameters fail the validation
- * @throws CloudException thrown if the request is rejected by server
+ * @throws ErrorResponseException thrown if the request is rejected by server
* @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);
/**
- * Adds an intent classifier to the application.
+ * Adds an intent to a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -111,11 +112,10 @@ 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);
/**
- * Adds an intent classifier to the application.
+ * Adds an intent to a version of the application.
*
* @return the first stage of the addIntent call
*/
@@ -191,7 +191,7 @@ interface ModelsAddIntentDefinition extends
}
/**
- * Gets information about the intent models.
+ * Gets information about the intent models in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -201,11 +201,10 @@ 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);
/**
- * Gets information about the intent models.
+ * Gets information about the intent models in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -213,11 +212,10 @@ 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);
/**
- * Gets information about the intent models.
+ * Gets information about the intent models in a version of the application.
*
* @return the first stage of the listIntents call
*/
@@ -299,110 +297,34 @@ interface ModelsListIntentsDefinition extends
ModelsListIntentsDefinitionStages.WithExecute {
}
+
/**
- * Adds an entity extractor to the application.
+ * Adds an entity extractor to a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
- * @param addEntityOptionalParameter the object representing the optional parameters to be set before calling this API
+ * @param entityModelCreateObject A model object containing the name of the new entity extractor and its children.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws ErrorResponseException thrown if the request is rejected by server
* @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);
+ UUID addEntity(UUID appId, String versionId, EntityModelCreateObject entityModelCreateObject);
/**
- * Adds an entity extractor to the application.
+ * Adds an entity extractor to a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
- * @param addEntityOptionalParameter the object representing the optional parameters to be set before calling this API
+ * @param entityModelCreateObject A model object containing the name of the new entity extractor and its children.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the UUID object
*/
- @Deprecated
- Observable addEntityAsync(UUID appId, String versionId, AddEntityOptionalParameter addEntityOptionalParameter);
-
- /**
- * Adds an entity extractor to the application.
- *
- * @return the first stage of the addEntity call
- */
- ModelsAddEntityDefinitionStages.WithAppId addEntity();
-
- /**
- * Grouping of addEntity definition stages.
- */
- interface ModelsAddEntityDefinitionStages {
- /**
- * The stage of the definition to be specify appId.
- */
- interface WithAppId {
- /**
- * The application ID.
- *
- * @return next definition stage
- */
- WithVersionId withAppId(UUID appId);
- }
- /**
- * The stage of the definition to be specify versionId.
- */
- interface WithVersionId {
- /**
- * The version ID.
- *
- * @return next definition stage
- */
- ModelsAddEntityDefinitionStages.WithExecute withVersionId(String versionId);
- }
-
- /**
- * The stage of the definition which allows for any other optional settings to be specified.
- */
- interface WithAllOptions {
- /**
- * Name of the new entity extractor.
- *
- * @return next definition stage
- */
- ModelsAddEntityDefinitionStages.WithExecute withName(String name);
-
- }
-
- /**
- * The last stage of the definition which will make the operation call.
- */
- interface WithExecute extends ModelsAddEntityDefinitionStages.WithAllOptions {
- /**
- * Execute the request.
- *
- * @return the UUID object if successful.
- */
- UUID execute();
-
- /**
- * Execute the request asynchronously.
- *
- * @return the observable to the UUID object
- */
- Observable executeAsync();
- }
- }
+ Observable addEntityAsync(UUID appId, String versionId, EntityModelCreateObject entityModelCreateObject);
- /**
- * The entirety of addEntity definition.
- */
- interface ModelsAddEntityDefinition extends
- ModelsAddEntityDefinitionStages.WithAppId,
- ModelsAddEntityDefinitionStages.WithVersionId,
- ModelsAddEntityDefinitionStages.WithExecute {
- }
/**
- * Gets information about the entity models.
+ * Gets information about all the simple entity models in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -410,25 +332,23 @@ interface ModelsAddEntityDefinition extends
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws ErrorResponseException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
- * @return the List<EntityExtractor> object if successful.
+ * @return the List<NDepthEntityExtractor> object if successful.
*/
- @Deprecated
- List listEntities(UUID appId, String versionId, ListEntitiesOptionalParameter listEntitiesOptionalParameter);
+ List listEntities(UUID appId, String versionId, ListEntitiesOptionalParameter listEntitiesOptionalParameter);
/**
- * Gets information about the entity models.
+ * Gets information about all the simple entity models in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
* @param listEntitiesOptionalParameter the object representing the optional parameters to be set before calling this API
* @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the List<EntityExtractor> object
+ * @return the observable to the List<NDepthEntityExtractor> object
*/
- @Deprecated
- Observable> listEntitiesAsync(UUID appId, String versionId, ListEntitiesOptionalParameter listEntitiesOptionalParameter);
+ Observable> listEntitiesAsync(UUID appId, String versionId, ListEntitiesOptionalParameter listEntitiesOptionalParameter);
/**
- * Gets information about the entity models.
+ * Gets information about all the simple entity models in a version of the application.
*
* @return the first stage of the listEntities call
*/
@@ -488,16 +408,16 @@ interface WithExecute extends ModelsListEntitiesDefinitionStages.WithAllOptions
/**
* Execute the request.
*
- * @return the List<EntityExtractor> object if successful.
+ * @return the List<NDepthEntityExtractor> object if successful.
*/
- List execute();
+ List execute();
/**
* Execute the request asynchronously.
*
- * @return the observable to the List<EntityExtractor> object
+ * @return the observable to the List<NDepthEntityExtractor> object
*/
- Observable> executeAsync();
+ Observable> executeAsync();
}
}
@@ -510,34 +430,8 @@ interface ModelsListEntitiesDefinition extends
ModelsListEntitiesDefinitionStages.WithExecute {
}
-
- /**
- * Adds a hierarchical entity extractor to the application version.
- *
- * @param appId The application ID.
- * @param versionId The version ID.
- * @param hierarchicalModelCreateObject A model containing the name and children of the new entity extractor.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @throws ErrorResponseException thrown if the request is rejected by server
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
- * @return the UUID object if successful.
- */
- UUID addHierarchicalEntity(UUID appId, String versionId, HierarchicalEntityModel hierarchicalModelCreateObject);
-
/**
- * Adds a hierarchical entity extractor to the application version.
- *
- * @param appId The application ID.
- * @param versionId The version ID.
- * @param hierarchicalModelCreateObject A model containing the name and children of the new entity extractor.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the UUID object
- */
- Observable addHierarchicalEntityAsync(UUID appId, String versionId, HierarchicalEntityModel hierarchicalModelCreateObject);
-
-
- /**
- * Gets information about the hierarchical entity models.
+ * Gets information about all the hierarchical entity models in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -547,11 +441,10 @@ 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);
/**
- * Gets information about the hierarchical entity models.
+ * Gets information about all the hierarchical entity models in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -559,11 +452,10 @@ 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);
/**
- * Gets information about the hierarchical entity models.
+ * Gets information about all the hierarchical entity models in a version of the application.
*
* @return the first stage of the listHierarchicalEntities call
*/
@@ -645,34 +537,8 @@ interface ModelsListHierarchicalEntitiesDefinition extends
ModelsListHierarchicalEntitiesDefinitionStages.WithExecute {
}
-
- /**
- * Adds a composite entity extractor to the application.
- *
- * @param appId The application ID.
- * @param versionId The version ID.
- * @param compositeModelCreateObject A model containing the name and children of the new entity extractor.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @throws ErrorResponseException thrown if the request is rejected by server
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
- * @return the UUID object if successful.
- */
- UUID addCompositeEntity(UUID appId, String versionId, CompositeEntityModel compositeModelCreateObject);
-
- /**
- * Adds a composite entity extractor to the application.
- *
- * @param appId The application ID.
- * @param versionId The version ID.
- * @param compositeModelCreateObject A model containing the name and children of the new entity extractor.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the UUID object
- */
- Observable addCompositeEntityAsync(UUID appId, String versionId, CompositeEntityModel compositeModelCreateObject);
-
-
/**
- * Gets information about the composite entity models.
+ * Gets information about all the composite entity models in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -682,11 +548,10 @@ 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);
/**
- * Gets information about the composite entity models.
+ * Gets information about all the composite entity models in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -694,11 +559,10 @@ 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);
/**
- * Gets information about the composite entity models.
+ * Gets information about all the composite entity models in a version of the application.
*
* @return the first stage of the listCompositeEntities call
*/
@@ -781,7 +645,7 @@ interface ModelsListCompositeEntitiesDefinition extends
}
/**
- * Gets information about the closedlist models.
+ * Gets information about all the list entity models in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -791,11 +655,10 @@ 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);
/**
- * Gets information about the closedlist models.
+ * Gets information about all the list entity models in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -803,11 +666,10 @@ 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);
/**
- * Gets information about the closedlist models.
+ * Gets information about all the list entity models in a version of the application.
*
* @return the first stage of the listClosedLists call
*/
@@ -891,11 +753,11 @@ interface ModelsListClosedListsDefinition extends
/**
- * Adds a closed list model to the application.
+ * Adds a list entity model to a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
- * @param closedListModelCreateObject A model containing the name and words for the new closed list entity extractor.
+ * @param closedListModelCreateObject A model containing the name and words for the new list entity extractor.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws ErrorResponseException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
@@ -904,11 +766,11 @@ interface ModelsListClosedListsDefinition extends
UUID addClosedList(UUID appId, String versionId, ClosedListModelCreateObject closedListModelCreateObject);
/**
- * Adds a closed list model to the application.
+ * Adds a list entity model to a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
- * @param closedListModelCreateObject A model containing the name and words for the new closed list entity extractor.
+ * @param closedListModelCreateObject A model containing the name and words for the new list entity extractor.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the UUID object
*/
@@ -917,7 +779,7 @@ interface ModelsListClosedListsDefinition extends
/**
- * Adds a list of prebuilt entity extractors to the application.
+ * Adds a list of prebuilt entities to a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -930,7 +792,7 @@ interface ModelsListClosedListsDefinition extends
List addPrebuilt(UUID appId, String versionId, List prebuiltExtractorNames);
/**
- * Adds a list of prebuilt entity extractors to the application.
+ * Adds a list of prebuilt entities to a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -942,7 +804,7 @@ interface ModelsListClosedListsDefinition extends
/**
- * Gets information about the prebuilt entity models.
+ * Gets information about all the prebuilt entities in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -952,11 +814,10 @@ 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);
/**
- * Gets information about the prebuilt entity models.
+ * Gets information about all the prebuilt entities in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -964,11 +825,10 @@ 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);
/**
- * Gets information about the prebuilt entity models.
+ * Gets information about all the prebuilt entities in a version of the application.
*
* @return the first stage of the listPrebuilts call
*/
@@ -1052,7 +912,7 @@ interface ModelsListPrebuiltsDefinition extends
/**
- * Gets all the available prebuilt entity extractors for the application.
+ * Gets all the available prebuilt entities in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -1064,7 +924,7 @@ interface ModelsListPrebuiltsDefinition extends
List listPrebuiltEntities(UUID appId, String versionId);
/**
- * Gets all the available prebuilt entity extractors for the application.
+ * Gets all the available prebuilt entities in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -1075,7 +935,7 @@ interface ModelsListPrebuiltsDefinition extends
/**
- * Gets information about the application version models.
+ * Gets information about all the intent and entity models in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -1085,11 +945,10 @@ 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);
/**
- * Gets information about the application version models.
+ * Gets information about all the intent and entity models in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -1097,11 +956,10 @@ 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);
/**
- * Gets information about the application version models.
+ * Gets information about all the intent and entity models in a version of the application.
*
* @return the first stage of the listModels call
*/
@@ -1184,7 +1042,7 @@ interface ModelsListModelsDefinition extends
}
/**
- * Gets the utterances for the given model in the given app version.
+ * Gets the example utterances for the given intent or entity model in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -1195,11 +1053,10 @@ 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);
/**
- * Gets the utterances for the given model in the given app version.
+ * Gets the example utterances for the given intent or entity model in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -1208,11 +1065,10 @@ 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);
/**
- * Gets the utterances for the given model in the given app version.
+ * Gets the example utterances for the given intent or entity model in a version of the application.
*
* @return the first stage of the examplesMethod call
*/
@@ -1308,7 +1164,7 @@ interface ModelsExamplesMethodDefinition extends
/**
- * Gets information about the intent model.
+ * Gets information about the intent model in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -1321,7 +1177,7 @@ interface ModelsExamplesMethodDefinition extends
IntentClassifier getIntent(UUID appId, String versionId, UUID intentId);
/**
- * Gets information about the intent model.
+ * Gets information about the intent model in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -1333,7 +1189,7 @@ interface ModelsExamplesMethodDefinition extends
/**
- * Updates the name of an intent classifier.
+ * Updates the name of an intent in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -1344,11 +1200,10 @@ 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);
/**
- * Updates the name of an intent classifier.
+ * Updates the name of an intent in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -1357,11 +1212,10 @@ 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);
/**
- * Updates the name of an intent classifier.
+ * Updates the name of an intent in a version of the application.
*
* @return the first stage of the updateIntent call
*/
@@ -1449,7 +1303,7 @@ interface ModelsUpdateIntentDefinition extends
}
/**
- * Deletes an intent classifier from the application.
+ * Deletes an intent from a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -1460,11 +1314,10 @@ 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);
/**
- * Deletes an intent classifier from the application.
+ * Deletes an intent from a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -1473,11 +1326,10 @@ 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);
/**
- * Deletes an intent classifier from the application.
+ * Deletes an intent from a version of the application.
*
* @return the first stage of the deleteIntent call
*/
@@ -1526,8 +1378,8 @@ interface WithIntentId {
*/
interface WithAllOptions {
/**
- * Also delete the intent's utterances (true). Or move the utterances to the None intent (false - the default
- * value).
+ * If true, deletes the intent's example utterances. If false, moves the example utterances to the None intent.
+ * The default value is false.
*
* @return next definition stage
*/
@@ -1567,7 +1419,7 @@ interface ModelsDeleteIntentDefinition extends
/**
- * Gets information about the entity model.
+ * Gets information about an entity model in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -1575,167 +1427,247 @@ interface ModelsDeleteIntentDefinition extends
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws ErrorResponseException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
- * @return the EntityExtractor object if successful.
+ * @return the NDepthEntityExtractor object if successful.
*/
- EntityExtractor getEntity(UUID appId, String versionId, UUID entityId);
+ NDepthEntityExtractor getEntity(UUID appId, String versionId, UUID entityId);
/**
- * Gets information about the entity model.
+ * Gets information about an entity model in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
* @param entityId The entity extractor ID.
* @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the EntityExtractor object
+ * @return the observable to the NDepthEntityExtractor object
*/
- Observable getEntityAsync(UUID appId, String versionId, UUID entityId);
+ Observable getEntityAsync(UUID appId, String versionId, UUID entityId);
+
/**
- * Updates the name of an entity extractor.
+ * Deletes an entity or a child from a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
- * @param entityId The entity extractor ID.
- * @param updateEntityOptionalParameter the object representing the optional parameters to be set before calling this API
+ * @param entityId The entity extractor or the child entity extractor ID.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws ErrorResponseException thrown if the request is rejected by server
* @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);
+ OperationStatus deleteEntity(UUID appId, String versionId, UUID entityId);
/**
- * Updates the name of an entity extractor.
+ * Deletes an entity or a child from a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
- * @param entityId The entity extractor ID.
- * @param updateEntityOptionalParameter the object representing the optional parameters to be set before calling this API
+ * @param entityId The entity extractor or the child entity extractor ID.
* @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);
+ Observable deleteEntityAsync(UUID appId, String versionId, UUID entityId);
+
+
/**
- * Updates the name of an entity extractor.
+ * Updates the name of an entity extractor or the name and instanceOf model of a child entity
+ * extractor.
*
- * @return the first stage of the updateEntity call
+ * @param appId The application ID.
+ * @param versionId The version ID.
+ * @param entityId The entity extractor or the child entity extractor ID.
+ * @param entityModelUpdateObject A model object containing the name new entity extractor or the name and instance of model of a
+ * child entity extractor.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @throws ErrorResponseException thrown if the request is rejected by server
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
+ * @return the OperationStatus object if successful.
*/
- ModelsUpdateEntityDefinitionStages.WithAppId updateEntity();
+ OperationStatus updateEntityChild(UUID appId, String versionId, UUID entityId, EntityModelUpdateObject entityModelUpdateObject);
/**
- * Grouping of updateEntity definition stages.
+ * Updates the name of an entity extractor or the name and instanceOf model of a child entity
+ * extractor.
+ *
+ * @param appId The application ID.
+ * @param versionId The version ID.
+ * @param entityId The entity extractor or the child entity extractor ID.
+ * @param entityModelUpdateObject A model object containing the name new entity extractor or the name and instance of model of a
+ * child entity extractor.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable to the OperationStatus object
*/
- interface ModelsUpdateEntityDefinitionStages {
- /**
- * The stage of the definition to be specify appId.
- */
- interface WithAppId {
- /**
- * The application ID.
- *
- * @return next definition stage
- */
- WithVersionId withAppId(UUID appId);
- }
- /**
- * The stage of the definition to be specify versionId.
- */
- interface WithVersionId {
- /**
- * The version ID.
- *
- * @return next definition stage
- */
- WithEntityId withVersionId(String versionId);
- }
- /**
- * The stage of the definition to be specify entityId.
- */
- interface WithEntityId {
- /**
- * The entity extractor ID.
- *
- * @return next definition stage
- */
- ModelsUpdateEntityDefinitionStages.WithExecute withEntityId(UUID entityId);
- }
+ Observable updateEntityChildAsync(UUID appId, String versionId, UUID entityId, EntityModelUpdateObject entityModelUpdateObject);
- /**
- * The stage of the definition which allows for any other optional settings to be specified.
- */
- interface WithAllOptions {
- /**
- * The entity's new name.
- *
- * @return next definition stage
- */
- ModelsUpdateEntityDefinitionStages.WithExecute withName(String name);
- }
- /**
- * The last stage of the definition which will make the operation call.
- */
- interface WithExecute extends ModelsUpdateEntityDefinitionStages.WithAllOptions {
- /**
- * Execute the request.
- *
- * @return the OperationStatus object if successful.
- */
- OperationStatus execute();
+ /**
+ * Gets the information of the features used by the intent in a version of the application.
+ *
+ * @param appId The application ID.
+ * @param versionId The version ID.
+ * @param intentId The intent classifier ID.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @throws ErrorResponseException thrown if the request is rejected by server
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
+ * @return the List<ModelFeatureInformation> object if successful.
+ */
+ List getIntentFeatures(UUID appId, String versionId, UUID intentId);
+
+ /**
+ * Gets the information of the features used by the intent in a version of the application.
+ *
+ * @param appId The application ID.
+ * @param versionId The version ID.
+ * @param intentId The intent classifier ID.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable to the List<ModelFeatureInformation> object
+ */
+ Observable> getIntentFeaturesAsync(UUID appId, String versionId, UUID intentId);
+
- /**
- * Execute the request asynchronously.
- *
- * @return the observable to the OperationStatus object
- */
- Observable executeAsync();
- }
- }
/**
- * The entirety of updateEntity definition.
+ * Updates the information of the features used by the intent in a version of the application.
+ *
+ * @param appId The application ID.
+ * @param versionId The version ID.
+ * @param intentId The intent classifier ID.
+ * @param featureRelationsUpdateObject A list of feature information objects containing the new feature relations.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @throws ErrorResponseException thrown if the request is rejected by server
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
+ * @return the OperationStatus object if successful.
*/
- interface ModelsUpdateEntityDefinition extends
- ModelsUpdateEntityDefinitionStages.WithAppId,
- ModelsUpdateEntityDefinitionStages.WithVersionId,
- ModelsUpdateEntityDefinitionStages.WithEntityId,
- ModelsUpdateEntityDefinitionStages.WithExecute {
- }
+ OperationStatus replaceIntentFeatures(UUID appId, String versionId, UUID intentId, List featureRelationsUpdateObject);
+
+ /**
+ * Updates the information of the features used by the intent in a version of the application.
+ *
+ * @param appId The application ID.
+ * @param versionId The version ID.
+ * @param intentId The intent classifier ID.
+ * @param featureRelationsUpdateObject A list of feature information objects containing the new feature relations.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable to the OperationStatus object
+ */
+ Observable replaceIntentFeaturesAsync(UUID appId, String versionId, UUID intentId, List featureRelationsUpdateObject);
+
/**
- * Deletes an entity extractor from the application.
+ * Deletes a relation from the feature relations used by the intent in a version of the application.
+ *
+ * @param appId The application ID.
+ * @param versionId The version ID.
+ * @param intentId The intent classifier ID.
+ * @param featureRelationDeleteObject A feature information object containing the feature relation to delete.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @throws ErrorResponseException thrown if the request is rejected by server
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
+ * @return the OperationStatus object if successful.
+ */
+ OperationStatus deleteIntentFeature(UUID appId, String versionId, UUID intentId, ModelFeatureInformation featureRelationDeleteObject);
+
+ /**
+ * Deletes a relation from the feature relations used by the intent in a version of the application.
+ *
+ * @param appId The application ID.
+ * @param versionId The version ID.
+ * @param intentId The intent classifier ID.
+ * @param featureRelationDeleteObject A feature information object containing the feature relation to delete.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable to the OperationStatus object
+ */
+ Observable deleteIntentFeatureAsync(UUID appId, String versionId, UUID intentId, ModelFeatureInformation featureRelationDeleteObject);
+
+
+
+ /**
+ * Gets the information of the features used by the entity in a version of the application.
+ *
+ * @param appId The application ID.
+ * @param versionId The version ID.
+ * @param entityId The entity extractor ID.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @throws ErrorResponseException thrown if the request is rejected by server
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
+ * @return the List<ModelFeatureInformation> object if successful.
+ */
+ List getEntityFeatures(UUID appId, String versionId, UUID entityId);
+
+ /**
+ * Gets the information of the features used by the entity in a version of the application.
+ *
+ * @param appId The application ID.
+ * @param versionId The version ID.
+ * @param entityId The entity extractor ID.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable to the List<ModelFeatureInformation> object
+ */
+ Observable> getEntityFeaturesAsync(UUID appId, String versionId, UUID entityId);
+
+
+
+ /**
+ * Updates the information of the features used by the entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
* @param entityId The entity extractor ID.
+ * @param featureRelationsUpdateObject A list of feature information objects containing the new feature relations.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws ErrorResponseException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the OperationStatus object if successful.
*/
- OperationStatus deleteEntity(UUID appId, String versionId, UUID entityId);
+ OperationStatus replaceEntityFeatures(UUID appId, String versionId, UUID entityId, List featureRelationsUpdateObject);
/**
- * Deletes an entity extractor from the application.
+ * Updates the information of the features used by the entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
* @param entityId The entity extractor ID.
+ * @param featureRelationsUpdateObject A list of feature information objects containing the new feature relations.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the OperationStatus object
*/
- Observable deleteEntityAsync(UUID appId, String versionId, UUID entityId);
+ Observable replaceEntityFeaturesAsync(UUID appId, String versionId, UUID entityId, List featureRelationsUpdateObject);
+
+
+
+ /**
+ * Deletes a relation from the feature relations used by the entity in a version of the application.
+ *
+ * @param appId The application ID.
+ * @param versionId The version ID.
+ * @param entityId The entity extractor ID.
+ * @param featureRelationDeleteObject A feature information object containing the feature relation to delete.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @throws ErrorResponseException thrown if the request is rejected by server
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
+ * @return the OperationStatus object if successful.
+ */
+ OperationStatus deleteEntityFeature(UUID appId, String versionId, UUID entityId, ModelFeatureInformation featureRelationDeleteObject);
+
+ /**
+ * Deletes a relation from the feature relations used by the entity in a version of the application.
+ *
+ * @param appId The application ID.
+ * @param versionId The version ID.
+ * @param entityId The entity extractor ID.
+ * @param featureRelationDeleteObject A feature information object containing the feature relation to delete.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable to the OperationStatus object
+ */
+ Observable deleteEntityFeatureAsync(UUID appId, String versionId, UUID entityId, ModelFeatureInformation featureRelationDeleteObject);
/**
- * Gets information about the hierarchical entity model.
+ * Gets information about a hierarchical entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -1748,7 +1680,7 @@ interface ModelsUpdateEntityDefinition extends
HierarchicalEntityExtractor getHierarchicalEntity(UUID appId, String versionId, UUID hEntityId);
/**
- * Gets information about the hierarchical entity model.
+ * Gets information about a hierarchical entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -1759,37 +1691,123 @@ interface ModelsUpdateEntityDefinition extends
Observable getHierarchicalEntityAsync(UUID appId, String versionId, UUID hEntityId);
-
/**
- * Updates the name and children of a hierarchical entity model.
+ * Updates the name of a hierarchical entity model in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
* @param hEntityId The hierarchical entity extractor ID.
- * @param hierarchicalModelUpdateObject Model containing names of the children of the hierarchical entity.
+ * @param updateHierarchicalEntityOptionalParameter the object representing the optional parameters to be set before calling this API
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws ErrorResponseException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the OperationStatus object if successful.
*/
- OperationStatus updateHierarchicalEntity(UUID appId, String versionId, UUID hEntityId, HierarchicalEntityModel hierarchicalModelUpdateObject);
+ OperationStatus updateHierarchicalEntity(UUID appId, String versionId, UUID hEntityId, UpdateHierarchicalEntityOptionalParameter updateHierarchicalEntityOptionalParameter);
/**
- * Updates the name and children of a hierarchical entity model.
+ * Updates the name of a hierarchical entity model in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
* @param hEntityId The hierarchical entity extractor ID.
- * @param hierarchicalModelUpdateObject Model containing names of the children of the hierarchical entity.
+ * @param updateHierarchicalEntityOptionalParameter the object representing the optional parameters to be set before calling this API
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the OperationStatus object
*/
- Observable updateHierarchicalEntityAsync(UUID appId, String versionId, UUID hEntityId, HierarchicalEntityModel hierarchicalModelUpdateObject);
+ Observable updateHierarchicalEntityAsync(UUID appId, String versionId, UUID hEntityId, UpdateHierarchicalEntityOptionalParameter updateHierarchicalEntityOptionalParameter);
+
+ /**
+ * Updates the name of a hierarchical entity model in a version of the application.
+ *
+ * @return the first stage of the updateHierarchicalEntity call
+ */
+ ModelsUpdateHierarchicalEntityDefinitionStages.WithAppId updateHierarchicalEntity();
+ /**
+ * Grouping of updateHierarchicalEntity definition stages.
+ */
+ interface ModelsUpdateHierarchicalEntityDefinitionStages {
+ /**
+ * The stage of the definition to be specify appId.
+ */
+ interface WithAppId {
+ /**
+ * The application ID.
+ *
+ * @return next definition stage
+ */
+ WithVersionId withAppId(UUID appId);
+ }
+ /**
+ * The stage of the definition to be specify versionId.
+ */
+ interface WithVersionId {
+ /**
+ * The version ID.
+ *
+ * @return next definition stage
+ */
+ WithHEntityId withVersionId(String versionId);
+ }
+ /**
+ * The stage of the definition to be specify hEntityId.
+ */
+ interface WithHEntityId {
+ /**
+ * The hierarchical entity extractor ID.
+ *
+ * @return next definition stage
+ */
+ ModelsUpdateHierarchicalEntityDefinitionStages.WithExecute withHEntityId(UUID hEntityId);
+ }
+
+ /**
+ * The stage of the definition which allows for any other optional settings to be specified.
+ */
+ interface WithAllOptions {
+ /**
+ * The entity's new name.
+ *
+ * @return next definition stage
+ */
+ ModelsUpdateHierarchicalEntityDefinitionStages.WithExecute withName(String name);
+
+ }
+
+ /**
+ * The last stage of the definition which will make the operation call.
+ */
+ interface WithExecute extends ModelsUpdateHierarchicalEntityDefinitionStages.WithAllOptions {
+ /**
+ * Execute the request.
+ *
+ * @return the OperationStatus object if successful.
+ */
+ OperationStatus execute();
+
+ /**
+ * Execute the request asynchronously.
+ *
+ * @return the observable to the OperationStatus object
+ */
+ Observable executeAsync();
+ }
+ }
+
+ /**
+ * The entirety of updateHierarchicalEntity definition.
+ */
+ interface ModelsUpdateHierarchicalEntityDefinition extends
+ ModelsUpdateHierarchicalEntityDefinitionStages.WithAppId,
+ ModelsUpdateHierarchicalEntityDefinitionStages.WithVersionId,
+ ModelsUpdateHierarchicalEntityDefinitionStages.WithHEntityId,
+ ModelsUpdateHierarchicalEntityDefinitionStages.WithExecute {
+ }
/**
- * Deletes a hierarchical entity extractor from the application version.
+ * Deletes a hierarchical entity from a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -1802,7 +1820,7 @@ interface ModelsUpdateEntityDefinition extends
OperationStatus deleteHierarchicalEntity(UUID appId, String versionId, UUID hEntityId);
/**
- * Deletes a hierarchical entity extractor from the application version.
+ * Deletes a hierarchical entity from a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -1815,7 +1833,7 @@ interface ModelsUpdateEntityDefinition extends
/**
- * Gets information about the composite entity model.
+ * Gets information about a composite entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -1828,7 +1846,7 @@ interface ModelsUpdateEntityDefinition extends
CompositeEntityExtractor getCompositeEntity(UUID appId, String versionId, UUID cEntityId);
/**
- * Gets information about the composite entity model.
+ * Gets information about a composite entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -1841,7 +1859,7 @@ interface ModelsUpdateEntityDefinition extends
/**
- * Updates the composite entity extractor.
+ * Updates a composite entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -1855,7 +1873,7 @@ interface ModelsUpdateEntityDefinition extends
OperationStatus updateCompositeEntity(UUID appId, String versionId, UUID cEntityId, CompositeEntityModel compositeModelUpdateObject);
/**
- * Updates the composite entity extractor.
+ * Updates a composite entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -1869,7 +1887,7 @@ interface ModelsUpdateEntityDefinition extends
/**
- * Deletes a composite entity extractor from the application.
+ * Deletes a composite entity from a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -1882,7 +1900,7 @@ interface ModelsUpdateEntityDefinition extends
OperationStatus deleteCompositeEntity(UUID appId, String versionId, UUID cEntityId);
/**
- * Deletes a composite entity extractor from the application.
+ * Deletes a composite entity from a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -1895,11 +1913,11 @@ interface ModelsUpdateEntityDefinition extends
/**
- * Gets information of a closed list model.
+ * Gets information about a list entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
- * @param clEntityId The closed list model ID.
+ * @param clEntityId The list model ID.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws ErrorResponseException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
@@ -1908,11 +1926,11 @@ interface ModelsUpdateEntityDefinition extends
ClosedListEntityExtractor getClosedList(UUID appId, String versionId, UUID clEntityId);
/**
- * Gets information of a closed list model.
+ * Gets information about a list entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
- * @param clEntityId The closed list model ID.
+ * @param clEntityId The list model ID.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the ClosedListEntityExtractor object
*/
@@ -1921,12 +1939,12 @@ interface ModelsUpdateEntityDefinition extends
/**
- * Updates the closed list model.
+ * Updates the list entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
- * @param clEntityId The closed list model ID.
- * @param closedListModelUpdateObject The new entity name and words list.
+ * @param clEntityId The list model ID.
+ * @param closedListModelUpdateObject The new list entity name and words list.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws ErrorResponseException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
@@ -1935,12 +1953,12 @@ interface ModelsUpdateEntityDefinition extends
OperationStatus updateClosedList(UUID appId, String versionId, UUID clEntityId, ClosedListModelUpdateObject closedListModelUpdateObject);
/**
- * Updates the closed list model.
+ * Updates the list entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
- * @param clEntityId The closed list model ID.
- * @param closedListModelUpdateObject The new entity name and words list.
+ * @param clEntityId The list model ID.
+ * @param closedListModelUpdateObject The new list entity name and words list.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the OperationStatus object
*/
@@ -1948,35 +1966,33 @@ interface ModelsUpdateEntityDefinition extends
/**
- * Adds a batch of sublists to an existing closedlist.
+ * Adds a batch of sublists to an existing list entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
- * @param clEntityId The closed list model ID.
+ * @param clEntityId The list entity model ID.
* @param patchClosedListOptionalParameter the object representing the optional parameters to be set before calling this API
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws ErrorResponseException thrown if the request is rejected by server
* @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);
/**
- * Adds a batch of sublists to an existing closedlist.
+ * Adds a batch of sublists to an existing list entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
- * @param clEntityId The closed list model ID.
+ * @param clEntityId The list entity model ID.
* @param patchClosedListOptionalParameter the object representing the optional parameters to be set before calling this API
* @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);
/**
- * Adds a batch of sublists to an existing closedlist.
+ * Adds a batch of sublists to an existing list entity in a version of the application.
*
* @return the first stage of the patchClosedList call
*/
@@ -2013,7 +2029,7 @@ interface WithVersionId {
*/
interface WithClEntityId {
/**
- * The closed list model ID.
+ * The list entity model ID.
*
* @return next definition stage
*/
@@ -2065,11 +2081,11 @@ interface ModelsPatchClosedListDefinition extends
/**
- * Deletes a closed list model from the application.
+ * Deletes a list entity model from a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
- * @param clEntityId The closed list model ID.
+ * @param clEntityId The list entity model ID.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws ErrorResponseException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
@@ -2078,11 +2094,11 @@ interface ModelsPatchClosedListDefinition extends
OperationStatus deleteClosedList(UUID appId, String versionId, UUID clEntityId);
/**
- * Deletes a closed list model from the application.
+ * Deletes a list entity model from a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
- * @param clEntityId The closed list model ID.
+ * @param clEntityId The list entity model ID.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the OperationStatus object
*/
@@ -2091,7 +2107,7 @@ interface ModelsPatchClosedListDefinition extends
/**
- * Gets information about the prebuilt entity model.
+ * Gets information about a prebuilt entity model in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -2104,7 +2120,7 @@ interface ModelsPatchClosedListDefinition extends
PrebuiltEntityExtractor getPrebuilt(UUID appId, String versionId, UUID prebuiltId);
/**
- * Gets information about the prebuilt entity model.
+ * Gets information about a prebuilt entity model in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -2117,7 +2133,7 @@ interface ModelsPatchClosedListDefinition extends
/**
- * Deletes a prebuilt entity extractor from the application.
+ * Deletes a prebuilt entity extractor from a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -2130,7 +2146,7 @@ interface ModelsPatchClosedListDefinition extends
OperationStatus deletePrebuilt(UUID appId, String versionId, UUID prebuiltId);
/**
- * Deletes a prebuilt entity extractor from the application.
+ * Deletes a prebuilt entity extractor from a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -2143,39 +2159,39 @@ interface ModelsPatchClosedListDefinition extends
/**
- * Deletes a sublist of a specific closed list model.
+ * Deletes a sublist of a specific list entity model from a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
- * @param clEntityId The closed list entity extractor ID.
+ * @param clEntityId The list entity extractor ID.
* @param subListId The sublist ID.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws ErrorResponseException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the OperationStatus object if successful.
*/
- OperationStatus deleteSubList(UUID appId, String versionId, UUID clEntityId, int subListId);
+ OperationStatus deleteSubList(UUID appId, String versionId, UUID clEntityId, long subListId);
/**
- * Deletes a sublist of a specific closed list model.
+ * Deletes a sublist of a specific list entity model from a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
- * @param clEntityId The closed list entity extractor ID.
+ * @param clEntityId The list entity extractor ID.
* @param subListId The sublist ID.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the OperationStatus object
*/
- Observable deleteSubListAsync(UUID appId, String versionId, UUID clEntityId, int subListId);
+ Observable deleteSubListAsync(UUID appId, String versionId, UUID clEntityId, long subListId);
/**
- * Updates one of the closed list's sublists.
+ * Updates one of the list entity's sublists in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
- * @param clEntityId The closed list entity extractor ID.
+ * @param clEntityId The list entity extractor ID.
* @param subListId The sublist ID.
* @param wordListBaseUpdateObject A sublist update object containing the new canonical form and the list of words.
* @throws IllegalArgumentException thrown if parameters fail the validation
@@ -2183,61 +2199,62 @@ interface ModelsPatchClosedListDefinition extends
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the OperationStatus object if successful.
*/
- OperationStatus updateSubList(UUID appId, String versionId, UUID clEntityId, int subListId, WordListBaseUpdateObject wordListBaseUpdateObject);
+ OperationStatus updateSubList(UUID appId, String versionId, UUID clEntityId, long subListId, WordListBaseUpdateObject wordListBaseUpdateObject);
/**
- * Updates one of the closed list's sublists.
+ * Updates one of the list entity's sublists in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
- * @param clEntityId The closed list entity extractor ID.
+ * @param clEntityId The list entity extractor ID.
* @param subListId The sublist ID.
* @param wordListBaseUpdateObject A sublist update object containing the new canonical form and the list of words.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the OperationStatus object
*/
- Observable updateSubListAsync(UUID appId, String versionId, UUID clEntityId, int subListId, WordListBaseUpdateObject wordListBaseUpdateObject);
+ Observable updateSubListAsync(UUID appId, String versionId, UUID clEntityId, long subListId, WordListBaseUpdateObject wordListBaseUpdateObject);
/**
- * Suggests examples that would improve the accuracy of the intent model.
+ * Suggests example utterances that would improve the accuracy of the intent model in a version of the
+ * application.
*
* @param appId The application ID.
* @param versionId The version ID.
* @param intentId The intent classifier ID.
- * @param getIntentSuggestionsOptionalParameter the object representing the optional parameters to be set before calling this API
+ * @param listIntentSuggestionsOptionalParameter the object representing the optional parameters to be set before calling this API
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws ErrorResponseException thrown if the request is rejected by server
* @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);
+ List listIntentSuggestions(UUID appId, String versionId, UUID intentId, ListIntentSuggestionsOptionalParameter listIntentSuggestionsOptionalParameter);
/**
- * Suggests examples that would improve the accuracy of the intent model.
+ * Suggests example utterances that would improve the accuracy of the intent model in a version of the
+ * application.
*
* @param appId The application ID.
* @param versionId The version ID.
* @param intentId The intent classifier ID.
- * @param getIntentSuggestionsOptionalParameter the object representing the optional parameters to be set before calling this API
+ * @param listIntentSuggestionsOptionalParameter the object representing the optional parameters to be set before calling this API
* @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);
+ Observable> listIntentSuggestionsAsync(UUID appId, String versionId, UUID intentId, ListIntentSuggestionsOptionalParameter listIntentSuggestionsOptionalParameter);
/**
- * Suggests examples that would improve the accuracy of the intent model.
+ * Suggests example utterances that would improve the accuracy of the intent model in a version of the
+ * application.
*
- * @return the first stage of the getIntentSuggestions call
+ * @return the first stage of the listIntentSuggestions call
*/
- ModelsGetIntentSuggestionsDefinitionStages.WithAppId getIntentSuggestions();
+ ModelsListIntentSuggestionsDefinitionStages.WithAppId listIntentSuggestions();
/**
- * Grouping of getIntentSuggestions definition stages.
+ * Grouping of listIntentSuggestions definition stages.
*/
- interface ModelsGetIntentSuggestionsDefinitionStages {
+ interface ModelsListIntentSuggestionsDefinitionStages {
/**
* The stage of the definition to be specify appId.
*/
@@ -2269,7 +2286,7 @@ interface WithIntentId {
*
* @return next definition stage
*/
- ModelsGetIntentSuggestionsDefinitionStages.WithExecute withIntentId(UUID intentId);
+ ModelsListIntentSuggestionsDefinitionStages.WithExecute withIntentId(UUID intentId);
}
/**
@@ -2281,14 +2298,14 @@ interface WithAllOptions {
*
* @return next definition stage
*/
- ModelsGetIntentSuggestionsDefinitionStages.WithExecute withTake(Integer take);
+ ModelsListIntentSuggestionsDefinitionStages.WithExecute withTake(Integer take);
}
/**
* The last stage of the definition which will make the operation call.
*/
- interface WithExecute extends ModelsGetIntentSuggestionsDefinitionStages.WithAllOptions {
+ interface WithExecute extends ModelsListIntentSuggestionsDefinitionStages.WithAllOptions {
/**
* Execute the request.
*
@@ -2306,54 +2323,55 @@ interface WithExecute extends ModelsGetIntentSuggestionsDefinitionStages.WithAll
}
/**
- * The entirety of getIntentSuggestions definition.
+ * The entirety of listIntentSuggestions definition.
*/
- interface ModelsGetIntentSuggestionsDefinition extends
- ModelsGetIntentSuggestionsDefinitionStages.WithAppId,
- ModelsGetIntentSuggestionsDefinitionStages.WithVersionId,
- ModelsGetIntentSuggestionsDefinitionStages.WithIntentId,
- ModelsGetIntentSuggestionsDefinitionStages.WithExecute {
+ interface ModelsListIntentSuggestionsDefinition extends
+ ModelsListIntentSuggestionsDefinitionStages.WithAppId,
+ ModelsListIntentSuggestionsDefinitionStages.WithVersionId,
+ ModelsListIntentSuggestionsDefinitionStages.WithIntentId,
+ ModelsListIntentSuggestionsDefinitionStages.WithExecute {
}
/**
- * Get suggestion examples that would improve the accuracy of the entity model.
+ * Get suggested example utterances that would improve the accuracy of the entity model in a version of the
+ * application.
*
* @param appId The application ID.
* @param versionId The version ID.
* @param entityId The target entity extractor model to enhance.
- * @param getEntitySuggestionsOptionalParameter the object representing the optional parameters to be set before calling this API
+ * @param listEntitySuggestionsOptionalParameter the object representing the optional parameters to be set before calling this API
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws ErrorResponseException thrown if the request is rejected by server
* @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);
+ List listEntitySuggestions(UUID appId, String versionId, UUID entityId, ListEntitySuggestionsOptionalParameter listEntitySuggestionsOptionalParameter);
/**
- * Get suggestion examples that would improve the accuracy of the entity model.
+ * Get suggested example utterances that would improve the accuracy of the entity model in a version of the
+ * application.
*
* @param appId The application ID.
* @param versionId The version ID.
* @param entityId The target entity extractor model to enhance.
- * @param getEntitySuggestionsOptionalParameter the object representing the optional parameters to be set before calling this API
+ * @param listEntitySuggestionsOptionalParameter the object representing the optional parameters to be set before calling this API
* @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);
+ Observable> listEntitySuggestionsAsync(UUID appId, String versionId, UUID entityId, ListEntitySuggestionsOptionalParameter listEntitySuggestionsOptionalParameter);
/**
- * Get suggestion examples that would improve the accuracy of the entity model.
+ * Get suggested example utterances that would improve the accuracy of the entity model in a version of the
+ * application.
*
- * @return the first stage of the getEntitySuggestions call
+ * @return the first stage of the listEntitySuggestions call
*/
- ModelsGetEntitySuggestionsDefinitionStages.WithAppId getEntitySuggestions();
+ ModelsListEntitySuggestionsDefinitionStages.WithAppId listEntitySuggestions();
/**
- * Grouping of getEntitySuggestions definition stages.
+ * Grouping of listEntitySuggestions definition stages.
*/
- interface ModelsGetEntitySuggestionsDefinitionStages {
+ interface ModelsListEntitySuggestionsDefinitionStages {
/**
* The stage of the definition to be specify appId.
*/
@@ -2385,7 +2403,7 @@ interface WithEntityId {
*
* @return next definition stage
*/
- ModelsGetEntitySuggestionsDefinitionStages.WithExecute withEntityId(UUID entityId);
+ ModelsListEntitySuggestionsDefinitionStages.WithExecute withEntityId(UUID entityId);
}
/**
@@ -2397,14 +2415,14 @@ interface WithAllOptions {
*
* @return next definition stage
*/
- ModelsGetEntitySuggestionsDefinitionStages.WithExecute withTake(Integer take);
+ ModelsListEntitySuggestionsDefinitionStages.WithExecute withTake(Integer take);
}
/**
* The last stage of the definition which will make the operation call.
*/
- interface WithExecute extends ModelsGetEntitySuggestionsDefinitionStages.WithAllOptions {
+ interface WithExecute extends ModelsListEntitySuggestionsDefinitionStages.WithAllOptions {
/**
* Execute the request.
*
@@ -2422,45 +2440,46 @@ interface WithExecute extends ModelsGetEntitySuggestionsDefinitionStages.WithAll
}
/**
- * The entirety of getEntitySuggestions definition.
+ * The entirety of listEntitySuggestions definition.
*/
- interface ModelsGetEntitySuggestionsDefinition extends
- ModelsGetEntitySuggestionsDefinitionStages.WithAppId,
- ModelsGetEntitySuggestionsDefinitionStages.WithVersionId,
- ModelsGetEntitySuggestionsDefinitionStages.WithEntityId,
- ModelsGetEntitySuggestionsDefinitionStages.WithExecute {
+ interface ModelsListEntitySuggestionsDefinition extends
+ ModelsListEntitySuggestionsDefinitionStages.WithAppId,
+ ModelsListEntitySuggestionsDefinitionStages.WithVersionId,
+ ModelsListEntitySuggestionsDefinitionStages.WithEntityId,
+ ModelsListEntitySuggestionsDefinitionStages.WithExecute {
}
/**
- * Adds a list to an existing closed list.
+ * Adds a sublist to an existing list entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
- * @param clEntityId The closed list entity extractor ID.
+ * @param clEntityId The list entity extractor ID.
* @param wordListCreateObject Words list.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws ErrorResponseException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
- * @return the int object if successful.
+ * @return the long object if successful.
*/
- int addSubList(UUID appId, String versionId, UUID clEntityId, WordListObject wordListCreateObject);
+ long addSubList(UUID appId, String versionId, UUID clEntityId, WordListObject wordListCreateObject);
/**
- * Adds a list to an existing closed list.
+ * Adds a sublist to an existing list entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
- * @param clEntityId The closed list entity extractor ID.
+ * @param clEntityId The list entity extractor ID.
* @param wordListCreateObject Words list.
* @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the int object
+ * @return the observable to the long object
*/
- Observable addSubListAsync(UUID appId, String versionId, UUID clEntityId, WordListObject wordListCreateObject);
+ Observable addSubListAsync(UUID appId, String versionId, UUID clEntityId, WordListObject wordListCreateObject);
/**
- * Adds a customizable prebuilt domain along with all of its models to this application.
+ * Adds a customizable prebuilt domain along with all of its intent and entity models in a version of the
+ * application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -2470,11 +2489,11 @@ 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);
/**
- * Adds a customizable prebuilt domain along with all of its models to this application.
+ * Adds a customizable prebuilt domain along with all of its intent and entity models in a version of the
+ * application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -2482,11 +2501,11 @@ 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);
/**
- * Adds a customizable prebuilt domain along with all of its models to this application.
+ * Adds a customizable prebuilt domain along with all of its intent and entity models in a version of the
+ * application.
*
* @return the first stage of the addCustomPrebuiltDomain call
*/
@@ -2563,12 +2582,12 @@ interface ModelsAddCustomPrebuiltDomainDefinition extends
/**
- * Adds a custom prebuilt intent model to the application.
+ * Adds a customizable prebuilt intent model to a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
- * @param prebuiltDomainModelCreateObject A model object containing the name of the custom prebuilt intent and the name of the domain to
- * which this model belongs.
+ * @param prebuiltDomainModelCreateObject A model object containing the name of the customizable prebuilt intent and the name of the domain
+ * to which this model belongs.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws ErrorResponseException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
@@ -2577,12 +2596,12 @@ interface ModelsAddCustomPrebuiltDomainDefinition extends
UUID addCustomPrebuiltIntent(UUID appId, String versionId, PrebuiltDomainModelCreateObject prebuiltDomainModelCreateObject);
/**
- * Adds a custom prebuilt intent model to the application.
+ * Adds a customizable prebuilt intent model to a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
- * @param prebuiltDomainModelCreateObject A model object containing the name of the custom prebuilt intent and the name of the domain to
- * which this model belongs.
+ * @param prebuiltDomainModelCreateObject A model object containing the name of the customizable prebuilt intent and the name of the domain
+ * to which this model belongs.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the UUID object
*/
@@ -2591,7 +2610,7 @@ interface ModelsAddCustomPrebuiltDomainDefinition extends
/**
- * Gets custom prebuilt intents information of this application.
+ * Gets information about customizable prebuilt intents added to a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -2603,7 +2622,7 @@ interface ModelsAddCustomPrebuiltDomainDefinition extends
List listCustomPrebuiltIntents(UUID appId, String versionId);
/**
- * Gets custom prebuilt intents information of this application.
+ * Gets information about customizable prebuilt intents added to a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -2615,12 +2634,12 @@ interface ModelsAddCustomPrebuiltDomainDefinition extends
/**
- * Adds a custom prebuilt entity model to the application.
+ * Adds a prebuilt entity model to a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
- * @param prebuiltDomainModelCreateObject A model object containing the name of the custom prebuilt entity and the name of the domain to
- * which this model belongs.
+ * @param prebuiltDomainModelCreateObject A model object containing the name of the prebuilt entity and the name of the domain to which this
+ * model belongs.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws ErrorResponseException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
@@ -2629,12 +2648,12 @@ interface ModelsAddCustomPrebuiltDomainDefinition extends
UUID addCustomPrebuiltEntity(UUID appId, String versionId, PrebuiltDomainModelCreateObject prebuiltDomainModelCreateObject);
/**
- * Adds a custom prebuilt entity model to the application.
+ * Adds a prebuilt entity model to a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
- * @param prebuiltDomainModelCreateObject A model object containing the name of the custom prebuilt entity and the name of the domain to
- * which this model belongs.
+ * @param prebuiltDomainModelCreateObject A model object containing the name of the prebuilt entity and the name of the domain to which this
+ * model belongs.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the UUID object
*/
@@ -2643,7 +2662,7 @@ interface ModelsAddCustomPrebuiltDomainDefinition extends
/**
- * Gets all custom prebuilt entities information of this application.
+ * Gets all prebuilt entities used in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -2655,7 +2674,7 @@ interface ModelsAddCustomPrebuiltDomainDefinition extends
List listCustomPrebuiltEntities(UUID appId, String versionId);
/**
- * Gets all custom prebuilt entities information of this application.
+ * Gets all prebuilt entities used in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -2667,7 +2686,7 @@ interface ModelsAddCustomPrebuiltDomainDefinition extends
/**
- * Gets all custom prebuilt models information of this application.
+ * Gets all prebuilt intent and entity model information used in a version of this application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -2679,7 +2698,7 @@ interface ModelsAddCustomPrebuiltDomainDefinition extends
List listCustomPrebuiltModels(UUID appId, String versionId);
/**
- * Gets all custom prebuilt models information of this application.
+ * Gets all prebuilt intent and entity model information used in a version of this application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -2691,7 +2710,7 @@ interface ModelsAddCustomPrebuiltDomainDefinition extends
/**
- * Deletes a prebuilt domain's models from the application.
+ * Deletes a prebuilt domain's models in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -2704,7 +2723,7 @@ interface ModelsAddCustomPrebuiltDomainDefinition extends
OperationStatus deleteCustomPrebuiltDomain(UUID appId, String versionId, String domainName);
/**
- * Deletes a prebuilt domain's models from the application.
+ * Deletes a prebuilt domain's models in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -2717,7 +2736,36 @@ interface ModelsAddCustomPrebuiltDomainDefinition extends
/**
- * Gets information about the hierarchical entity child model.
+ * Creates a single child in an existing entity model hierarchy in a version of the application.
+ *
+ * @param appId The application ID.
+ * @param versionId The version ID.
+ * @param entityId The entity extractor ID.
+ * @param childEntityModelCreateObject A model object containing the name of the new child model and its children.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @throws ErrorResponseException thrown if the request is rejected by server
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
+ * @return the UUID object if successful.
+ */
+ UUID addEntityChild(UUID appId, String versionId, UUID entityId, ChildEntityModelCreateObject childEntityModelCreateObject);
+
+ /**
+ * Creates a single child in an existing entity model hierarchy in a version of the application.
+ *
+ * @param appId The application ID.
+ * @param versionId The version ID.
+ * @param entityId The entity extractor ID.
+ * @param childEntityModelCreateObject A model object containing the name of the new child model and its children.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable to the UUID object
+ */
+ Observable addEntityChildAsync(UUID appId, String versionId, UUID entityId, ChildEntityModelCreateObject childEntityModelCreateObject);
+
+
+
+ /**
+ * Gets information about the child's model contained in an hierarchical entity child model in a
+ * version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -2731,7 +2779,8 @@ interface ModelsAddCustomPrebuiltDomainDefinition extends
HierarchicalChildEntity getHierarchicalEntityChild(UUID appId, String versionId, UUID hEntityId, UUID hChildId);
/**
- * Gets information about the hierarchical entity child model.
+ * Gets information about the child's model contained in an hierarchical entity child model in a
+ * version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -2744,7 +2793,7 @@ interface ModelsAddCustomPrebuiltDomainDefinition extends
/**
- * Renames a single child in an existing hierarchical entity model.
+ * Renames a single child in an existing hierarchical entity model in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -2756,11 +2805,10 @@ 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);
/**
- * Renames a single child in an existing hierarchical entity model.
+ * Renames a single child in an existing hierarchical entity model in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -2770,11 +2818,10 @@ 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);
/**
- * Renames a single child in an existing hierarchical entity model.
+ * Renames a single child in an existing hierarchical entity model in a version of the application.
*
* @return the first stage of the updateHierarchicalEntityChild call
*/
@@ -2875,7 +2922,7 @@ interface ModelsUpdateHierarchicalEntityChildDefinition extends
/**
- * Deletes a hierarchical entity extractor child from the application.
+ * Deletes a hierarchical entity extractor child in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -2889,7 +2936,7 @@ interface ModelsUpdateHierarchicalEntityChildDefinition extends
OperationStatus deleteHierarchicalEntityChild(UUID appId, String versionId, UUID hEntityId, UUID hChildId);
/**
- * Deletes a hierarchical entity extractor child from the application.
+ * Deletes a hierarchical entity extractor child in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -2902,123 +2949,7 @@ interface ModelsUpdateHierarchicalEntityChildDefinition extends
/**
- * Creates a single child in an existing hierarchical entity model.
- *
- * @param appId The application ID.
- * @param versionId The version ID.
- * @param hEntityId The hierarchical entity extractor ID.
- * @param addHierarchicalEntityChildOptionalParameter the object representing the optional parameters to be set before calling this API
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @throws ErrorResponseException thrown if the request is rejected by server
- * @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);
-
- /**
- * Creates a single child in an existing hierarchical entity model.
- *
- * @param appId The application ID.
- * @param versionId The version ID.
- * @param hEntityId The hierarchical entity extractor ID.
- * @param addHierarchicalEntityChildOptionalParameter the object representing the optional parameters to be set before calling this API
- * @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);
-
- /**
- * Creates a single child in an existing hierarchical entity model.
- *
- * @return the first stage of the addHierarchicalEntityChild call
- */
- ModelsAddHierarchicalEntityChildDefinitionStages.WithAppId addHierarchicalEntityChild();
-
- /**
- * Grouping of addHierarchicalEntityChild definition stages.
- */
- interface ModelsAddHierarchicalEntityChildDefinitionStages {
- /**
- * The stage of the definition to be specify appId.
- */
- interface WithAppId {
- /**
- * The application ID.
- *
- * @return next definition stage
- */
- WithVersionId withAppId(UUID appId);
- }
- /**
- * The stage of the definition to be specify versionId.
- */
- interface WithVersionId {
- /**
- * The version ID.
- *
- * @return next definition stage
- */
- WithHEntityId withVersionId(String versionId);
- }
- /**
- * The stage of the definition to be specify hEntityId.
- */
- interface WithHEntityId {
- /**
- * The hierarchical entity extractor ID.
- *
- * @return next definition stage
- */
- ModelsAddHierarchicalEntityChildDefinitionStages.WithExecute withHEntityId(UUID hEntityId);
- }
-
- /**
- * The stage of the definition which allows for any other optional settings to be specified.
- */
- interface WithAllOptions {
- /**
- *
- *
- * @return next definition stage
- */
- ModelsAddHierarchicalEntityChildDefinitionStages.WithExecute withName(String name);
-
- }
-
- /**
- * The last stage of the definition which will make the operation call.
- */
- interface WithExecute extends ModelsAddHierarchicalEntityChildDefinitionStages.WithAllOptions {
- /**
- * Execute the request.
- *
- * @return the UUID object if successful.
- */
- UUID execute();
-
- /**
- * Execute the request asynchronously.
- *
- * @return the observable to the UUID object
- */
- Observable executeAsync();
- }
- }
-
- /**
- * The entirety of addHierarchicalEntityChild definition.
- */
- interface ModelsAddHierarchicalEntityChildDefinition extends
- ModelsAddHierarchicalEntityChildDefinitionStages.WithAppId,
- ModelsAddHierarchicalEntityChildDefinitionStages.WithVersionId,
- ModelsAddHierarchicalEntityChildDefinitionStages.WithHEntityId,
- ModelsAddHierarchicalEntityChildDefinitionStages.WithExecute {
- }
-
- /**
- * Creates a single child in an existing composite entity model.
+ * Creates a single child in an existing composite entity model in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -3029,11 +2960,10 @@ 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);
/**
- * Creates a single child in an existing composite entity model.
+ * Creates a single child in an existing composite entity model in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -3042,11 +2972,10 @@ 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);
/**
- * Creates a single child in an existing composite entity model.
+ * Creates a single child in an existing composite entity model in a version of the application.
*
* @return the first stage of the addCompositeEntityChild call
*/
@@ -3135,7 +3064,7 @@ interface ModelsAddCompositeEntityChildDefinition extends
/**
- * Deletes a composite entity extractor child from the application.
+ * Deletes a composite entity extractor child from a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -3149,7 +3078,7 @@ interface ModelsAddCompositeEntityChildDefinition extends
OperationStatus deleteCompositeEntityChild(UUID appId, String versionId, UUID cEntityId, UUID cChildId);
/**
- * Deletes a composite entity extractor child from the application.
+ * Deletes a composite entity extractor child from a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -3162,42 +3091,40 @@ interface ModelsAddCompositeEntityChildDefinition extends
/**
- * Gets information about the regex entity models.
+ * Gets information about the regular expression entity models in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
- * @param getRegexEntityInfosOptionalParameter the object representing the optional parameters to be set before calling this API
+ * @param listRegexEntityInfosOptionalParameter the object representing the optional parameters to be set before calling this API
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws ErrorResponseException thrown if the request is rejected by server
* @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);
+ List listRegexEntityInfos(UUID appId, String versionId, ListRegexEntityInfosOptionalParameter listRegexEntityInfosOptionalParameter);
/**
- * Gets information about the regex entity models.
+ * Gets information about the regular expression entity models in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
- * @param getRegexEntityInfosOptionalParameter the object representing the optional parameters to be set before calling this API
+ * @param listRegexEntityInfosOptionalParameter the object representing the optional parameters to be set before calling this API
* @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);
+ Observable> listRegexEntityInfosAsync(UUID appId, String versionId, ListRegexEntityInfosOptionalParameter listRegexEntityInfosOptionalParameter);
/**
- * Gets information about the regex entity models.
+ * Gets information about the regular expression entity models in a version of the application.
*
- * @return the first stage of the getRegexEntityInfos call
+ * @return the first stage of the listRegexEntityInfos call
*/
- ModelsGetRegexEntityInfosDefinitionStages.WithAppId getRegexEntityInfos();
+ ModelsListRegexEntityInfosDefinitionStages.WithAppId listRegexEntityInfos();
/**
- * Grouping of getRegexEntityInfos definition stages.
+ * Grouping of listRegexEntityInfos definition stages.
*/
- interface ModelsGetRegexEntityInfosDefinitionStages {
+ interface ModelsListRegexEntityInfosDefinitionStages {
/**
* The stage of the definition to be specify appId.
*/
@@ -3218,7 +3145,7 @@ interface WithVersionId {
*
* @return next definition stage
*/
- ModelsGetRegexEntityInfosDefinitionStages.WithExecute withVersionId(String versionId);
+ ModelsListRegexEntityInfosDefinitionStages.WithExecute withVersionId(String versionId);
}
/**
@@ -3230,21 +3157,21 @@ interface WithAllOptions {
*
* @return next definition stage
*/
- ModelsGetRegexEntityInfosDefinitionStages.WithExecute withSkip(Integer skip);
+ ModelsListRegexEntityInfosDefinitionStages.WithExecute withSkip(Integer skip);
/**
* The number of entries to return. Maximum page size is 500. Default is 100.
*
* @return next definition stage
*/
- ModelsGetRegexEntityInfosDefinitionStages.WithExecute withTake(Integer take);
+ ModelsListRegexEntityInfosDefinitionStages.WithExecute withTake(Integer take);
}
/**
* The last stage of the definition which will make the operation call.
*/
- interface WithExecute extends ModelsGetRegexEntityInfosDefinitionStages.WithAllOptions {
+ interface WithExecute extends ModelsListRegexEntityInfosDefinitionStages.WithAllOptions {
/**
* Execute the request.
*
@@ -3262,21 +3189,22 @@ interface WithExecute extends ModelsGetRegexEntityInfosDefinitionStages.WithAllO
}
/**
- * The entirety of getRegexEntityInfos definition.
+ * The entirety of listRegexEntityInfos definition.
*/
- interface ModelsGetRegexEntityInfosDefinition extends
- ModelsGetRegexEntityInfosDefinitionStages.WithAppId,
- ModelsGetRegexEntityInfosDefinitionStages.WithVersionId,
- ModelsGetRegexEntityInfosDefinitionStages.WithExecute {
+ interface ModelsListRegexEntityInfosDefinition extends
+ ModelsListRegexEntityInfosDefinitionStages.WithAppId,
+ ModelsListRegexEntityInfosDefinitionStages.WithVersionId,
+ ModelsListRegexEntityInfosDefinitionStages.WithExecute {
}
/**
- * Adds a regex entity model to the application version.
+ * Adds a regular expression entity model to a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
- * @param regexEntityExtractorCreateObj A model object containing the name and regex pattern for the new regex entity extractor.
+ * @param regexEntityExtractorCreateObj A model object containing the name and regex pattern for the new regular expression entity
+ * extractor.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws ErrorResponseException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
@@ -3285,11 +3213,12 @@ interface ModelsGetRegexEntityInfosDefinition extends
UUID createRegexEntityModel(UUID appId, String versionId, RegexModelCreateObject regexEntityExtractorCreateObj);
/**
- * Adds a regex entity model to the application version.
+ * Adds a regular expression entity model to a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
- * @param regexEntityExtractorCreateObj A model object containing the name and regex pattern for the new regex entity extractor.
+ * @param regexEntityExtractorCreateObj A model object containing the name and regex pattern for the new regular expression entity
+ * extractor.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the UUID object
*/
@@ -3297,42 +3226,40 @@ interface ModelsGetRegexEntityInfosDefinition extends
/**
- * Get information about the Pattern.Any entity models.
+ * Get information about the Pattern.Any entity models in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
- * @param getPatternAnyEntityInfosOptionalParameter the object representing the optional parameters to be set before calling this API
+ * @param listPatternAnyEntityInfosOptionalParameter the object representing the optional parameters to be set before calling this API
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws ErrorResponseException thrown if the request is rejected by server
* @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);
+ List listPatternAnyEntityInfos(UUID appId, String versionId, ListPatternAnyEntityInfosOptionalParameter listPatternAnyEntityInfosOptionalParameter);
/**
- * Get information about the Pattern.Any entity models.
+ * Get information about the Pattern.Any entity models in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
- * @param getPatternAnyEntityInfosOptionalParameter the object representing the optional parameters to be set before calling this API
+ * @param listPatternAnyEntityInfosOptionalParameter the object representing the optional parameters to be set before calling this API
* @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);
+ Observable> listPatternAnyEntityInfosAsync(UUID appId, String versionId, ListPatternAnyEntityInfosOptionalParameter listPatternAnyEntityInfosOptionalParameter);
/**
- * Get information about the Pattern.Any entity models.
+ * Get information about the Pattern.Any entity models in a version of the application.
*
- * @return the first stage of the getPatternAnyEntityInfos call
+ * @return the first stage of the listPatternAnyEntityInfos call
*/
- ModelsGetPatternAnyEntityInfosDefinitionStages.WithAppId getPatternAnyEntityInfos();
+ ModelsListPatternAnyEntityInfosDefinitionStages.WithAppId listPatternAnyEntityInfos();
/**
- * Grouping of getPatternAnyEntityInfos definition stages.
+ * Grouping of listPatternAnyEntityInfos definition stages.
*/
- interface ModelsGetPatternAnyEntityInfosDefinitionStages {
+ interface ModelsListPatternAnyEntityInfosDefinitionStages {
/**
* The stage of the definition to be specify appId.
*/
@@ -3353,7 +3280,7 @@ interface WithVersionId {
*
* @return next definition stage
*/
- ModelsGetPatternAnyEntityInfosDefinitionStages.WithExecute withVersionId(String versionId);
+ ModelsListPatternAnyEntityInfosDefinitionStages.WithExecute withVersionId(String versionId);
}
/**
@@ -3365,21 +3292,21 @@ interface WithAllOptions {
*
* @return next definition stage
*/
- ModelsGetPatternAnyEntityInfosDefinitionStages.WithExecute withSkip(Integer skip);
+ ModelsListPatternAnyEntityInfosDefinitionStages.WithExecute withSkip(Integer skip);
/**
* The number of entries to return. Maximum page size is 500. Default is 100.
*
* @return next definition stage
*/
- ModelsGetPatternAnyEntityInfosDefinitionStages.WithExecute withTake(Integer take);
+ ModelsListPatternAnyEntityInfosDefinitionStages.WithExecute withTake(Integer take);
}
/**
* The last stage of the definition which will make the operation call.
*/
- interface WithExecute extends ModelsGetPatternAnyEntityInfosDefinitionStages.WithAllOptions {
+ interface WithExecute extends ModelsListPatternAnyEntityInfosDefinitionStages.WithAllOptions {
/**
* Execute the request.
*
@@ -3397,17 +3324,17 @@ interface WithExecute extends ModelsGetPatternAnyEntityInfosDefinitionStages.Wit
}
/**
- * The entirety of getPatternAnyEntityInfos definition.
+ * The entirety of listPatternAnyEntityInfos definition.
*/
- interface ModelsGetPatternAnyEntityInfosDefinition extends
- ModelsGetPatternAnyEntityInfosDefinitionStages.WithAppId,
- ModelsGetPatternAnyEntityInfosDefinitionStages.WithVersionId,
- ModelsGetPatternAnyEntityInfosDefinitionStages.WithExecute {
+ interface ModelsListPatternAnyEntityInfosDefinition extends
+ ModelsListPatternAnyEntityInfosDefinitionStages.WithAppId,
+ ModelsListPatternAnyEntityInfosDefinitionStages.WithVersionId,
+ ModelsListPatternAnyEntityInfosDefinitionStages.WithExecute {
}
/**
- * Adds a pattern.any entity extractor to the application.
+ * Adds a pattern.any entity extractor to a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -3420,7 +3347,7 @@ interface ModelsGetPatternAnyEntityInfosDefinition extends
UUID createPatternAnyEntityModel(UUID appId, String versionId, PatternAnyModelCreateObject extractorCreateObject);
/**
- * Adds a pattern.any entity extractor to the application.
+ * Adds a pattern.any entity extractor to a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -3433,7 +3360,7 @@ interface ModelsGetPatternAnyEntityInfosDefinition extends
/**
- * Get All Entity Roles for a given entity.
+ * Get all roles for an entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -3443,10 +3370,10 @@ interface ModelsGetPatternAnyEntityInfosDefinition extends
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the List<EntityRole> object if successful.
*/
- List getEntityRoles(UUID appId, String versionId, UUID entityId);
+ List listEntityRoles(UUID appId, String versionId, UUID entityId);
/**
- * Get All Entity Roles for a given entity.
+ * Get all roles for an entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -3454,11 +3381,11 @@ interface ModelsGetPatternAnyEntityInfosDefinition extends
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the List<EntityRole> object
*/
- Observable> getEntityRolesAsync(UUID appId, String versionId, UUID entityId);
+ Observable> listEntityRolesAsync(UUID appId, String versionId, UUID entityId);
/**
- * Create an entity role for an entity in the application.
+ * Create an entity role in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -3469,11 +3396,10 @@ 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);
/**
- * Create an entity role for an entity in the application.
+ * Create an entity role in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -3482,11 +3408,10 @@ 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);
/**
- * Create an entity role for an entity in the application.
+ * Create an entity role in a version of the application.
*
* @return the first stage of the createEntityRole call
*/
@@ -3575,7 +3500,7 @@ interface ModelsCreateEntityRoleDefinition extends
/**
- * Get All Entity Roles for a given entity.
+ * Get a prebuilt entity's roles in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -3585,10 +3510,10 @@ interface ModelsCreateEntityRoleDefinition extends
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the List<EntityRole> object if successful.
*/
- List getPrebuiltEntityRoles(UUID appId, String versionId, UUID entityId);
+ List listPrebuiltEntityRoles(UUID appId, String versionId, UUID entityId);
/**
- * Get All Entity Roles for a given entity.
+ * Get a prebuilt entity's roles in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -3596,11 +3521,11 @@ interface ModelsCreateEntityRoleDefinition extends
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the List<EntityRole> object
*/
- Observable> getPrebuiltEntityRolesAsync(UUID appId, String versionId, UUID entityId);
+ Observable> listPrebuiltEntityRolesAsync(UUID appId, String versionId, UUID entityId);
/**
- * Create an entity role for an entity in the application.
+ * Create a role for a prebuilt entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -3611,11 +3536,10 @@ 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);
/**
- * Create an entity role for an entity in the application.
+ * Create a role for a prebuilt entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -3624,11 +3548,10 @@ 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);
/**
- * Create an entity role for an entity in the application.
+ * Create a role for a prebuilt entity in a version of the application.
*
* @return the first stage of the createPrebuiltEntityRole call
*/
@@ -3717,7 +3640,7 @@ interface ModelsCreatePrebuiltEntityRoleDefinition extends
/**
- * Get All Entity Roles for a given entity.
+ * Get all roles for a list entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -3727,10 +3650,10 @@ interface ModelsCreatePrebuiltEntityRoleDefinition extends
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the List<EntityRole> object if successful.
*/
- List getClosedListEntityRoles(UUID appId, String versionId, UUID entityId);
+ List listClosedListEntityRoles(UUID appId, String versionId, UUID entityId);
/**
- * Get All Entity Roles for a given entity.
+ * Get all roles for a list entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -3738,11 +3661,11 @@ interface ModelsCreatePrebuiltEntityRoleDefinition extends
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the List<EntityRole> object
*/
- Observable> getClosedListEntityRolesAsync(UUID appId, String versionId, UUID entityId);
+ Observable> listClosedListEntityRolesAsync(UUID appId, String versionId, UUID entityId);
/**
- * Create an entity role for an entity in the application.
+ * Create a role for a list entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -3753,11 +3676,10 @@ 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);
/**
- * Create an entity role for an entity in the application.
+ * Create a role for a list entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -3766,11 +3688,10 @@ 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);
/**
- * Create an entity role for an entity in the application.
+ * Create a role for a list entity in a version of the application.
*
* @return the first stage of the createClosedListEntityRole call
*/
@@ -3859,7 +3780,7 @@ interface ModelsCreateClosedListEntityRoleDefinition extends
/**
- * Get All Entity Roles for a given entity.
+ * Get all roles for a regular expression entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -3869,10 +3790,10 @@ interface ModelsCreateClosedListEntityRoleDefinition extends
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the List<EntityRole> object if successful.
*/
- List getRegexEntityRoles(UUID appId, String versionId, UUID entityId);
+ List listRegexEntityRoles(UUID appId, String versionId, UUID entityId);
/**
- * Get All Entity Roles for a given entity.
+ * Get all roles for a regular expression entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -3880,11 +3801,11 @@ interface ModelsCreateClosedListEntityRoleDefinition extends
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the List<EntityRole> object
*/
- Observable> getRegexEntityRolesAsync(UUID appId, String versionId, UUID entityId);
+ Observable> listRegexEntityRolesAsync(UUID appId, String versionId, UUID entityId);
/**
- * Create an entity role for an entity in the application.
+ * Create a role for an regular expression entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -3895,11 +3816,10 @@ 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);
/**
- * Create an entity role for an entity in the application.
+ * Create a role for an regular expression entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -3908,11 +3828,10 @@ 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);
/**
- * Create an entity role for an entity in the application.
+ * Create a role for an regular expression entity in a version of the application.
*
* @return the first stage of the createRegexEntityRole call
*/
@@ -4001,7 +3920,7 @@ interface ModelsCreateRegexEntityRoleDefinition extends
/**
- * Get All Entity Roles for a given entity.
+ * Get all roles for a composite entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -4011,10 +3930,10 @@ interface ModelsCreateRegexEntityRoleDefinition extends
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the List<EntityRole> object if successful.
*/
- List getCompositeEntityRoles(UUID appId, String versionId, UUID cEntityId);
+ List listCompositeEntityRoles(UUID appId, String versionId, UUID cEntityId);
/**
- * Get All Entity Roles for a given entity.
+ * Get all roles for a composite entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -4022,11 +3941,11 @@ interface ModelsCreateRegexEntityRoleDefinition extends
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the List<EntityRole> object
*/
- Observable> getCompositeEntityRolesAsync(UUID appId, String versionId, UUID cEntityId);
+ Observable> listCompositeEntityRolesAsync(UUID appId, String versionId, UUID cEntityId);
/**
- * Create an entity role for an entity in the application.
+ * Create a role for a composite entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -4037,11 +3956,10 @@ 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);
/**
- * Create an entity role for an entity in the application.
+ * Create a role for a composite entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -4050,11 +3968,10 @@ 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);
/**
- * Create an entity role for an entity in the application.
+ * Create a role for a composite entity in a version of the application.
*
* @return the first stage of the createCompositeEntityRole call
*/
@@ -4143,7 +4060,7 @@ interface ModelsCreateCompositeEntityRoleDefinition extends
/**
- * Get All Entity Roles for a given entity.
+ * Get all roles for a Pattern.any entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -4153,10 +4070,10 @@ interface ModelsCreateCompositeEntityRoleDefinition extends
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the List<EntityRole> object if successful.
*/
- List getPatternAnyEntityRoles(UUID appId, String versionId, UUID entityId);
+ List listPatternAnyEntityRoles(UUID appId, String versionId, UUID entityId);
/**
- * Get All Entity Roles for a given entity.
+ * Get all roles for a Pattern.any entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -4164,11 +4081,11 @@ interface ModelsCreateCompositeEntityRoleDefinition extends
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the List<EntityRole> object
*/
- Observable> getPatternAnyEntityRolesAsync(UUID appId, String versionId, UUID entityId);
+ Observable> listPatternAnyEntityRolesAsync(UUID appId, String versionId, UUID entityId);
/**
- * Create an entity role for an entity in the application.
+ * Create a role for an Pattern.any entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -4179,11 +4096,10 @@ 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);
/**
- * Create an entity role for an entity in the application.
+ * Create a role for an Pattern.any entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -4192,11 +4108,10 @@ 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);
/**
- * Create an entity role for an entity in the application.
+ * Create a role for an Pattern.any entity in a version of the application.
*
* @return the first stage of the createPatternAnyEntityRole call
*/
@@ -4285,7 +4200,7 @@ interface ModelsCreatePatternAnyEntityRoleDefinition extends
/**
- * Get All Entity Roles for a given entity.
+ * Get all roles for a hierarchical entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -4295,10 +4210,10 @@ interface ModelsCreatePatternAnyEntityRoleDefinition extends
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the List<EntityRole> object if successful.
*/
- List getHierarchicalEntityRoles(UUID appId, String versionId, UUID hEntityId);
+ List listHierarchicalEntityRoles(UUID appId, String versionId, UUID hEntityId);
/**
- * Get All Entity Roles for a given entity.
+ * Get all roles for a hierarchical entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -4306,11 +4221,11 @@ interface ModelsCreatePatternAnyEntityRoleDefinition extends
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the List<EntityRole> object
*/
- Observable> getHierarchicalEntityRolesAsync(UUID appId, String versionId, UUID hEntityId);
+ Observable> listHierarchicalEntityRolesAsync(UUID appId, String versionId, UUID hEntityId);
/**
- * Create an entity role for an entity in the application.
+ * Create a role for an hierarchical entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -4321,11 +4236,10 @@ 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);
/**
- * Create an entity role for an entity in the application.
+ * Create a role for an hierarchical entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -4334,11 +4248,10 @@ 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);
/**
- * Create an entity role for an entity in the application.
+ * Create a role for an hierarchical entity in a version of the application.
*
* @return the first stage of the createHierarchicalEntityRole call
*/
@@ -4427,7 +4340,7 @@ interface ModelsCreateHierarchicalEntityRoleDefinition extends
/**
- * Get All Entity Roles for a given entity.
+ * Get all roles for a prebuilt entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -4437,10 +4350,10 @@ interface ModelsCreateHierarchicalEntityRoleDefinition extends
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the List<EntityRole> object if successful.
*/
- List getCustomPrebuiltEntityRoles(UUID appId, String versionId, UUID entityId);
+ List listCustomPrebuiltEntityRoles(UUID appId, String versionId, UUID entityId);
/**
- * Get All Entity Roles for a given entity.
+ * Get all roles for a prebuilt entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -4448,11 +4361,11 @@ interface ModelsCreateHierarchicalEntityRoleDefinition extends
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the List<EntityRole> object
*/
- Observable> getCustomPrebuiltEntityRolesAsync(UUID appId, String versionId, UUID entityId);
+ Observable> listCustomPrebuiltEntityRolesAsync(UUID appId, String versionId, UUID entityId);
/**
- * Create an entity role for an entity in the application.
+ * Create a role for a prebuilt entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -4463,11 +4376,10 @@ 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);
/**
- * Create an entity role for an entity in the application.
+ * Create a role for a prebuilt entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -4476,11 +4388,10 @@ 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);
/**
- * Create an entity role for an entity in the application.
+ * Create a role for a prebuilt entity in a version of the application.
*
* @return the first stage of the createCustomPrebuiltEntityRole call
*/
@@ -4569,7 +4480,7 @@ interface ModelsCreateCustomPrebuiltEntityRoleDefinition extends
/**
- * Get the explicit list of the pattern.any entity.
+ * Get the explicit (exception) list of the pattern.any entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -4582,7 +4493,7 @@ interface ModelsCreateCustomPrebuiltEntityRoleDefinition extends
List getExplicitList(UUID appId, String versionId, UUID entityId);
/**
- * Get the explicit list of the pattern.any entity.
+ * Get the explicit (exception) list of the pattern.any entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -4594,7 +4505,7 @@ interface ModelsCreateCustomPrebuiltEntityRoleDefinition extends
/**
- * Add a new item to the explicit list for the Pattern.Any entity.
+ * Add a new exception to the explicit list for the Pattern.Any entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -4605,11 +4516,10 @@ 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);
/**
- * Add a new item to the explicit list for the Pattern.Any entity.
+ * Add a new exception to the explicit list for the Pattern.Any entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -4618,11 +4528,10 @@ 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);
/**
- * Add a new item to the explicit list for the Pattern.Any entity.
+ * Add a new exception to the explicit list for the Pattern.Any entity in a version of the application.
*
* @return the first stage of the addExplicitListItem call
*/
@@ -4711,11 +4620,11 @@ interface ModelsAddExplicitListItemDefinition extends
/**
- * Gets information of a regex entity model.
+ * Gets information about a regular expression entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
- * @param regexEntityId The regex entity model ID.
+ * @param regexEntityId The regular expression entity model ID.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws ErrorResponseException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
@@ -4724,11 +4633,11 @@ interface ModelsAddExplicitListItemDefinition extends
RegexEntityExtractor getRegexEntityEntityInfo(UUID appId, String versionId, UUID regexEntityId);
/**
- * Gets information of a regex entity model.
+ * Gets information about a regular expression entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
- * @param regexEntityId The regex entity model ID.
+ * @param regexEntityId The regular expression entity model ID.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the RegexEntityExtractor object
*/
@@ -4737,11 +4646,11 @@ interface ModelsAddExplicitListItemDefinition extends
/**
- * Updates the regex entity model .
+ * Updates the regular expression entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
- * @param regexEntityId The regex entity extractor ID.
+ * @param regexEntityId The regular expression entity extractor ID.
* @param regexEntityUpdateObject An object containing the new entity name and regex pattern.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws ErrorResponseException thrown if the request is rejected by server
@@ -4751,11 +4660,11 @@ interface ModelsAddExplicitListItemDefinition extends
OperationStatus updateRegexEntityModel(UUID appId, String versionId, UUID regexEntityId, RegexModelUpdateObject regexEntityUpdateObject);
/**
- * Updates the regex entity model .
+ * Updates the regular expression entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
- * @param regexEntityId The regex entity extractor ID.
+ * @param regexEntityId The regular expression entity extractor ID.
* @param regexEntityUpdateObject An object containing the new entity name and regex pattern.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the OperationStatus object
@@ -4765,11 +4674,11 @@ interface ModelsAddExplicitListItemDefinition extends
/**
- * Deletes a regex entity model from the application.
+ * Deletes a regular expression entity from a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
- * @param regexEntityId The regex entity extractor ID.
+ * @param regexEntityId The regular expression entity extractor ID.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws ErrorResponseException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
@@ -4778,11 +4687,11 @@ interface ModelsAddExplicitListItemDefinition extends
OperationStatus deleteRegexEntityModel(UUID appId, String versionId, UUID regexEntityId);
/**
- * Deletes a regex entity model from the application.
+ * Deletes a regular expression entity from a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
- * @param regexEntityId The regex entity extractor ID.
+ * @param regexEntityId The regular expression entity extractor ID.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the OperationStatus object
*/
@@ -4791,7 +4700,7 @@ interface ModelsAddExplicitListItemDefinition extends
/**
- * Gets information about the application version's Pattern.Any model.
+ * Gets information about the Pattern.Any model in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -4804,7 +4713,7 @@ interface ModelsAddExplicitListItemDefinition extends
PatternAnyEntityExtractor getPatternAnyEntityInfo(UUID appId, String versionId, UUID entityId);
/**
- * Gets information about the application version's Pattern.Any model.
+ * Gets information about the Pattern.Any model in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -4817,7 +4726,8 @@ interface ModelsAddExplicitListItemDefinition extends
/**
- * Updates the name and explicit list of a Pattern.Any entity model.
+ * Updates the name and explicit (exception) list of a Pattern.Any entity model in a version of the
+ * application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -4831,7 +4741,8 @@ interface ModelsAddExplicitListItemDefinition extends
OperationStatus updatePatternAnyEntityModel(UUID appId, String versionId, UUID entityId, PatternAnyModelUpdateObject patternAnyUpdateObject);
/**
- * Updates the name and explicit list of a Pattern.Any entity model.
+ * Updates the name and explicit (exception) list of a Pattern.Any entity model in a version of the
+ * application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -4845,7 +4756,7 @@ interface ModelsAddExplicitListItemDefinition extends
/**
- * Deletes a Pattern.Any entity extractor from the application.
+ * Deletes a Pattern.Any entity extractor from a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -4858,7 +4769,7 @@ interface ModelsAddExplicitListItemDefinition extends
OperationStatus deletePatternAnyEntityModel(UUID appId, String versionId, UUID entityId);
/**
- * Deletes a Pattern.Any entity extractor from the application.
+ * Deletes a Pattern.Any entity extractor from a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -4871,7 +4782,7 @@ interface ModelsAddExplicitListItemDefinition extends
/**
- * Get one entity role for a given entity.
+ * Get one role for a given entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -4885,7 +4796,7 @@ interface ModelsAddExplicitListItemDefinition extends
EntityRole getEntityRole(UUID appId, String versionId, UUID entityId, UUID roleId);
/**
- * Get one entity role for a given entity.
+ * Get one role for a given entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -4898,7 +4809,7 @@ interface ModelsAddExplicitListItemDefinition extends
/**
- * Update an entity role for a given entity.
+ * Update a role for a given entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -4910,11 +4821,10 @@ 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);
/**
- * Update an entity role for a given entity.
+ * Update a role for a given entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -4924,11 +4834,10 @@ 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);
/**
- * Update an entity role for a given entity.
+ * Update a role for a given entity in a version of the application.
*
* @return the first stage of the updateEntityRole call
*/
@@ -5029,7 +4938,7 @@ interface ModelsUpdateEntityRoleDefinition extends
/**
- * Delete an entity role.
+ * Delete an entity role in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -5043,7 +4952,7 @@ interface ModelsUpdateEntityRoleDefinition extends
OperationStatus deleteEntityRole(UUID appId, String versionId, UUID entityId, UUID roleId);
/**
- * Delete an entity role.
+ * Delete an entity role in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -5057,7 +4966,7 @@ interface ModelsUpdateEntityRoleDefinition extends
/**
- * Get one entity role for a given entity.
+ * Get one role for a given prebuilt entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -5071,7 +4980,7 @@ interface ModelsUpdateEntityRoleDefinition extends
EntityRole getPrebuiltEntityRole(UUID appId, String versionId, UUID entityId, UUID roleId);
/**
- * Get one entity role for a given entity.
+ * Get one role for a given prebuilt entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -5084,7 +4993,7 @@ interface ModelsUpdateEntityRoleDefinition extends
/**
- * Update an entity role for a given entity.
+ * Update a role for a given prebuilt entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -5096,11 +5005,10 @@ 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);
/**
- * Update an entity role for a given entity.
+ * Update a role for a given prebuilt entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -5110,11 +5018,10 @@ 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);
/**
- * Update an entity role for a given entity.
+ * Update a role for a given prebuilt entity in a version of the application.
*
* @return the first stage of the updatePrebuiltEntityRole call
*/
@@ -5215,7 +5122,7 @@ interface ModelsUpdatePrebuiltEntityRoleDefinition extends
/**
- * Delete an entity role.
+ * Delete a role in a prebuilt entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -5229,7 +5136,7 @@ interface ModelsUpdatePrebuiltEntityRoleDefinition extends
OperationStatus deletePrebuiltEntityRole(UUID appId, String versionId, UUID entityId, UUID roleId);
/**
- * Delete an entity role.
+ * Delete a role in a prebuilt entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -5243,7 +5150,7 @@ interface ModelsUpdatePrebuiltEntityRoleDefinition extends
/**
- * Get one entity role for a given entity.
+ * Get one role for a given list entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -5257,7 +5164,7 @@ interface ModelsUpdatePrebuiltEntityRoleDefinition extends
EntityRole getClosedListEntityRole(UUID appId, String versionId, UUID entityId, UUID roleId);
/**
- * Get one entity role for a given entity.
+ * Get one role for a given list entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -5270,7 +5177,7 @@ interface ModelsUpdatePrebuiltEntityRoleDefinition extends
/**
- * Update an entity role for a given entity.
+ * Update a role for a given list entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -5282,11 +5189,10 @@ 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);
/**
- * Update an entity role for a given entity.
+ * Update a role for a given list entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -5296,11 +5202,10 @@ 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);
/**
- * Update an entity role for a given entity.
+ * Update a role for a given list entity in a version of the application.
*
* @return the first stage of the updateClosedListEntityRole call
*/
@@ -5401,7 +5306,7 @@ interface ModelsUpdateClosedListEntityRoleDefinition extends
/**
- * Delete an entity role.
+ * Delete a role for a given list entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -5415,7 +5320,7 @@ interface ModelsUpdateClosedListEntityRoleDefinition extends
OperationStatus deleteClosedListEntityRole(UUID appId, String versionId, UUID entityId, UUID roleId);
/**
- * Delete an entity role.
+ * Delete a role for a given list entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -5429,7 +5334,7 @@ interface ModelsUpdateClosedListEntityRoleDefinition extends
/**
- * Get one entity role for a given entity.
+ * Get one role for a given regular expression entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -5443,7 +5348,7 @@ interface ModelsUpdateClosedListEntityRoleDefinition extends
EntityRole getRegexEntityRole(UUID appId, String versionId, UUID entityId, UUID roleId);
/**
- * Get one entity role for a given entity.
+ * Get one role for a given regular expression entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -5456,7 +5361,7 @@ interface ModelsUpdateClosedListEntityRoleDefinition extends
/**
- * Update an entity role for a given entity.
+ * Update a role for a given regular expression entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -5468,11 +5373,10 @@ 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);
/**
- * Update an entity role for a given entity.
+ * Update a role for a given regular expression entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -5482,11 +5386,10 @@ 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);
/**
- * Update an entity role for a given entity.
+ * Update a role for a given regular expression entity in a version of the application.
*
* @return the first stage of the updateRegexEntityRole call
*/
@@ -5587,7 +5490,7 @@ interface ModelsUpdateRegexEntityRoleDefinition extends
/**
- * Delete an entity role.
+ * Delete a role for a given regular expression in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -5601,7 +5504,7 @@ interface ModelsUpdateRegexEntityRoleDefinition extends
OperationStatus deleteRegexEntityRole(UUID appId, String versionId, UUID entityId, UUID roleId);
/**
- * Delete an entity role.
+ * Delete a role for a given regular expression in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -5615,7 +5518,7 @@ interface ModelsUpdateRegexEntityRoleDefinition extends
/**
- * Get one entity role for a given entity.
+ * Get one role for a given composite entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -5629,7 +5532,7 @@ interface ModelsUpdateRegexEntityRoleDefinition extends
EntityRole getCompositeEntityRole(UUID appId, String versionId, UUID cEntityId, UUID roleId);
/**
- * Get one entity role for a given entity.
+ * Get one role for a given composite entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -5642,7 +5545,7 @@ interface ModelsUpdateRegexEntityRoleDefinition extends
/**
- * Update an entity role for a given entity.
+ * Update a role for a given composite entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -5654,11 +5557,10 @@ 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);
/**
- * Update an entity role for a given entity.
+ * Update a role for a given composite entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -5668,11 +5570,10 @@ 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);
/**
- * Update an entity role for a given entity.
+ * Update a role for a given composite entity in a version of the application.
*
* @return the first stage of the updateCompositeEntityRole call
*/
@@ -5773,7 +5674,7 @@ interface ModelsUpdateCompositeEntityRoleDefinition extends
/**
- * Delete an entity role.
+ * Delete a role for a given composite entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -5787,7 +5688,7 @@ interface ModelsUpdateCompositeEntityRoleDefinition extends
OperationStatus deleteCompositeEntityRole(UUID appId, String versionId, UUID cEntityId, UUID roleId);
/**
- * Delete an entity role.
+ * Delete a role for a given composite entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -5801,7 +5702,7 @@ interface ModelsUpdateCompositeEntityRoleDefinition extends
/**
- * Get one entity role for a given entity.
+ * Get one role for a given Pattern.any entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -5815,7 +5716,7 @@ interface ModelsUpdateCompositeEntityRoleDefinition extends
EntityRole getPatternAnyEntityRole(UUID appId, String versionId, UUID entityId, UUID roleId);
/**
- * Get one entity role for a given entity.
+ * Get one role for a given Pattern.any entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -5828,7 +5729,7 @@ interface ModelsUpdateCompositeEntityRoleDefinition extends
/**
- * Update an entity role for a given entity.
+ * Update a role for a given Pattern.any entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -5840,11 +5741,10 @@ 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);
/**
- * Update an entity role for a given entity.
+ * Update a role for a given Pattern.any entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -5854,11 +5754,10 @@ 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);
/**
- * Update an entity role for a given entity.
+ * Update a role for a given Pattern.any entity in a version of the application.
*
* @return the first stage of the updatePatternAnyEntityRole call
*/
@@ -5959,7 +5858,7 @@ interface ModelsUpdatePatternAnyEntityRoleDefinition extends
/**
- * Delete an entity role.
+ * Delete a role for a given Pattern.any entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -5973,7 +5872,7 @@ interface ModelsUpdatePatternAnyEntityRoleDefinition extends
OperationStatus deletePatternAnyEntityRole(UUID appId, String versionId, UUID entityId, UUID roleId);
/**
- * Delete an entity role.
+ * Delete a role for a given Pattern.any entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -5987,7 +5886,7 @@ interface ModelsUpdatePatternAnyEntityRoleDefinition extends
/**
- * Get one entity role for a given entity.
+ * Get one role for a given hierarchical entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -6001,7 +5900,7 @@ interface ModelsUpdatePatternAnyEntityRoleDefinition extends
EntityRole getHierarchicalEntityRole(UUID appId, String versionId, UUID hEntityId, UUID roleId);
/**
- * Get one entity role for a given entity.
+ * Get one role for a given hierarchical entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -6014,7 +5913,7 @@ interface ModelsUpdatePatternAnyEntityRoleDefinition extends
/**
- * Update an entity role for a given entity.
+ * Update a role for a given hierarchical entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -6026,11 +5925,10 @@ 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);
/**
- * Update an entity role for a given entity.
+ * Update a role for a given hierarchical entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -6040,11 +5938,10 @@ 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);
/**
- * Update an entity role for a given entity.
+ * Update a role for a given hierarchical entity in a version of the application.
*
* @return the first stage of the updateHierarchicalEntityRole call
*/
@@ -6145,7 +6042,7 @@ interface ModelsUpdateHierarchicalEntityRoleDefinition extends
/**
- * Delete an entity role.
+ * Delete a role for a given hierarchical role in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -6159,7 +6056,7 @@ interface ModelsUpdateHierarchicalEntityRoleDefinition extends
OperationStatus deleteHierarchicalEntityRole(UUID appId, String versionId, UUID hEntityId, UUID roleId);
/**
- * Delete an entity role.
+ * Delete a role for a given hierarchical role in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -6173,7 +6070,7 @@ interface ModelsUpdateHierarchicalEntityRoleDefinition extends
/**
- * Get one entity role for a given entity.
+ * Get one role for a given prebuilt entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -6187,7 +6084,7 @@ interface ModelsUpdateHierarchicalEntityRoleDefinition extends
EntityRole getCustomEntityRole(UUID appId, String versionId, UUID entityId, UUID roleId);
/**
- * Get one entity role for a given entity.
+ * Get one role for a given prebuilt entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -6200,7 +6097,7 @@ interface ModelsUpdateHierarchicalEntityRoleDefinition extends
/**
- * Update an entity role for a given entity.
+ * Update a role for a given prebuilt entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -6212,11 +6109,10 @@ 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);
/**
- * Update an entity role for a given entity.
+ * Update a role for a given prebuilt entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -6226,11 +6122,10 @@ 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);
/**
- * Update an entity role for a given entity.
+ * Update a role for a given prebuilt entity in a version of the application.
*
* @return the first stage of the updateCustomPrebuiltEntityRole call
*/
@@ -6331,7 +6226,7 @@ interface ModelsUpdateCustomPrebuiltEntityRoleDefinition extends
/**
- * Delete an entity role.
+ * Delete a role for a given prebuilt entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -6345,7 +6240,7 @@ interface ModelsUpdateCustomPrebuiltEntityRoleDefinition extends
OperationStatus deleteCustomEntityRole(UUID appId, String versionId, UUID entityId, UUID roleId);
/**
- * Delete an entity role.
+ * Delete a role for a given prebuilt entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -6359,7 +6254,7 @@ interface ModelsUpdateCustomPrebuiltEntityRoleDefinition extends
/**
- * Get the explicit list of the pattern.any entity.
+ * Get the explicit (exception) list of the pattern.any entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -6373,7 +6268,7 @@ interface ModelsUpdateCustomPrebuiltEntityRoleDefinition extends
ExplicitListItem getExplicitListItem(UUID appId, String versionId, UUID entityId, long itemId);
/**
- * Get the explicit list of the pattern.any entity.
+ * Get the explicit (exception) list of the pattern.any entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -6386,7 +6281,7 @@ interface ModelsUpdateCustomPrebuiltEntityRoleDefinition extends
/**
- * Updates an explicit list item for a Pattern.Any entity.
+ * Updates an explicit (exception) list item for a Pattern.Any entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -6398,11 +6293,10 @@ 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);
/**
- * Updates an explicit list item for a Pattern.Any entity.
+ * Updates an explicit (exception) list item for a Pattern.Any entity in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -6412,11 +6306,10 @@ 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);
/**
- * Updates an explicit list item for a Pattern.Any entity.
+ * Updates an explicit (exception) list item for a Pattern.Any entity in a version of the application.
*
* @return the first stage of the updateExplicitListItem call
*/
@@ -6517,7 +6410,8 @@ interface ModelsUpdateExplicitListItemDefinition extends
/**
- * Delete the explicit list item from the Pattern.any explicit list.
+ * Delete an item from the explicit (exception) list for a Pattern.any entity in a version of the
+ * application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -6531,7 +6425,8 @@ interface ModelsUpdateExplicitListItemDefinition extends
OperationStatus deleteExplicitListItem(UUID appId, String versionId, UUID entityId, long itemId);
/**
- * Delete the explicit list item from the Pattern.any explicit list.
+ * Delete an item from the explicit (exception) list for a Pattern.any entity in a version of the
+ * application.
*
* @param appId The application ID.
* @param versionId The version ID.
diff --git a/sdk/cognitiveservices/ms-azure-cs-luis-authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/Patterns.java b/sdk/cognitiveservices/ms-azure-cs-luis-authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/Patterns.java
index da99df1243ac..0ce9d360291c 100644
--- a/sdk/cognitiveservices/ms-azure-cs-luis-authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/Patterns.java
+++ b/sdk/cognitiveservices/ms-azure-cs-luis-authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/Patterns.java
@@ -8,13 +8,14 @@
package com.microsoft.azure.cognitiveservices.language.luis.authoring;
-import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.GetPatternsOptionalParameter;
-import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.GetIntentPatternsOptionalParameter;
+import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.ListPatternsOptionalParameter;
+import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.ListIntentPatternsOptionalParameter;
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.ErrorResponseException;
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.OperationStatus;
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.PatternRuleCreateObject;
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.PatternRuleInfo;
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.PatternRuleUpdateObject;
+import java.io.IOException;
import java.util.List;
import java.util.UUID;
import rx.Observable;
@@ -26,7 +27,7 @@
public interface Patterns {
/**
- * Adds one pattern to the specified application.
+ * Adds a pattern to a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -39,7 +40,7 @@ public interface Patterns {
PatternRuleInfo addPattern(UUID appId, String versionId, PatternRuleCreateObject pattern);
/**
- * Adds one pattern to the specified application.
+ * Adds a pattern to a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -51,42 +52,40 @@ public interface Patterns {
/**
- * Returns an application version's patterns.
+ * Gets patterns in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
- * @param getPatternsOptionalParameter the object representing the optional parameters to be set before calling this API
+ * @param listPatternsOptionalParameter the object representing the optional parameters to be set before calling this API
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws ErrorResponseException thrown if the request is rejected by server
* @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);
+ List listPatterns(UUID appId, String versionId, ListPatternsOptionalParameter listPatternsOptionalParameter);
/**
- * Returns an application version's patterns.
+ * Gets patterns in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
- * @param getPatternsOptionalParameter the object representing the optional parameters to be set before calling this API
+ * @param listPatternsOptionalParameter the object representing the optional parameters to be set before calling this API
* @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);
+ Observable> listPatternsAsync(UUID appId, String versionId, ListPatternsOptionalParameter listPatternsOptionalParameter);
/**
- * Returns an application version's patterns.
+ * Gets patterns in a version of the application.
*
- * @return the first stage of the getPatterns call
+ * @return the first stage of the listPatterns call
*/
- PatternsGetPatternsDefinitionStages.WithAppId getPatterns();
+ PatternsListPatternsDefinitionStages.WithAppId listPatterns();
/**
- * Grouping of getPatterns definition stages.
+ * Grouping of listPatterns definition stages.
*/
- interface PatternsGetPatternsDefinitionStages {
+ interface PatternsListPatternsDefinitionStages {
/**
* The stage of the definition to be specify appId.
*/
@@ -107,7 +106,7 @@ interface WithVersionId {
*
* @return next definition stage
*/
- PatternsGetPatternsDefinitionStages.WithExecute withVersionId(String versionId);
+ PatternsListPatternsDefinitionStages.WithExecute withVersionId(String versionId);
}
/**
@@ -119,21 +118,21 @@ interface WithAllOptions {
*
* @return next definition stage
*/
- PatternsGetPatternsDefinitionStages.WithExecute withSkip(Integer skip);
+ PatternsListPatternsDefinitionStages.WithExecute withSkip(Integer skip);
/**
* The number of entries to return. Maximum page size is 500. Default is 100.
*
* @return next definition stage
*/
- PatternsGetPatternsDefinitionStages.WithExecute withTake(Integer take);
+ PatternsListPatternsDefinitionStages.WithExecute withTake(Integer take);
}
/**
* The last stage of the definition which will make the operation call.
*/
- interface WithExecute extends PatternsGetPatternsDefinitionStages.WithAllOptions {
+ interface WithExecute extends PatternsListPatternsDefinitionStages.WithAllOptions {
/**
* Execute the request.
*
@@ -151,17 +150,17 @@ interface WithExecute extends PatternsGetPatternsDefinitionStages.WithAllOptions
}
/**
- * The entirety of getPatterns definition.
+ * The entirety of listPatterns definition.
*/
- interface PatternsGetPatternsDefinition extends
- PatternsGetPatternsDefinitionStages.WithAppId,
- PatternsGetPatternsDefinitionStages.WithVersionId,
- PatternsGetPatternsDefinitionStages.WithExecute {
+ interface PatternsListPatternsDefinition extends
+ PatternsListPatternsDefinitionStages.WithAppId,
+ PatternsListPatternsDefinitionStages.WithVersionId,
+ PatternsListPatternsDefinitionStages.WithExecute {
}
/**
- * Updates patterns.
+ * Updates patterns in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -174,7 +173,7 @@ interface PatternsGetPatternsDefinition extends
List updatePatterns(UUID appId, String versionId, List patterns);
/**
- * Updates patterns.
+ * Updates patterns in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -187,7 +186,7 @@ interface PatternsGetPatternsDefinition extends
/**
- * Adds a batch of patterns to the specified application.
+ * Adds a batch of patterns in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -200,7 +199,7 @@ interface PatternsGetPatternsDefinition extends
List batchAddPatterns(UUID appId, String versionId, List patterns);
/**
- * Adds a batch of patterns to the specified application.
+ * Adds a batch of patterns in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -213,7 +212,7 @@ interface PatternsGetPatternsDefinition extends
/**
- * Deletes the patterns with the specified IDs.
+ * Deletes a list of patterns in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -226,7 +225,7 @@ interface PatternsGetPatternsDefinition extends
OperationStatus deletePatterns(UUID appId, String versionId, List patternIds);
/**
- * Deletes the patterns with the specified IDs.
+ * Deletes a list of patterns in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -239,7 +238,7 @@ interface PatternsGetPatternsDefinition extends
/**
- * Updates a pattern.
+ * Updates a pattern in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -253,7 +252,7 @@ interface PatternsGetPatternsDefinition extends
PatternRuleInfo updatePattern(UUID appId, String versionId, UUID patternId, PatternRuleUpdateObject pattern);
/**
- * Updates a pattern.
+ * Updates a pattern in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -267,7 +266,7 @@ interface PatternsGetPatternsDefinition extends
/**
- * Deletes the pattern with the specified ID.
+ * Deletes the pattern with the specified ID from a version of the application..
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -280,7 +279,7 @@ interface PatternsGetPatternsDefinition extends
OperationStatus deletePattern(UUID appId, String versionId, UUID patternId);
/**
- * Deletes the pattern with the specified ID.
+ * Deletes the pattern with the specified ID from a version of the application..
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -292,44 +291,42 @@ interface PatternsGetPatternsDefinition extends
/**
- * Returns patterns to be retrieved for the specific intent.
+ * Returns patterns for the specific intent in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
* @param intentId The intent classifier ID.
- * @param getIntentPatternsOptionalParameter the object representing the optional parameters to be set before calling this API
+ * @param listIntentPatternsOptionalParameter the object representing the optional parameters to be set before calling this API
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws ErrorResponseException thrown if the request is rejected by server
* @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);
+ List listIntentPatterns(UUID appId, String versionId, UUID intentId, ListIntentPatternsOptionalParameter listIntentPatternsOptionalParameter);
/**
- * Returns patterns to be retrieved for the specific intent.
+ * Returns patterns for the specific intent in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
* @param intentId The intent classifier ID.
- * @param getIntentPatternsOptionalParameter the object representing the optional parameters to be set before calling this API
+ * @param listIntentPatternsOptionalParameter the object representing the optional parameters to be set before calling this API
* @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);
+ Observable> listIntentPatternsAsync(UUID appId, String versionId, UUID intentId, ListIntentPatternsOptionalParameter listIntentPatternsOptionalParameter);
/**
- * Returns patterns to be retrieved for the specific intent.
+ * Returns patterns for the specific intent in a version of the application.
*
- * @return the first stage of the getIntentPatterns call
+ * @return the first stage of the listIntentPatterns call
*/
- PatternsGetIntentPatternsDefinitionStages.WithAppId getIntentPatterns();
+ PatternsListIntentPatternsDefinitionStages.WithAppId listIntentPatterns();
/**
- * Grouping of getIntentPatterns definition stages.
+ * Grouping of listIntentPatterns definition stages.
*/
- interface PatternsGetIntentPatternsDefinitionStages {
+ interface PatternsListIntentPatternsDefinitionStages {
/**
* The stage of the definition to be specify appId.
*/
@@ -361,7 +358,7 @@ interface WithIntentId {
*
* @return next definition stage
*/
- PatternsGetIntentPatternsDefinitionStages.WithExecute withIntentId(UUID intentId);
+ PatternsListIntentPatternsDefinitionStages.WithExecute withIntentId(UUID intentId);
}
/**
@@ -373,21 +370,21 @@ interface WithAllOptions {
*
* @return next definition stage
*/
- PatternsGetIntentPatternsDefinitionStages.WithExecute withSkip(Integer skip);
+ PatternsListIntentPatternsDefinitionStages.WithExecute withSkip(Integer skip);
/**
* The number of entries to return. Maximum page size is 500. Default is 100.
*
* @return next definition stage
*/
- PatternsGetIntentPatternsDefinitionStages.WithExecute withTake(Integer take);
+ PatternsListIntentPatternsDefinitionStages.WithExecute withTake(Integer take);
}
/**
* The last stage of the definition which will make the operation call.
*/
- interface WithExecute extends PatternsGetIntentPatternsDefinitionStages.WithAllOptions {
+ interface WithExecute extends PatternsListIntentPatternsDefinitionStages.WithAllOptions {
/**
* Execute the request.
*
@@ -405,13 +402,13 @@ interface WithExecute extends PatternsGetIntentPatternsDefinitionStages.WithAllO
}
/**
- * The entirety of getIntentPatterns definition.
+ * The entirety of listIntentPatterns definition.
*/
- interface PatternsGetIntentPatternsDefinition extends
- PatternsGetIntentPatternsDefinitionStages.WithAppId,
- PatternsGetIntentPatternsDefinitionStages.WithVersionId,
- PatternsGetIntentPatternsDefinitionStages.WithIntentId,
- PatternsGetIntentPatternsDefinitionStages.WithExecute {
+ interface PatternsListIntentPatternsDefinition extends
+ PatternsListIntentPatternsDefinitionStages.WithAppId,
+ PatternsListIntentPatternsDefinitionStages.WithVersionId,
+ PatternsListIntentPatternsDefinitionStages.WithIntentId,
+ PatternsListIntentPatternsDefinitionStages.WithExecute {
}
}
diff --git a/sdk/cognitiveservices/ms-azure-cs-luis-authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/Permissions.java b/sdk/cognitiveservices/ms-azure-cs-luis-authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/Permissions.java
index 1dacbabbbe7d..66afaab66a66 100644
--- a/sdk/cognitiveservices/ms-azure-cs-luis-authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/Permissions.java
+++ b/sdk/cognitiveservices/ms-azure-cs-luis-authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/Permissions.java
@@ -14,6 +14,7 @@
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.ErrorResponseException;
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.OperationStatus;
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.UserAccessList;
+import java.io.IOException;
import java.util.List;
import java.util.UUID;
import rx.Observable;
@@ -56,7 +57,6 @@ 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,6 @@ 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 +146,6 @@ 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 +157,6 @@ 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);
/**
@@ -228,8 +225,8 @@ interface PermissionsDeleteDefinition extends
}
/**
- * Replaces the current users access list with the one sent in the body. If an empty list is sent, all access
- * to other users will be removed.
+ * Replaces the current user access list with the new list sent in the body. If an empty list is sent, all
+ * access to other users will be removed.
*
* @param appId The application ID.
* @param updateOptionalParameter the object representing the optional parameters to be set before calling this API
@@ -238,24 +235,22 @@ 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);
/**
- * Replaces the current users access list with the one sent in the body. If an empty list is sent, all access
- * to other users will be removed.
+ * Replaces the current user access list with the new list sent in the body. If an empty list is sent, all
+ * access to other users will be removed.
*
* @param appId The application ID.
* @param updateOptionalParameter the object representing the optional parameters to be set before calling this API
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the OperationStatus object
*/
- @Deprecated
Observable updateAsync(UUID appId, UpdatePermissionsOptionalParameter updateOptionalParameter);
/**
- * Replaces the current users access list with the one sent in the body. If an empty list is sent, all access
- * to other users will be removed.
+ * Replaces the current user access list with the new list sent in the body. If an empty list is sent, all
+ * access to other users will be removed.
*
* @return the first stage of the update call
*/
diff --git a/sdk/cognitiveservices/ms-azure-cs-luis-authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/Settings.java b/sdk/cognitiveservices/ms-azure-cs-luis-authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/Settings.java
new file mode 100644
index 000000000000..3d3fc6b2678b
--- /dev/null
+++ b/sdk/cognitiveservices/ms-azure-cs-luis-authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/Settings.java
@@ -0,0 +1,74 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.cognitiveservices.language.luis.authoring;
+
+import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.AppVersionSettingObject;
+import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.ErrorResponseException;
+import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.OperationStatus;
+import java.io.IOException;
+import java.util.List;
+import java.util.UUID;
+import rx.Observable;
+
+/**
+ * An instance of this class provides access to all the operations defined
+ * in Settings.
+ */
+public interface Settings {
+
+ /**
+ * Gets the settings in a version of the application.
+ *
+ * @param appId The application ID.
+ * @param versionId The version ID.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @throws ErrorResponseException thrown if the request is rejected by server
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
+ * @return the List<AppVersionSettingObject> object if successful.
+ */
+ List list(UUID appId, String versionId);
+
+ /**
+ * Gets the settings in a version of the application.
+ *
+ * @param appId The application ID.
+ * @param versionId The version ID.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable to the List<AppVersionSettingObject> object
+ */
+ Observable> listAsync(UUID appId, String versionId);
+
+
+
+ /**
+ * Updates the settings in a version of the application.
+ *
+ * @param appId The application ID.
+ * @param versionId The version ID.
+ * @param listOfAppVersionSettingObject A list of the updated application version settings.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @throws ErrorResponseException thrown if the request is rejected by server
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
+ * @return the OperationStatus object if successful.
+ */
+ OperationStatus update(UUID appId, String versionId, List listOfAppVersionSettingObject);
+
+ /**
+ * Updates the settings in a version of the application.
+ *
+ * @param appId The application ID.
+ * @param versionId The version ID.
+ * @param listOfAppVersionSettingObject A list of the updated application version settings.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable to the OperationStatus object
+ */
+ Observable updateAsync(UUID appId, String versionId, List listOfAppVersionSettingObject);
+
+
+}
diff --git a/sdk/cognitiveservices/ms-azure-cs-luis-authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/Trains.java b/sdk/cognitiveservices/ms-azure-cs-luis-authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/Trains.java
index 0cd0e27a0353..439260c4fcec 100644
--- a/sdk/cognitiveservices/ms-azure-cs-luis-authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/Trains.java
+++ b/sdk/cognitiveservices/ms-azure-cs-luis-authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/Trains.java
@@ -11,6 +11,7 @@
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.EnqueueTrainingResponse;
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.ErrorResponseException;
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.ModelTrainingInfo;
+import java.io.IOException;
import java.util.List;
import java.util.UUID;
import rx.Observable;
diff --git a/sdk/cognitiveservices/ms-azure-cs-luis-authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/Versions.java b/sdk/cognitiveservices/ms-azure-cs-luis-authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/Versions.java
index 9312c79fb9d1..eb83d995d617 100644
--- a/sdk/cognitiveservices/ms-azure-cs-luis-authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/Versions.java
+++ b/sdk/cognitiveservices/ms-azure-cs-luis-authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/Versions.java
@@ -16,6 +16,7 @@
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.LuisApp;
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.OperationStatus;
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.VersionInfo;
+import java.io.IOException;
import java.util.List;
import java.util.UUID;
import rx.Observable;
@@ -26,7 +27,7 @@
*/
public interface Versions {
/**
- * Creates a new version using the current snapshot of the selected application version.
+ * Creates a new version from the selected version.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -36,11 +37,10 @@ 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);
/**
- * Creates a new version using the current snapshot of the selected application version.
+ * Creates a new version from the selected version.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -48,11 +48,10 @@ 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);
/**
- * Creates a new version using the current snapshot of the selected application version.
+ * Creates a new version from the selected version.
*
* @return the first stage of the clone call
*/
@@ -128,7 +127,7 @@ interface VersionsCloneDefinition extends
}
/**
- * Gets the application versions info.
+ * Gets a list of versions for this application ID.
*
* @param appId The application ID.
* @param listOptionalParameter the object representing the optional parameters to be set before calling this API
@@ -137,22 +136,20 @@ 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);
/**
- * Gets the application versions info.
+ * Gets a list of versions for this application ID.
*
* @param appId The application ID.
* @param listOptionalParameter the object representing the optional parameters to be set before calling this API
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the List<VersionInfo> object
*/
- @Deprecated
Observable> listAsync(UUID appId, ListVersionsOptionalParameter listOptionalParameter);
/**
- * Gets the application versions info.
+ * Gets a list of versions for this application ID.
*
* @return the first stage of the list call
*/
@@ -224,7 +221,8 @@ interface VersionsListDefinition extends
/**
- * Gets the version info.
+ * Gets the version information such as date created, last modified date, endpoint URL, count of
+ * intents and entities, training and publishing status.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -236,7 +234,8 @@ interface VersionsListDefinition extends
VersionInfo get(UUID appId, String versionId);
/**
- * Gets the version info.
+ * Gets the version information such as date created, last modified date, endpoint URL, count of
+ * intents and entities, training and publishing status.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -257,7 +256,6 @@ 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 +267,6 @@ 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 +404,6 @@ 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 +415,6 @@ 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);
/**
@@ -500,7 +495,7 @@ interface VersionsImportMethodDefinition extends
/**
- * Deleted an unlabelled utterance.
+ * Deleted an unlabelled utterance in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
@@ -513,7 +508,7 @@ interface VersionsImportMethodDefinition extends
OperationStatus deleteUnlabelledUtterance(UUID appId, String versionId, String utterance);
/**
- * Deleted an unlabelled utterance.
+ * Deleted an unlabelled utterance in a version of the application.
*
* @param appId The application ID.
* @param versionId The version ID.
diff --git a/sdk/cognitiveservices/ms-azure-cs-luis-authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/implementation/AppsImpl.java b/sdk/cognitiveservices/ms-azure-cs-luis-authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/implementation/AppsImpl.java
index 195089e73164..3a50f9cefd9e 100644
--- a/sdk/cognitiveservices/ms-azure-cs-luis-authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/implementation/AppsImpl.java
+++ b/sdk/cognitiveservices/ms-azure-cs-luis-authoring/src/main/java/com/microsoft/azure/cognitiveservices/language/luis/authoring/implementation/AppsImpl.java
@@ -10,6 +10,7 @@
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.ListAppsOptionalParameter;
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.ImportMethodAppsOptionalParameter;
+import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.DeleteAppsOptionalParameter;
import com.microsoft.azure.cognitiveservices.language.luis.authoring.models.UpdateSettingsOptionalParameter;
import retrofit2.Retrofit;
import com.microsoft.azure.cognitiveservices.language.luis.authoring.Apps;
@@ -125,7 +126,7 @@ interface AppsService {
@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, @Query("force") Boolean force, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @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")
@@ -163,12 +164,22 @@ interface AppsService {
@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);
+ @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.cognitiveservices.language.luis.authoring.Apps packagePublishedApplicationAsGzip" })
+ @GET("package/{appId}/slot/{slotName}/gzip")
+ @Streaming
+ Observable> packagePublishedApplicationAsGzip(@Path("appId") UUID appId, @Path("slotName") String slotName, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @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 packageTrainedApplicationAsGzip" })
+ @GET("package/{appId}/versions/{versionId}/gzip")
+ @Streaming
+ Observable> packageTrainedApplicationAsGzip(@Path("appId") UUID appId, @Path("versionId") String versionId, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent);
+
}
/**
* Creates a new LUIS app.
*
- * @param applicationCreateObject A model containing Name, Description (optional), Culture, Usage Scenario (optional), Domain (optional) and initial version ID (optional) of the application. Default value for the version ID is 0.1. Note: the culture cannot be changed after the app is created.
+ * @param applicationCreateObject An application containing Name, Description (optional), Culture, Usage Scenario (optional), Domain (optional) and initial version ID (optional) of the application. Default value for the version ID is "0.1". Note: the culture cannot be changed after the app is created.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws ErrorResponseException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
@@ -181,7 +192,7 @@ public UUID add(ApplicationCreateObject applicationCreateObject) {
/**
* Creates a new LUIS app.
*
- * @param applicationCreateObject A model containing Name, Description (optional), Culture, Usage Scenario (optional), Domain (optional) and initial version ID (optional) of the application. Default value for the version ID is 0.1. Note: the culture cannot be changed after the app is created.
+ * @param applicationCreateObject An application containing Name, Description (optional), Culture, Usage Scenario (optional), Domain (optional) and initial version ID (optional) of the application. Default value for the version ID is "0.1". Note: the culture cannot be changed after the app is created.
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the {@link ServiceFuture} object
@@ -193,7 +204,7 @@ public ServiceFuture addAsync(ApplicationCreateObject applicationCreateObj
/**
* Creates a new LUIS app.
*
- * @param applicationCreateObject A model containing Name, Description (optional), Culture, Usage Scenario (optional), Domain (optional) and initial version ID (optional) of the application. Default value for the version ID is 0.1. Note: the culture cannot be changed after the app is created.
+ * @param applicationCreateObject An application containing Name, Description (optional), Culture, Usage Scenario (optional), Domain (optional) and initial version ID (optional) of the application. Default value for the version ID is "0.1". Note: the culture cannot be changed after the app is created.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the UUID object
*/
@@ -209,7 +220,7 @@ public UUID call(ServiceResponse response) {
/**
* Creates a new LUIS app.
*
- * @param applicationCreateObject A model containing Name, Description (optional), Culture, Usage Scenario (optional), Domain (optional) and initial version ID (optional) of the application. Default value for the version ID is 0.1. Note: the culture cannot be changed after the app is created.
+ * @param applicationCreateObject An application containing Name, Description (optional), Culture, Usage Scenario (optional), Domain (optional) and initial version ID (optional) of the application. Default value for the version ID is "0.1". Note: the culture cannot be changed after the app is created.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the UUID object
*/
@@ -245,7 +256,7 @@ private ServiceResponse addDelegate(Response response) throw
/**
- * Lists all of the user applications.
+ * Lists all of the user's applications.
*
* @param listOptionalParameter the object representing the optional parameters to be set before calling this API
* @throws IllegalArgumentException thrown if parameters fail the validation
@@ -258,7 +269,7 @@ public List list(ListAppsOptionalParameter listOptional
}
/**
- * Lists all of the user applications.
+ * Lists all of the user's applications.
*
* @param listOptionalParameter the object representing the optional parameters to be set before calling this API
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
@@ -270,7 +281,7 @@ public ServiceFuture> listAsync(ListAppsOptionalPa
}
/**
- * Lists all of the user applications.
+ * Lists all of the user's applications.
*
* @param listOptionalParameter the object representing the optional parameters to be set before calling this API
* @throws IllegalArgumentException thrown if parameters fail the validation
@@ -286,7 +297,7 @@ public List call(ServiceResponse>> listWithServic
}
/**
- * Lists all of the user applications.
+ * Lists all of the user's applications.
*
* @param skip The number of entries to skip. Default value is 0.
* @param take The number of entries to return. Maximum page size is 500. Default is 100.
@@ -387,7 +398,7 @@ public List call(ServiceResponse importMethodAsync(LuisApp luisApp, ImportMethodAppsOp
}
/**
- * Imports an application to LUIS, the application's structure should be included in in the request body.
+ * Imports an application to LUIS, the application's structure is included in the request body.
*
* @param luisApp A LUIS application structure.
* @param importMethodOptionalParameter the object representing the optional parameters to be set before calling this API
@@ -431,7 +442,7 @@ public UUID call(ServiceResponse response) {
}
/**
- * Imports an application to LUIS, the application's structure should be included in in the request body.
+ * Imports an application to LUIS, the application's structure is included in the request body.
*
* @param luisApp A LUIS application structure.
* @param importMethodOptionalParameter the object representing the optional parameters to be set before calling this API
@@ -452,10 +463,10 @@ public Observable> importMethodWithServiceResponseAsync(Lu
}
/**
- * Imports an application to LUIS, the application's structure should be included in in the request body.
+ * Imports an application to LUIS, the application's structure is included in the request body.
*
* @param luisApp A LUIS application structure.
- * @param appName The application name to create. If not specified, the application name will be read from the imported object.
+ * @param appName The application name to create. If not specified, the application name will be read from the imported object. If the application name already exists, an error is returned.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the UUID object
*/
@@ -749,7 +760,7 @@ private ServiceResponse> listUsageScenariosDelegate(Response listSupportedCultures() {
}
/**
- * Gets the supported application cultures.
+ * Gets a list of supported cultures. Cultures are equivalent to the written language and locale. For example,"en-us" represents the U.S. variation of English.
*
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
* @throws IllegalArgumentException thrown if parameters fail the validation
@@ -772,7 +783,7 @@ public ServiceFuture> listSupportedCulturesAsync(final Se
}
/**
- * Gets the supported application cultures.
+ * Gets a list of supported cultures. Cultures are equivalent to the written language and locale. For example,"en-us" represents the U.S. variation of English.
*
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the List<AvailableCulture> object
@@ -787,7 +798,7 @@ public List call(ServiceResponse> respo
}
/**
- * Gets the supported application cultures.
+ * Gets a list of supported cultures. Cultures are equivalent to the written language and locale. For example,"en-us" represents the U.S. variation of English.
*
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the List<AvailableCulture> object
@@ -819,7 +830,7 @@ private ServiceResponse> listSupportedCulturesDelegate(Re
}
/**
- * Gets the query logs of the past month for the application.
+ * Gets the logs of the past month's endpoint queries for the application.
*
* @param appId The application ID.
* @throws IllegalArgumentException thrown if parameters fail the validation
@@ -832,7 +843,7 @@ public InputStream downloadQueryLogs(UUID appId) {
}
/**
- * Gets the query logs of the past month for the application.
+ * Gets the logs of the past month's endpoint queries for the application.
*
* @param appId The application ID.
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
@@ -844,7 +855,7 @@ public ServiceFuture downloadQueryLogsAsync(UUID appId, final Servi
}
/**
- * Gets the query logs of the past month for the application.
+ * Gets the logs of the past month's endpoint queries for the application.
*
* @param appId The application ID.
* @throws IllegalArgumentException thrown if parameters fail the validation
@@ -860,7 +871,7 @@ public InputStream call(ServiceResponse response) {
}
/**
- * Gets the query logs of the past month for the application.
+ * Gets the logs of the past month's endpoint queries for the application.
*
* @param appId The application ID.
* @throws IllegalArgumentException thrown if parameters fail the validation
@@ -1057,40 +1068,44 @@ private ServiceResponse updateDelegate(Response r
.build(response);
}
+
/**
* Deletes an application.
*
* @param appId The application ID.
+ * @param deleteOptionalParameter the object representing the optional parameters to be set before calling this API
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws ErrorResponseException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the OperationStatus object if successful.
*/
- public OperationStatus delete(UUID appId) {
- return deleteWithServiceResponseAsync(appId).toBlocking().single().body();
+ public OperationStatus delete(UUID appId, DeleteAppsOptionalParameter deleteOptionalParameter) {
+ return deleteWithServiceResponseAsync(appId, deleteOptionalParameter).toBlocking().single().body();
}
/**
* Deletes an application.
*
* @param appId The application ID.
+ * @param deleteOptionalParameter the object representing the optional parameters to be set before calling this API
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the {@link ServiceFuture} object
*/
- public ServiceFuture deleteAsync(UUID appId, final ServiceCallback serviceCallback) {
- return ServiceFuture.fromResponse(deleteWithServiceResponseAsync(appId), serviceCallback);
+ public ServiceFuture deleteAsync(UUID appId, DeleteAppsOptionalParameter deleteOptionalParameter, final ServiceCallback serviceCallback) {
+ return ServiceFuture.fromResponse(deleteWithServiceResponseAsync(appId, deleteOptionalParameter), serviceCallback);
}
/**
* Deletes an application.
*
* @param appId The application ID.
+ * @param deleteOptionalParameter the object representing the optional parameters to be set before calling this API
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the OperationStatus object
*/
- public Observable deleteAsync(UUID appId) {
- return deleteWithServiceResponseAsync(appId).map(new Func1, OperationStatus>() {
+ public Observable deleteAsync(UUID appId, DeleteAppsOptionalParameter deleteOptionalParameter) {
+ return deleteWithServiceResponseAsync(appId, deleteOptionalParameter).map(new Func1, OperationStatus>() {
@Override
public OperationStatus call(ServiceResponse response) {
return response.body();
@@ -1102,10 +1117,31 @@ public OperationStatus call(ServiceResponse response) {
* Deletes an application.
*
* @param appId The application ID.
+ * @param deleteOptionalParameter the object representing the optional parameters to be set before calling this API
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable to the OperationStatus object
+ */
+ public Observable> deleteWithServiceResponseAsync(UUID appId, DeleteAppsOptionalParameter deleteOptionalParameter) {
+ if (this.client.endpoint() == null) {
+ throw new IllegalArgumentException("Parameter this.client.endpoint() is required and cannot be null.");
+ }
+ if (appId == null) {
+ throw new IllegalArgumentException("Parameter appId is required and cannot be null.");
+ }
+ final Boolean force = deleteOptionalParameter != null ? deleteOptionalParameter.force() : null;
+
+ return deleteWithServiceResponseAsync(appId, force);
+ }
+
+ /**
+ * Deletes an application.
+ *
+ * @param appId The application ID.
+ * @param force A flag to indicate whether to force an operation.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the OperationStatus object
*/
- public Observable> deleteWithServiceResponseAsync(UUID appId) {
+ public Observable> deleteWithServiceResponseAsync(UUID appId, Boolean force) {
if (this.client.endpoint() == null) {
throw new IllegalArgumentException("Parameter this.client.endpoint() is required and cannot be null.");
}
@@ -1113,7 +1149,7 @@ public Observable> deleteWithServiceResponseAsy
throw new IllegalArgumentException("Parameter appId is required and cannot be null.");
}
String parameterizedHost = Joiner.on(", ").join("{Endpoint}", this.client.endpoint());
- return service.delete(appId, this.client.acceptLanguage(), parameterizedHost, this.client.userAgent())
+ return service.delete(appId, force, this.client.acceptLanguage(), parameterizedHost, this.client.userAgent())
.flatMap(new Func1, Observable>>() {
@Override
public Observable> call(Response response) {
@@ -1134,6 +1170,55 @@ private ServiceResponse deleteDelegate(Response r
.build(response);
}
+ @Override
+ public AppsDeleteParameters delete() {
+ return new AppsDeleteParameters(this);
+ }
+
+ /**
+ * Internal class implementing AppsDeleteDefinition.
+ */
+ class AppsDeleteParameters implements AppsDeleteDefinition {
+ private AppsImpl parent;
+ private UUID appId;
+ private Boolean force;
+
+ /**
+ * Constructor.
+ * @param parent the parent object.
+ */
+ AppsDeleteParameters(AppsImpl parent) {
+ this.parent = parent;
+ }
+
+ @Override
+ public AppsDeleteParameters withAppId(UUID appId) {
+ this.appId = appId;
+ return this;
+ }
+
+ @Override
+ public AppsDeleteParameters withForce(Boolean force) {
+ this.force = force;
+ return this;
+ }
+
+ @Override
+ public OperationStatus execute() {
+ return deleteWithServiceResponseAsync(appId, force).toBlocking().single().body();
+ }
+
+ @Override
+ public Observable executeAsync() {
+ return deleteWithServiceResponseAsync(appId, force).map(new Func1, OperationStatus>() {
+ @Override
+ public OperationStatus call(ServiceResponse response) {
+ return response.body();
+ }
+ });
+ }
+ }
+
/**
* Publishes a specific version of the application.
*
@@ -1215,12 +1300,13 @@ public Observable> call(Respons
private ServiceResponse publishDelegate(Response response) throws ErrorResponseException, IOException, IllegalArgumentException {
return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter())
.register(201, new TypeToken() { }.getType())
+ .register(207, new TypeToken() { }.getType())
.registerError(ErrorResponseException.class)
.build(response);
}
/**
- * Get the application settings.
+ * Get the application settings including 'UseAllTrainingData'.
*
* @param appId The application ID.
* @throws IllegalArgumentException thrown if parameters fail the validation
@@ -1233,7 +1319,7 @@ public ApplicationSettings getSettings(UUID appId) {
}
/**
- * Get the application settings.
+ * Get the application settings including 'UseAllTrainingData'.
*
* @param appId The application ID.
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
@@ -1245,7 +1331,7 @@ public ServiceFuture