Versions Interface
public interface Versions
An instance of this class provides access to all the operations defined in Versions.
Method Summary
Modifier and Type | Method and Description |
---|---|
VersionsCloneDefinitionStages.WithAppId |
clone()
Creates a new version from the selected version. |
String |
clone(UUID appId, String versionId, CloneOptionalParameter cloneOptionalParameter)
Creates a new version from the selected version. |
Observable<String> |
cloneAsync(UUID appId, String versionId, CloneOptionalParameter cloneOptionalParameter)
Creates a new version from the selected version. |
Operation |
delete(UUID appId, String versionId)
Deletes an application version. |
Observable<Operation |
deleteAsync(UUID appId, String versionId)
Deletes an application version. |
Operation |
deleteUnlabelledUtterance(UUID appId, String versionId, String utterance)
Deleted an unlabelled utterance in a version of the application. |
Observable<Operation |
deleteUnlabelledUtteranceAsync(UUID appId, String versionId, String utterance)
Deleted an unlabelled utterance in a version of the application. |
Luis |
export(UUID appId, String versionId)
Exports a LUIS application to JSON format. |
Observable<Luis |
exportAsync(UUID appId, String versionId)
Exports a LUIS application to JSON format. |
InputStream |
exportLuFormat(UUID appId, String versionId)
Exports a LUIS application to text format. |
Observable<InputStream> |
exportLuFormatAsync(UUID appId, String versionId)
Exports a LUIS application to text format. |
Version |
get(UUID appId, String versionId)
Gets the version information such as date created, last modified date, endpoint URL, count of intents and entities, training and publishing status. |
Observable<Version |
getAsync(UUID appId, String versionId)
Gets the version information such as date created, last modified date, endpoint URL, count of intents and entities, training and publishing status. |
VersionsImportLuFormatDefinitionStages.WithAppId |
importLuFormat()
Imports a new version into a LUIS application. |
String |
importLuFormat(UUID appId, String luisAppLu, ImportLuFormatVersionsOptionalParameter importLuFormatOptionalParameter)
Imports a new version into a LUIS application. |
Observable<String> |
importLuFormatAsync(UUID appId, String luisAppLu, ImportLuFormatVersionsOptionalParameter importLuFormatOptionalParameter)
Imports a new version into a LUIS application. |
VersionsImportMethodDefinitionStages.WithAppId |
importMethod()
Imports a new version into a LUIS application. |
String |
importMethod(UUID appId, LuisApp luisApp, ImportMethodVersionsOptionalParameter importMethodOptionalParameter)
Imports a new version into a LUIS application. |
Observable<String> |
importMethodAsync(UUID appId, LuisApp luisApp, ImportMethodVersionsOptionalParameter importMethodOptionalParameter)
Imports a new version into a LUIS application. |
VersionsImportV2AppDefinitionStages.WithAppId |
importV2App()
Imports a new version into a LUIS application. |
String |
importV2App(UUID appId, LuisAppV2 luisAppV2, ImportV2AppVersionsOptionalParameter importV2AppOptionalParameter)
Imports a new version into a LUIS application. |
Observable<String> |
importV2AppAsync(UUID appId, LuisAppV2 luisAppV2, ImportV2AppVersionsOptionalParameter importV2AppOptionalParameter)
Imports a new version into a LUIS application. |
VersionsListDefinitionStages.WithAppId |
list()
Gets a list of versions for this application ID. |
List<Version |
list(UUID appId, ListVersionsOptionalParameter listOptionalParameter)
Gets a list of versions for this application ID. |
Observable<List<Version |
listAsync(UUID appId, ListVersionsOptionalParameter listOptionalParameter)
Gets a list of versions for this application ID. |
VersionsUpdateDefinitionStages.WithAppId |
update()
Updates the name or description of the application version. |
Operation |
update(UUID appId, String versionId, UpdateVersionsOptionalParameter updateOptionalParameter)
Updates the name or description of the application version. |
Observable<Operation |
updateAsync(UUID appId, String versionId, UpdateVersionsOptionalParameter updateOptionalParameter)
Updates the name or description of the application version. |
Method Details
clone
public VersionsCloneDefinitionStages.WithAppId clone()
Creates a new version from the selected version.
Returns:
clone
public String clone(UUID appId, String versionId, CloneOptionalParameter cloneOptionalParameter)
Creates a new version from the selected version.
Parameters:
Returns:
Throws:
cloneAsync
public Observable
Creates a new version from the selected version.
Parameters:
Returns:
Throws:
delete
public OperationStatus delete(UUID appId, String versionId)
Deletes an application version.
Parameters:
Returns:
Throws:
deleteAsync
public Observable
Deletes an application version.
Parameters:
Returns:
Throws:
deleteUnlabelledUtterance
public OperationStatus deleteUnlabelledUtterance(UUID appId, String versionId, String utterance)
Deleted an unlabelled utterance in a version of the application.
Parameters:
Returns:
Throws:
deleteUnlabelledUtteranceAsync
public Observable
Deleted an unlabelled utterance in a version of the application.
Parameters:
Returns:
Throws:
export
public LuisApp export(UUID appId, String versionId)
Exports a LUIS application to JSON format.
Parameters:
Returns:
Throws:
exportAsync
public Observable
Exports a LUIS application to JSON format.
Parameters:
Returns:
Throws:
exportLuFormat
public InputStream exportLuFormat(UUID appId, String versionId)
Exports a LUIS application to text format.
Parameters:
Returns:
Throws:
exportLuFormatAsync
public Observable
Exports a LUIS application to text format.
Parameters:
Returns:
Throws:
get
public VersionInfo get(UUID appId, String versionId)
Gets the version information such as date created, last modified date, endpoint URL, count of intents and entities, training and publishing status.
Parameters:
Returns:
Throws:
getAsync
public Observable
Gets the version information such as date created, last modified date, endpoint URL, count of intents and entities, training and publishing status.
Parameters:
Returns:
Throws:
importLuFormat
public VersionsImportLuFormatDefinitionStages.WithAppId importLuFormat()
Imports a new version into a LUIS application.
Returns:
importLuFormat
public String importLuFormat(UUID appId, String luisAppLu, ImportLuFormatVersionsOptionalParameter importLuFormatOptionalParameter)
Imports a new version into a LUIS application.
Parameters:
Returns:
Throws:
importLuFormatAsync
public Observable
Imports a new version into a LUIS application.
Parameters:
Returns:
Throws:
importMethod
public VersionsImportMethodDefinitionStages.WithAppId importMethod()
Imports a new version into a LUIS application.
Returns:
importMethod
public String importMethod(UUID appId, LuisApp luisApp, ImportMethodVersionsOptionalParameter importMethodOptionalParameter)
Imports a new version into a LUIS application.
Parameters:
Returns:
Throws:
importMethodAsync
public Observable
Imports a new version into a LUIS application.
Parameters:
Returns:
Throws:
importV2App
public VersionsImportV2AppDefinitionStages.WithAppId importV2App()
Imports a new version into a LUIS application.
Returns:
importV2App
public String importV2App(UUID appId, LuisAppV2 luisAppV2, ImportV2AppVersionsOptionalParameter importV2AppOptionalParameter)
Imports a new version into a LUIS application.
Parameters:
Returns:
Throws:
importV2AppAsync
public Observable
Imports a new version into a LUIS application.
Parameters:
Returns:
Throws:
list
public VersionsListDefinitionStages.WithAppId list()
Gets a list of versions for this application ID.
Returns:
list
public List
Gets a list of versions for this application ID.
Parameters:
Returns:
Throws:
listAsync
public Observable> listAsync(UUID appId, ListVersionsOptionalParameter listOptionalParameter)
Gets a list of versions for this application ID.
Parameters:
Returns:
Throws:
update
public VersionsUpdateDefinitionStages.WithAppId update()
Updates the name or description of the application version.
Returns:
update
public OperationStatus update(UUID appId, String versionId, UpdateVersionsOptionalParameter updateOptionalParameter)
Updates the name or description of the application version.
Parameters:
Returns:
Throws:
updateAsync
public Observable
Updates the name or description of the application version.
Parameters:
Returns:
Throws: