Models Interface
public interface Models
An instance of this class provides access to all the operations defined in Models.
Method Summary
Method Details
addClosedList
public UUID addClosedList(UUID appId, String versionId, ClosedListModelCreateObject closedListModelCreateObject)
Adds a list entity model to a version of the application.
Parameters:
Returns:
Throws:
addClosedListAsync
public Observable
Adds a list entity model to a version of the application.
Parameters:
Returns:
Throws:
addCompositeEntityChild
public ModelsAddCompositeEntityChildDefinitionStages.WithAppId addCompositeEntityChild()
Creates a single child in an existing composite entity model in a version of the application.
Returns:
addCompositeEntityChild
public UUID addCompositeEntityChild(UUID appId, String versionId, UUID cEntityId, AddCompositeEntityChildOptionalParameter addCompositeEntityChildOptionalParameter)
Creates a single child in an existing composite entity model in a version of the application.
Parameters:
Returns:
Throws:
addCompositeEntityChildAsync
public Observable
Creates a single child in an existing composite entity model in a version of the application.
Parameters:
Returns:
Throws:
addCustomPrebuiltDomain
public ModelsAddCustomPrebuiltDomainDefinitionStages.WithAppId addCustomPrebuiltDomain()
Adds a customizable prebuilt domain along with all of its intent and entity models in a version of the application.
Returns:
addCustomPrebuiltDomain
public List
Adds a customizable prebuilt domain along with all of its intent and entity models in a version of the application.
Parameters:
Returns:
Throws:
addCustomPrebuiltDomainAsync
public Observable> addCustomPrebuiltDomainAsync(UUID appId, String versionId, AddCustomPrebuiltDomainModelsOptionalParameter addCustomPrebuiltDomainOptionalParameter)
Adds a customizable prebuilt domain along with all of its intent and entity models in a version of the application.
Parameters:
Returns:
Throws:
addCustomPrebuiltEntity
public UUID addCustomPrebuiltEntity(UUID appId, String versionId, PrebuiltDomainModelCreateObject prebuiltDomainModelCreateObject)
Adds a prebuilt entity model to a version of the application.
Parameters:
Returns:
Throws:
addCustomPrebuiltEntityAsync
public Observable
Adds a prebuilt entity model to a version of the application.
Parameters:
Returns:
Throws:
addCustomPrebuiltIntent
public UUID addCustomPrebuiltIntent(UUID appId, String versionId, PrebuiltDomainModelCreateObject prebuiltDomainModelCreateObject)
Adds a customizable prebuilt intent model to a version of the application.
Parameters:
Returns:
Throws:
addCustomPrebuiltIntentAsync
public Observable
Adds a customizable prebuilt intent model to a version of the application.
Parameters:
Returns:
Throws:
addEntity
public UUID addEntity(UUID appId, String versionId, EntityModelCreateObject entityModelCreateObject)
Adds an entity extractor to a version of the application.
Parameters:
Returns:
Throws:
addEntityAsync
public Observable
Adds an entity extractor to a version of the application.
Parameters:
Returns:
Throws:
addEntityChild
public 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.
Parameters:
Returns:
Throws:
addEntityChildAsync
public Observable
Creates a single child in an existing entity model hierarchy in a version of the application.
Parameters:
Returns:
Throws:
addExplicitListItem
public ModelsAddExplicitListItemDefinitionStages.WithAppId addExplicitListItem()
Add a new exception to the explicit list for the Pattern.Any entity in a version of the application.
Returns:
addExplicitListItem
public int addExplicitListItem(UUID appId, String versionId, UUID entityId, AddExplicitListItemOptionalParameter addExplicitListItemOptionalParameter)
Add a new exception to the explicit list for the Pattern.Any entity in a version of the application.
Parameters:
Returns:
Throws:
addExplicitListItemAsync
public Observable
Add a new exception to the explicit list for the Pattern.Any entity in a version of the application.
Parameters:
Returns:
Throws:
addIntent
public ModelsAddIntentDefinitionStages.WithAppId addIntent()
Adds an intent to a version of the application.
Returns:
addIntent
public UUID addIntent(UUID appId, String versionId, AddIntentOptionalParameter addIntentOptionalParameter)
Adds an intent to a version of the application.
Parameters:
Returns:
Throws:
addIntentAsync
public Observable
Adds an intent to a version of the application.
Parameters:
Returns:
Throws:
addPrebuilt
public List
Adds a list of prebuilt entities to a version of the application.
Parameters:
Returns:
Throws:
addPrebuiltAsync
public Observable> addPrebuiltAsync(UUID appId, String versionId, List
Adds a list of prebuilt entities to a version of the application.
Parameters:
Returns:
Throws:
addSubList
public long addSubList(UUID appId, String versionId, UUID clEntityId, WordListObject wordListCreateObject)
Adds a sublist to an existing list entity in a version of the application.
Parameters:
Returns:
Throws:
addSubListAsync
public Observable
Adds a sublist to an existing list entity in a version of the application.
Parameters:
Returns:
Throws:
createClosedListEntityRole
public ModelsCreateClosedListEntityRoleDefinitionStages.WithAppId createClosedListEntityRole()
Create a role for a list entity in a version of the application.
Returns:
createClosedListEntityRole
public UUID createClosedListEntityRole(UUID appId, String versionId, UUID entityId, CreateClosedListEntityRoleOptionalParameter createClosedListEntityRoleOptionalParameter)
Create a role for a list entity in a version of the application.
Parameters:
Returns:
Throws:
createClosedListEntityRoleAsync
public Observable
Create a role for a list entity in a version of the application.
Parameters:
Returns:
Throws:
createCompositeEntityRole
public ModelsCreateCompositeEntityRoleDefinitionStages.WithAppId createCompositeEntityRole()
Create a role for a composite entity in a version of the application.
Returns:
createCompositeEntityRole
public UUID createCompositeEntityRole(UUID appId, String versionId, UUID cEntityId, CreateCompositeEntityRoleOptionalParameter createCompositeEntityRoleOptionalParameter)
Create a role for a composite entity in a version of the application.
Parameters:
Returns:
Throws:
createCompositeEntityRoleAsync
public Observable
Create a role for a composite entity in a version of the application.
Parameters:
Returns:
Throws:
createCustomPrebuiltEntityRole
public ModelsCreateCustomPrebuiltEntityRoleDefinitionStages.WithAppId createCustomPrebuiltEntityRole()
Create a role for a prebuilt entity in a version of the application.
Returns:
createCustomPrebuiltEntityRole
public UUID createCustomPrebuiltEntityRole(UUID appId, String versionId, UUID entityId, CreateCustomPrebuiltEntityRoleOptionalParameter createCustomPrebuiltEntityRoleOptionalParameter)
Create a role for a prebuilt entity in a version of the application.
Parameters:
Returns:
Throws:
createCustomPrebuiltEntityRoleAsync
public Observable
Create a role for a prebuilt entity in a version of the application.
Parameters:
Returns:
Throws:
createEntityRole
public ModelsCreateEntityRoleDefinitionStages.WithAppId createEntityRole()
Create an entity role in a version of the application.
Returns:
createEntityRole
public UUID createEntityRole(UUID appId, String versionId, UUID entityId, CreateEntityRoleOptionalParameter createEntityRoleOptionalParameter)
Create an entity role in a version of the application.
Parameters:
Returns:
Throws:
createEntityRoleAsync
public Observable
Create an entity role in a version of the application.
Parameters:
Returns:
Throws:
createHierarchicalEntityRole
public ModelsCreateHierarchicalEntityRoleDefinitionStages.WithAppId createHierarchicalEntityRole()
Create a role for an hierarchical entity in a version of the application.
Returns:
createHierarchicalEntityRole
public UUID createHierarchicalEntityRole(UUID appId, String versionId, UUID hEntityId, CreateHierarchicalEntityRoleOptionalParameter createHierarchicalEntityRoleOptionalParameter)
Create a role for an hierarchical entity in a version of the application.
Parameters:
Returns:
Throws:
createHierarchicalEntityRoleAsync
public Observable
Create a role for an hierarchical entity in a version of the application.
Parameters:
Returns:
Throws:
createPatternAnyEntityModel
public UUID createPatternAnyEntityModel(UUID appId, String versionId, PatternAnyModelCreateObject extractorCreateObject)
Adds a pattern.any entity extractor to a version of the application.
Parameters:
Returns:
Throws:
createPatternAnyEntityModelAsync
public Observable
Adds a pattern.any entity extractor to a version of the application.
Parameters:
Returns:
Throws:
createPatternAnyEntityRole
public ModelsCreatePatternAnyEntityRoleDefinitionStages.WithAppId createPatternAnyEntityRole()
Create a role for an Pattern.any entity in a version of the application.
Returns:
createPatternAnyEntityRole
public UUID createPatternAnyEntityRole(UUID appId, String versionId, UUID entityId, CreatePatternAnyEntityRoleOptionalParameter createPatternAnyEntityRoleOptionalParameter)
Create a role for an Pattern.any entity in a version of the application.
Parameters:
Returns:
Throws:
createPatternAnyEntityRoleAsync
public Observable
Create a role for an Pattern.any entity in a version of the application.
Parameters:
Returns:
Throws:
createPrebuiltEntityRole
public ModelsCreatePrebuiltEntityRoleDefinitionStages.WithAppId createPrebuiltEntityRole()
Create a role for a prebuilt entity in a version of the application.
Returns:
createPrebuiltEntityRole
public UUID createPrebuiltEntityRole(UUID appId, String versionId, UUID entityId, CreatePrebuiltEntityRoleOptionalParameter createPrebuiltEntityRoleOptionalParameter)
Create a role for a prebuilt entity in a version of the application.
Parameters:
Returns:
Throws:
createPrebuiltEntityRoleAsync
public Observable
Create a role for a prebuilt entity in a version of the application.
Parameters:
Returns:
Throws:
createRegexEntityModel
public UUID createRegexEntityModel(UUID appId, String versionId, RegexModelCreateObject regexEntityExtractorCreateObj)
Adds a regular expression entity model to a version of the application.
Parameters:
Returns:
Throws:
createRegexEntityModelAsync
public Observable
Adds a regular expression entity model to a version of the application.
Parameters:
Returns:
Throws:
createRegexEntityRole
public ModelsCreateRegexEntityRoleDefinitionStages.WithAppId createRegexEntityRole()
Create a role for an regular expression entity in a version of the application.
Returns:
createRegexEntityRole
public UUID createRegexEntityRole(UUID appId, String versionId, UUID entityId, CreateRegexEntityRoleOptionalParameter createRegexEntityRoleOptionalParameter)
Create a role for an regular expression entity in a version of the application.
Parameters:
Returns:
Throws:
createRegexEntityRoleAsync
public Observable
Create a role for an regular expression entity in a version of the application.
Parameters:
Returns:
Throws:
deleteClosedList
public OperationStatus deleteClosedList(UUID appId, String versionId, UUID clEntityId)
Deletes a list entity model from a version of the application.
Parameters:
Returns:
Throws:
deleteClosedListAsync
public Observable
Deletes a list entity model from a version of the application.
Parameters:
Returns:
Throws:
deleteClosedListEntityRole
public OperationStatus deleteClosedListEntityRole(UUID appId, String versionId, UUID entityId, UUID roleId)
Delete a role for a given list entity in a version of the application.
Parameters:
Returns:
Throws:
deleteClosedListEntityRoleAsync
public Observable
Delete a role for a given list entity in a version of the application.
Parameters:
Returns:
Throws:
deleteCompositeEntity
public OperationStatus deleteCompositeEntity(UUID appId, String versionId, UUID cEntityId)
Deletes a composite entity from a version of the application.
Parameters:
Returns:
Throws:
deleteCompositeEntityAsync
public Observable
Deletes a composite entity from a version of the application.
Parameters:
Returns:
Throws:
deleteCompositeEntityChild
public OperationStatus deleteCompositeEntityChild(UUID appId, String versionId, UUID cEntityId, UUID cChildId)
Deletes a composite entity extractor child from a version of the application.
Parameters:
Returns:
Throws:
deleteCompositeEntityChildAsync
public Observable
Deletes a composite entity extractor child from a version of the application.
Parameters:
Returns:
Throws:
deleteCompositeEntityRole
public OperationStatus deleteCompositeEntityRole(UUID appId, String versionId, UUID cEntityId, UUID roleId)
Delete a role for a given composite entity in a version of the application.
Parameters:
Returns:
Throws:
deleteCompositeEntityRoleAsync
public Observable
Delete a role for a given composite entity in a version of the application.
Parameters:
Returns:
Throws:
deleteCustomEntityRole
public OperationStatus deleteCustomEntityRole(UUID appId, String versionId, UUID entityId, UUID roleId)
Delete a role for a given prebuilt entity in a version of the application.
Parameters:
Returns:
Throws:
deleteCustomEntityRoleAsync
public Observable
Delete a role for a given prebuilt entity in a version of the application.
Parameters:
Returns:
Throws:
deleteCustomPrebuiltDomain
public OperationStatus deleteCustomPrebuiltDomain(UUID appId, String versionId, String domainName)
Deletes a prebuilt domain's models in a version of the application.
Parameters:
Returns:
Throws:
deleteCustomPrebuiltDomainAsync
public Observable
Deletes a prebuilt domain's models in a version of the application.
Parameters:
Returns:
Throws:
deleteEntity
public OperationStatus deleteEntity(UUID appId, String versionId, UUID entityId)
Deletes an entity or a child from a version of the application.
Parameters:
Returns:
Throws:
deleteEntityAsync
public Observable
Deletes an entity or a child from a version of the application.
Parameters:
Returns:
Throws:
deleteEntityFeature
public 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.
Parameters:
Returns:
Throws:
deleteEntityFeatureAsync
public Observable
Deletes a relation from the feature relations used by the entity in a version of the application.
Parameters:
Returns:
Throws:
deleteEntityRole
public OperationStatus deleteEntityRole(UUID appId, String versionId, UUID entityId, UUID roleId)
Delete an entity role in a version of the application.
Parameters:
Returns:
Throws:
deleteEntityRoleAsync
public Observable
Delete an entity role in a version of the application.
Parameters:
Returns:
Throws:
deleteExplicitListItem
public OperationStatus deleteExplicitListItem(UUID appId, String versionId, UUID entityId, long itemId)
Delete an item from the explicit (exception) list for a Pattern.any entity in a version of the application.
Parameters:
Returns:
Throws:
deleteExplicitListItemAsync
public Observable
Delete an item from the explicit (exception) list for a Pattern.any entity in a version of the application.
Parameters:
Returns:
Throws:
deleteHierarchicalEntity
public OperationStatus deleteHierarchicalEntity(UUID appId, String versionId, UUID hEntityId)
Deletes a hierarchical entity from a version of the application.
Parameters:
Returns:
Throws:
deleteHierarchicalEntityAsync
public Observable
Deletes a hierarchical entity from a version of the application.
Parameters:
Returns:
Throws:
deleteHierarchicalEntityChild
public OperationStatus deleteHierarchicalEntityChild(UUID appId, String versionId, UUID hEntityId, UUID hChildId)
Deletes a hierarchical entity extractor child in a version of the application.
Parameters:
Returns:
Throws:
deleteHierarchicalEntityChildAsync
public Observable
Deletes a hierarchical entity extractor child in a version of the application.
Parameters:
Returns:
Throws:
deleteHierarchicalEntityRole
public OperationStatus deleteHierarchicalEntityRole(UUID appId, String versionId, UUID hEntityId, UUID roleId)
Delete a role for a given hierarchical role in a version of the application.
Parameters:
Returns:
Throws:
deleteHierarchicalEntityRoleAsync
public Observable
Delete a role for a given hierarchical role in a version of the application.
Parameters:
Returns:
Throws:
deleteIntent
public ModelsDeleteIntentDefinitionStages.WithAppId deleteIntent()
Deletes an intent from a version of the application.
Returns:
deleteIntent
public OperationStatus deleteIntent(UUID appId, String versionId, UUID intentId, DeleteIntentOptionalParameter deleteIntentOptionalParameter)
Deletes an intent from a version of the application.
Parameters:
Returns:
Throws:
deleteIntentAsync
public Observable
Deletes an intent from a version of the application.
Parameters:
Returns:
Throws:
deleteIntentFeature
public 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.
Parameters:
Returns:
Throws:
deleteIntentFeatureAsync
public Observable
Deletes a relation from the feature relations used by the intent in a version of the application.
Parameters:
Returns:
Throws:
deletePatternAnyEntityModel
public OperationStatus deletePatternAnyEntityModel(UUID appId, String versionId, UUID entityId)
Deletes a Pattern.Any entity extractor from a version of the application.
Parameters:
Returns:
Throws:
deletePatternAnyEntityModelAsync
public Observable
Deletes a Pattern.Any entity extractor from a version of the application.
Parameters:
Returns:
Throws:
deletePatternAnyEntityRole
public OperationStatus deletePatternAnyEntityRole(UUID appId, String versionId, UUID entityId, UUID roleId)
Delete a role for a given Pattern.any entity in a version of the application.
Parameters:
Returns:
Throws:
deletePatternAnyEntityRoleAsync
public Observable
Delete a role for a given Pattern.any entity in a version of the application.
Parameters:
Returns:
Throws:
deletePrebuilt
public OperationStatus deletePrebuilt(UUID appId, String versionId, UUID prebuiltId)
Deletes a prebuilt entity extractor from a version of the application.
Parameters:
Returns:
Throws:
deletePrebuiltAsync
public Observable
Deletes a prebuilt entity extractor from a version of the application.
Parameters:
Returns:
Throws:
deletePrebuiltEntityRole
public OperationStatus deletePrebuiltEntityRole(UUID appId, String versionId, UUID entityId, UUID roleId)
Delete a role in a prebuilt entity in a version of the application.
Parameters:
Returns:
Throws:
deletePrebuiltEntityRoleAsync
public Observable
Delete a role in a prebuilt entity in a version of the application.
Parameters:
Returns:
Throws:
deleteRegexEntityModel
public OperationStatus deleteRegexEntityModel(UUID appId, String versionId, UUID regexEntityId)
Deletes a regular expression entity from a version of the application.
Parameters:
Returns:
Throws:
deleteRegexEntityModelAsync
public Observable
Deletes a regular expression entity from a version of the application.
Parameters:
Returns:
Throws:
deleteRegexEntityRole
public OperationStatus deleteRegexEntityRole(UUID appId, String versionId, UUID entityId, UUID roleId)
Delete a role for a given regular expression in a version of the application.
Parameters:
Returns:
Throws:
deleteRegexEntityRoleAsync
public Observable
Delete a role for a given regular expression in a version of the application.
Parameters:
Returns:
Throws:
deleteSubList
public OperationStatus deleteSubList(UUID appId, String versionId, UUID clEntityId, long subListId)
Deletes a sublist of a specific list entity model from a version of the application.
Parameters:
Returns:
Throws:
deleteSubListAsync
public Observable
Deletes a sublist of a specific list entity model from a version of the application.
Parameters:
Returns:
Throws:
examplesMethod
public ModelsExamplesMethodDefinitionStages.WithAppId examplesMethod()
Gets the example utterances for the given intent or entity model in a version of the application.
Returns:
examplesMethod
public List
Gets the example utterances for the given intent or entity model in a version of the application.
Parameters:
Returns:
Throws:
examplesMethodAsync
public Observable> examplesMethodAsync(UUID appId, String versionId, String modelId, ExamplesMethodOptionalParameter examplesMethodOptionalParameter)
Gets the example utterances for the given intent or entity model in a version of the application.
Parameters:
Returns:
Throws:
getClosedList
public ClosedListEntityExtractor getClosedList(UUID appId, String versionId, UUID clEntityId)
Gets information about a list entity in a version of the application.
Parameters:
Returns:
Throws:
getClosedListAsync
public Observable
Gets information about a list entity in a version of the application.
Parameters:
Returns:
Throws:
getClosedListEntityRole
public EntityRole getClosedListEntityRole(UUID appId, String versionId, UUID entityId, UUID roleId)
Get one role for a given list entity in a version of the application.
Parameters:
Returns:
Throws:
getClosedListEntityRoleAsync
public Observable
Get one role for a given list entity in a version of the application.
Parameters:
Returns:
Throws:
getCompositeEntity
public CompositeEntityExtractor getCompositeEntity(UUID appId, String versionId, UUID cEntityId)
Gets information about a composite entity in a version of the application.
Parameters:
Returns:
Throws:
getCompositeEntityAsync
public Observable
Gets information about a composite entity in a version of the application.
Parameters:
Returns:
Throws:
getCompositeEntityRole
public EntityRole getCompositeEntityRole(UUID appId, String versionId, UUID cEntityId, UUID roleId)
Get one role for a given composite entity in a version of the application.
Parameters:
Returns:
Throws:
getCompositeEntityRoleAsync
public Observable
Get one role for a given composite entity in a version of the application.
Parameters:
Returns:
Throws:
getCustomEntityRole
public EntityRole getCustomEntityRole(UUID appId, String versionId, UUID entityId, UUID roleId)
Get one role for a given prebuilt entity in a version of the application.
Parameters:
Returns:
Throws:
getCustomEntityRoleAsync
public Observable
Get one role for a given prebuilt entity in a version of the application.
Parameters:
Returns:
Throws:
getEntity
public NDepthEntityExtractor getEntity(UUID appId, String versionId, UUID entityId)
Gets information about an entity model in a version of the application.
Parameters:
Returns:
Throws:
getEntityAsync
public Observable
Gets information about an entity model in a version of the application.
Parameters:
Returns:
Throws:
getEntityFeatures
public List
Gets the information of the features used by the entity in a version of the application.
Parameters:
Returns:
Throws:
getEntityFeaturesAsync
public Observable> getEntityFeaturesAsync(UUID appId, String versionId, UUID entityId)
Gets the information of the features used by the entity in a version of the application.
Parameters:
Returns:
Throws:
getEntityRole
public EntityRole getEntityRole(UUID appId, String versionId, UUID entityId, UUID roleId)
Get one role for a given entity in a version of the application.
Parameters:
Returns:
Throws:
getEntityRoleAsync
public Observable
Get one role for a given entity in a version of the application.
Parameters:
Returns:
Throws:
getExplicitList
public List
Get the explicit (exception) list of the pattern.any entity in a version of the application.
Parameters:
Returns:
Throws:
getExplicitListAsync
public Observable> getExplicitListAsync(UUID appId, String versionId, UUID entityId)
Get the explicit (exception) list of the pattern.any entity in a version of the application.
Parameters:
Returns:
Throws:
getExplicitListItem
public ExplicitListItem getExplicitListItem(UUID appId, String versionId, UUID entityId, long itemId)
Get the explicit (exception) list of the pattern.any entity in a version of the application.
Parameters:
Returns:
Throws:
getExplicitListItemAsync
public Observable
Get the explicit (exception) list of the pattern.any entity in a version of the application.
Parameters:
Returns:
Throws:
getHierarchicalEntity
public HierarchicalEntityExtractor getHierarchicalEntity(UUID appId, String versionId, UUID hEntityId)
Gets information about a hierarchical entity in a version of the application.
Parameters:
Returns:
Throws:
getHierarchicalEntityAsync
public Observable
Gets information about a hierarchical entity in a version of the application.
Parameters:
Returns:
Throws:
getHierarchicalEntityChild
public HierarchicalChildEntity getHierarchicalEntityChild(UUID appId, String versionId, UUID hEntityId, UUID hChildId)
Gets information about the child's model contained in an hierarchical entity child model in a version of the application.
Parameters:
Returns:
Throws:
getHierarchicalEntityChildAsync
public Observable
Gets information about the child's model contained in an hierarchical entity child model in a version of the application.
Parameters:
Returns:
Throws:
getHierarchicalEntityRole
public EntityRole getHierarchicalEntityRole(UUID appId, String versionId, UUID hEntityId, UUID roleId)
Get one role for a given hierarchical entity in a version of the application.
Parameters:
Returns:
Throws:
getHierarchicalEntityRoleAsync
public Observable
Get one role for a given hierarchical entity in a version of the application.
Parameters:
Returns:
Throws:
getIntent
public IntentClassifier getIntent(UUID appId, String versionId, UUID intentId)
Gets information about the intent model in a version of the application.
Parameters:
Returns:
Throws:
getIntentAsync
public Observable
Gets information about the intent model in a version of the application.
Parameters:
Returns:
Throws:
getIntentFeatures
public List
Gets the information of the features used by the intent in a version of the application.
Parameters:
Returns:
Throws:
getIntentFeaturesAsync
public Observable> getIntentFeaturesAsync(UUID appId, String versionId, UUID intentId)
Gets the information of the features used by the intent in a version of the application.
Parameters:
Returns:
Throws:
getPatternAnyEntityInfo
public PatternAnyEntityExtractor getPatternAnyEntityInfo(UUID appId, String versionId, UUID entityId)
Gets information about the Pattern.Any model in a version of the application.
Parameters:
Returns:
Throws:
getPatternAnyEntityInfoAsync
public Observable
Gets information about the Pattern.Any model in a version of the application.
Parameters:
Returns:
Throws:
getPatternAnyEntityRole
public EntityRole getPatternAnyEntityRole(UUID appId, String versionId, UUID entityId, UUID roleId)
Get one role for a given Pattern.any entity in a version of the application.
Parameters:
Returns:
Throws:
getPatternAnyEntityRoleAsync
public Observable
Get one role for a given Pattern.any entity in a version of the application.
Parameters:
Returns:
Throws:
getPrebuilt
public PrebuiltEntityExtractor getPrebuilt(UUID appId, String versionId, UUID prebuiltId)
Gets information about a prebuilt entity model in a version of the application.
Parameters:
Returns:
Throws:
getPrebuiltAsync
public Observable
Gets information about a prebuilt entity model in a version of the application.
Parameters:
Returns:
Throws:
getPrebuiltEntityRole
public EntityRole getPrebuiltEntityRole(UUID appId, String versionId, UUID entityId, UUID roleId)
Get one role for a given prebuilt entity in a version of the application.
Parameters:
Returns:
Throws:
getPrebuiltEntityRoleAsync
public Observable
Get one role for a given prebuilt entity in a version of the application.
Parameters:
Returns:
Throws:
getRegexEntityEntityInfo
public RegexEntityExtractor getRegexEntityEntityInfo(UUID appId, String versionId, UUID regexEntityId)
Gets information about a regular expression entity in a version of the application.
Parameters:
Returns:
Throws:
getRegexEntityEntityInfoAsync
public Observable
Gets information about a regular expression entity in a version of the application.
Parameters:
Returns:
Throws:
getRegexEntityRole
public EntityRole getRegexEntityRole(UUID appId, String versionId, UUID entityId, UUID roleId)
Get one role for a given regular expression entity in a version of the application.
Parameters:
Returns:
Throws:
getRegexEntityRoleAsync
public Observable
Get one role for a given regular expression entity in a version of the application.
Parameters:
Returns:
Throws:
listClosedListEntityRoles
public List
Get all roles for a list entity in a version of the application.
Parameters:
Returns:
Throws:
listClosedListEntityRolesAsync
public Observable> listClosedListEntityRolesAsync(UUID appId, String versionId, UUID entityId)
Get all roles for a list entity in a version of the application.
Parameters:
Returns:
Throws:
listClosedLists
public ModelsListClosedListsDefinitionStages.WithAppId listClosedLists()
Gets information about all the list entity models in a version of the application.
Returns:
listClosedLists
public List
Gets information about all the list entity models in a version of the application.
Parameters:
Returns:
Throws:
listClosedListsAsync
public Observable> listClosedListsAsync(UUID appId, String versionId, ListClosedListsOptionalParameter listClosedListsOptionalParameter)
Gets information about all the list entity models in a version of the application.
Parameters:
Returns:
Throws:
listCompositeEntities
public ModelsListCompositeEntitiesDefinitionStages.WithAppId listCompositeEntities()
Gets information about all the composite entity models in a version of the application.
Returns:
listCompositeEntities
public List
Gets information about all the composite entity models in a version of the application.
Parameters:
Returns:
Throws:
listCompositeEntitiesAsync
public Observable> listCompositeEntitiesAsync(UUID appId, String versionId, ListCompositeEntitiesOptionalParameter listCompositeEntitiesOptionalParameter)
Gets information about all the composite entity models in a version of the application.
Parameters:
Returns:
Throws:
listCompositeEntityRoles
public List
Get all roles for a composite entity in a version of the application.
Parameters:
Returns:
Throws:
listCompositeEntityRolesAsync
public Observable> listCompositeEntityRolesAsync(UUID appId, String versionId, UUID cEntityId)
Get all roles for a composite entity in a version of the application.
Parameters:
Returns:
Throws:
listCustomPrebuiltEntities
public List
Gets all prebuilt entities used in a version of the application.
Parameters:
Returns:
Throws:
listCustomPrebuiltEntitiesAsync
public Observable> listCustomPrebuiltEntitiesAsync(UUID appId, String versionId)
Gets all prebuilt entities used in a version of the application.
Parameters:
Returns:
Throws:
listCustomPrebuiltEntityRoles
public List
Get all roles for a prebuilt entity in a version of the application.
Parameters:
Returns:
Throws:
listCustomPrebuiltEntityRolesAsync
public Observable> listCustomPrebuiltEntityRolesAsync(UUID appId, String versionId, UUID entityId)
Get all roles for a prebuilt entity in a version of the application.
Parameters:
Returns:
Throws:
listCustomPrebuiltIntents
public List
Gets information about customizable prebuilt intents added to a version of the application.
Parameters:
Returns:
Throws:
listCustomPrebuiltIntentsAsync
public Observable> listCustomPrebuiltIntentsAsync(UUID appId, String versionId)
Gets information about customizable prebuilt intents added to a version of the application.
Parameters:
Returns:
Throws:
listCustomPrebuiltModels
public List
Gets all prebuilt intent and entity model information used in a version of this application.
Parameters:
Returns:
Throws:
listCustomPrebuiltModelsAsync
public Observable> listCustomPrebuiltModelsAsync(UUID appId, String versionId)
Gets all prebuilt intent and entity model information used in a version of this application.
Parameters:
Returns:
Throws:
listEntities
public ModelsListEntitiesDefinitionStages.WithAppId listEntities()
Gets information about all the simple entity models in a version of the application.
Returns:
listEntities
public List
Gets information about all the simple entity models in a version of the application.
Parameters:
Returns:
Throws:
listEntitiesAsync
public Observable> listEntitiesAsync(UUID appId, String versionId, ListEntitiesOptionalParameter listEntitiesOptionalParameter)
Gets information about all the simple entity models in a version of the application.
Parameters:
Returns:
Throws:
listEntityRoles
public List
Get all roles for an entity in a version of the application.
Parameters:
Returns:
Throws:
listEntityRolesAsync
public Observable> listEntityRolesAsync(UUID appId, String versionId, UUID entityId)
Get all roles for an entity in a version of the application.
Parameters:
Returns:
Throws:
listEntitySuggestions
public ModelsListEntitySuggestionsDefinitionStages.WithAppId listEntitySuggestions()
Get suggested example utterances that would improve the accuracy of the entity model in a version of the application.
Returns:
listEntitySuggestions
public List
Get suggested example utterances that would improve the accuracy of the entity model in a version of the application.
Parameters:
Returns:
Throws:
listEntitySuggestionsAsync
public Observable> listEntitySuggestionsAsync(UUID appId, String versionId, UUID entityId, ListEntitySuggestionsOptionalParameter listEntitySuggestionsOptionalParameter)
Get suggested example utterances that would improve the accuracy of the entity model in a version of the application.
Parameters:
Returns:
Throws:
listHierarchicalEntities
public ModelsListHierarchicalEntitiesDefinitionStages.WithAppId listHierarchicalEntities()
Gets information about all the hierarchical entity models in a version of the application.
Returns:
listHierarchicalEntities
public List
Gets information about all the hierarchical entity models in a version of the application.
Parameters:
Returns:
Throws:
listHierarchicalEntitiesAsync
public Observable> listHierarchicalEntitiesAsync(UUID appId, String versionId, ListHierarchicalEntitiesOptionalParameter listHierarchicalEntitiesOptionalParameter)
Gets information about all the hierarchical entity models in a version of the application.
Parameters:
Returns:
Throws:
listHierarchicalEntityRoles
public List
Get all roles for a hierarchical entity in a version of the application.
Parameters:
Returns:
Throws:
listHierarchicalEntityRolesAsync
public Observable> listHierarchicalEntityRolesAsync(UUID appId, String versionId, UUID hEntityId)
Get all roles for a hierarchical entity in a version of the application.
Parameters:
Returns:
Throws:
listIntents
public ModelsListIntentsDefinitionStages.WithAppId listIntents()
Gets information about the intent models in a version of the application.
Returns:
listIntents
public List
Gets information about the intent models in a version of the application.
Parameters:
Returns:
Throws:
listIntentsAsync
public Observable> listIntentsAsync(UUID appId, String versionId, ListIntentsOptionalParameter listIntentsOptionalParameter)
Gets information about the intent models in a version of the application.
Parameters:
Returns:
Throws:
listIntentSuggestions
public ModelsListIntentSuggestionsDefinitionStages.WithAppId listIntentSuggestions()
Suggests example utterances that would improve the accuracy of the intent model in a version of the application.
Returns:
listIntentSuggestions
public List
Suggests example utterances that would improve the accuracy of the intent model in a version of the application.
Parameters:
Returns:
Throws:
listIntentSuggestionsAsync
public Observable> listIntentSuggestionsAsync(UUID appId, String versionId, UUID intentId, ListIntentSuggestionsOptionalParameter listIntentSuggestionsOptionalParameter)
Suggests example utterances that would improve the accuracy of the intent model in a version of the application.
Parameters:
Returns:
Throws:
listModels
public ModelsListModelsDefinitionStages.WithAppId listModels()
Gets information about all the intent and entity models in a version of the application.
Returns:
listModels
public List
Gets information about all the intent and entity models in a version of the application.
Parameters:
Returns:
Throws:
listModelsAsync
public Observable> listModelsAsync(UUID appId, String versionId, ListModelsOptionalParameter listModelsOptionalParameter)
Gets information about all the intent and entity models in a version of the application.
Parameters:
Returns:
Throws:
listPatternAnyEntityInfos
public ModelsListPatternAnyEntityInfosDefinitionStages.WithAppId listPatternAnyEntityInfos()
Get information about the Pattern.Any entity models in a version of the application.
Returns:
listPatternAnyEntityInfos
public List
Get information about the Pattern.Any entity models in a version of the application.
Parameters:
Returns:
Throws:
listPatternAnyEntityInfosAsync
public Observable> listPatternAnyEntityInfosAsync(UUID appId, String versionId, ListPatternAnyEntityInfosOptionalParameter listPatternAnyEntityInfosOptionalParameter)
Get information about the Pattern.Any entity models in a version of the application.
Parameters:
Returns:
Throws:
listPatternAnyEntityRoles
public List
Get all roles for a Pattern.any entity in a version of the application.
Parameters:
Returns:
Throws:
listPatternAnyEntityRolesAsync
public Observable> listPatternAnyEntityRolesAsync(UUID appId, String versionId, UUID entityId)
Get all roles for a Pattern.any entity in a version of the application.
Parameters:
Returns:
Throws:
listPrebuiltEntities
public List
Gets all the available prebuilt entities in a version of the application.
Parameters:
Returns:
Throws:
listPrebuiltEntitiesAsync
public Observable> listPrebuiltEntitiesAsync(UUID appId, String versionId)
Gets all the available prebuilt entities in a version of the application.
Parameters:
Returns:
Throws:
listPrebuiltEntityRoles
public List
Get a prebuilt entity's roles in a version of the application.
Parameters:
Returns:
Throws:
listPrebuiltEntityRolesAsync
public Observable> listPrebuiltEntityRolesAsync(UUID appId, String versionId, UUID entityId)
Get a prebuilt entity's roles in a version of the application.
Parameters:
Returns:
Throws:
listPrebuilts
public ModelsListPrebuiltsDefinitionStages.WithAppId listPrebuilts()
Gets information about all the prebuilt entities in a version of the application.
Returns:
listPrebuilts
public List
Gets information about all the prebuilt entities in a version of the application.
Parameters:
Returns:
Throws:
listPrebuiltsAsync
public Observable> listPrebuiltsAsync(UUID appId, String versionId, ListPrebuiltsOptionalParameter listPrebuiltsOptionalParameter)
Gets information about all the prebuilt entities in a version of the application.
Parameters:
Returns:
Throws:
listRegexEntityInfos
public ModelsListRegexEntityInfosDefinitionStages.WithAppId listRegexEntityInfos()
Gets information about the regular expression entity models in a version of the application.
Returns:
listRegexEntityInfos
public List
Gets information about the regular expression entity models in a version of the application.
Parameters:
Returns:
Throws:
listRegexEntityInfosAsync
public Observable> listRegexEntityInfosAsync(UUID appId, String versionId, ListRegexEntityInfosOptionalParameter listRegexEntityInfosOptionalParameter)
Gets information about the regular expression entity models in a version of the application.
Parameters:
Returns:
Throws:
listRegexEntityRoles
public List
Get all roles for a regular expression entity in a version of the application.
Parameters:
Returns:
Throws:
listRegexEntityRolesAsync
public Observable> listRegexEntityRolesAsync(UUID appId, String versionId, UUID entityId)
Get all roles for a regular expression entity in a version of the application.
Parameters:
Returns:
Throws:
patchClosedList
public ModelsPatchClosedListDefinitionStages.WithAppId patchClosedList()
Adds a batch of sublists to an existing list entity in a version of the application.
Returns:
patchClosedList
public OperationStatus patchClosedList(UUID appId, String versionId, UUID clEntityId, PatchClosedListOptionalParameter patchClosedListOptionalParameter)
Adds a batch of sublists to an existing list entity in a version of the application.
Parameters:
Returns:
Throws:
patchClosedListAsync
public Observable
Adds a batch of sublists to an existing list entity in a version of the application.
Parameters:
Returns:
Throws:
replaceEntityFeatures
public OperationStatus replaceEntityFeatures(UUID appId, String versionId, UUID entityId, List
Updates the information of the features used by the entity in a version of the application.
Parameters:
Returns:
Throws:
replaceEntityFeaturesAsync
public Observable
Updates the information of the features used by the entity in a version of the application.
Parameters:
Returns:
Throws:
replaceIntentFeatures
public OperationStatus replaceIntentFeatures(UUID appId, String versionId, UUID intentId, List
Updates the information of the features used by the intent in a version of the application.
Parameters:
Returns:
Throws:
replaceIntentFeaturesAsync
public Observable
Updates the information of the features used by the intent in a version of the application.
Parameters:
Returns:
Throws:
updateClosedList
public OperationStatus updateClosedList(UUID appId, String versionId, UUID clEntityId, ClosedListModelUpdateObject closedListModelUpdateObject)
Updates the list entity in a version of the application.
Parameters:
Returns:
Throws:
updateClosedListAsync
public Observable
Updates the list entity in a version of the application.
Parameters:
Returns:
Throws:
updateClosedListEntityRole
public ModelsUpdateClosedListEntityRoleDefinitionStages.WithAppId updateClosedListEntityRole()
Update a role for a given list entity in a version of the application.
Returns:
updateClosedListEntityRole
public OperationStatus updateClosedListEntityRole(UUID appId, String versionId, UUID entityId, UUID roleId, UpdateClosedListEntityRoleOptionalParameter updateClosedListEntityRoleOptionalParameter)
Update a role for a given list entity in a version of the application.
Parameters:
Returns:
Throws:
updateClosedListEntityRoleAsync
public Observable
Update a role for a given list entity in a version of the application.
Parameters:
Returns:
Throws:
updateCompositeEntity
public OperationStatus updateCompositeEntity(UUID appId, String versionId, UUID cEntityId, CompositeEntityModel compositeModelUpdateObject)
Updates a composite entity in a version of the application.
Parameters:
Returns:
Throws:
updateCompositeEntityAsync
public Observable
Updates a composite entity in a version of the application.
Parameters:
Returns:
Throws:
updateCompositeEntityRole
public ModelsUpdateCompositeEntityRoleDefinitionStages.WithAppId updateCompositeEntityRole()
Update a role for a given composite entity in a version of the application.
Returns:
updateCompositeEntityRole
public OperationStatus updateCompositeEntityRole(UUID appId, String versionId, UUID cEntityId, UUID roleId, UpdateCompositeEntityRoleOptionalParameter updateCompositeEntityRoleOptionalParameter)
Update a role for a given composite entity in a version of the application.
Parameters:
Returns:
Throws:
updateCompositeEntityRoleAsync
public Observable
Update a role for a given composite entity in a version of the application.
Parameters:
Returns:
Throws:
updateCustomPrebuiltEntityRole
public ModelsUpdateCustomPrebuiltEntityRoleDefinitionStages.WithAppId updateCustomPrebuiltEntityRole()
Update a role for a given prebuilt entity in a version of the application.
Returns:
updateCustomPrebuiltEntityRole
public OperationStatus updateCustomPrebuiltEntityRole(UUID appId, String versionId, UUID entityId, UUID roleId, UpdateCustomPrebuiltEntityRoleOptionalParameter updateCustomPrebuiltEntityRoleOptionalParameter)
Update a role for a given prebuilt entity in a version of the application.
Parameters:
Returns:
Throws:
updateCustomPrebuiltEntityRoleAsync
public Observable
Update a role for a given prebuilt entity in a version of the application.
Parameters:
Returns:
Throws:
updateEntityChild
public OperationStatus updateEntityChild(UUID appId, String versionId, UUID entityId, EntityModelUpdateObject entityModelUpdateObject)
Updates the name of an entity extractor or the name and instanceOf model of a child entity extractor.
Parameters:
Returns:
Throws:
updateEntityChildAsync
public Observable
Updates the name of an entity extractor or the name and instanceOf model of a child entity extractor.
Parameters:
Returns:
Throws:
updateEntityRole
public ModelsUpdateEntityRoleDefinitionStages.WithAppId updateEntityRole()
Update a role for a given entity in a version of the application.
Returns:
updateEntityRole
public OperationStatus updateEntityRole(UUID appId, String versionId, UUID entityId, UUID roleId, UpdateEntityRoleOptionalParameter updateEntityRoleOptionalParameter)
Update a role for a given entity in a version of the application.
Parameters:
Returns:
Throws:
updateEntityRoleAsync
public Observable
Update a role for a given entity in a version of the application.
Parameters:
Returns:
Throws:
updateExplicitListItem
public ModelsUpdateExplicitListItemDefinitionStages.WithAppId updateExplicitListItem()
Updates an explicit (exception) list item for a Pattern.Any entity in a version of the application.
Returns:
updateExplicitListItem
public OperationStatus updateExplicitListItem(UUID appId, String versionId, UUID entityId, long itemId, UpdateExplicitListItemOptionalParameter updateExplicitListItemOptionalParameter)
Updates an explicit (exception) list item for a Pattern.Any entity in a version of the application.
Parameters:
Returns:
Throws:
updateExplicitListItemAsync
public Observable
Updates an explicit (exception) list item for a Pattern.Any entity in a version of the application.
Parameters:
Returns:
Throws:
updateHierarchicalEntity
public ModelsUpdateHierarchicalEntityDefinitionStages.WithAppId updateHierarchicalEntity()
Updates the name of a hierarchical entity model in a version of the application.
Returns:
updateHierarchicalEntity
public OperationStatus updateHierarchicalEntity(UUID appId, String versionId, UUID hEntityId, UpdateHierarchicalEntityOptionalParameter updateHierarchicalEntityOptionalParameter)
Updates the name of a hierarchical entity model in a version of the application.
Parameters:
Returns:
Throws:
updateHierarchicalEntityAsync
public Observable
Updates the name of a hierarchical entity model in a version of the application.
Parameters:
Returns:
Throws:
updateHierarchicalEntityChild
public ModelsUpdateHierarchicalEntityChildDefinitionStages.WithAppId updateHierarchicalEntityChild()
Renames a single child in an existing hierarchical entity model in a version of the application.
Returns:
updateHierarchicalEntityChild
public OperationStatus updateHierarchicalEntityChild(UUID appId, String versionId, UUID hEntityId, UUID hChildId, UpdateHierarchicalEntityChildOptionalParameter updateHierarchicalEntityChildOptionalParameter)
Renames a single child in an existing hierarchical entity model in a version of the application.
Parameters:
Returns:
Throws:
updateHierarchicalEntityChildAsync
public Observable
Renames a single child in an existing hierarchical entity model in a version of the application.
Parameters:
Returns:
Throws:
updateHierarchicalEntityRole
public ModelsUpdateHierarchicalEntityRoleDefinitionStages.WithAppId updateHierarchicalEntityRole()
Update a role for a given hierarchical entity in a version of the application.
Returns:
updateHierarchicalEntityRole
public OperationStatus updateHierarchicalEntityRole(UUID appId, String versionId, UUID hEntityId, UUID roleId, UpdateHierarchicalEntityRoleOptionalParameter updateHierarchicalEntityRoleOptionalParameter)
Update a role for a given hierarchical entity in a version of the application.
Parameters:
Returns:
Throws:
updateHierarchicalEntityRoleAsync
public Observable
Update a role for a given hierarchical entity in a version of the application.
Parameters:
Returns:
Throws:
updateIntent
public ModelsUpdateIntentDefinitionStages.WithAppId updateIntent()
Updates the name of an intent in a version of the application.
Returns:
updateIntent
public OperationStatus updateIntent(UUID appId, String versionId, UUID intentId, UpdateIntentOptionalParameter updateIntentOptionalParameter)
Updates the name of an intent in a version of the application.
Parameters:
Returns:
Throws:
updateIntentAsync
public Observable
Updates the name of an intent in a version of the application.
Parameters:
Returns:
Throws:
updatePatternAnyEntityModel
public OperationStatus updatePatternAnyEntityModel(UUID appId, String versionId, UUID entityId, PatternAnyModelUpdateObject patternAnyUpdateObject)
Updates the name and explicit (exception) list of a Pattern.Any entity model in a version of the application.
Parameters:
Returns:
Throws:
updatePatternAnyEntityModelAsync
public Observable
Updates the name and explicit (exception) list of a Pattern.Any entity model in a version of the application.
Parameters:
Returns:
Throws:
updatePatternAnyEntityRole
public ModelsUpdatePatternAnyEntityRoleDefinitionStages.WithAppId updatePatternAnyEntityRole()
Update a role for a given Pattern.any entity in a version of the application.
Returns:
updatePatternAnyEntityRole
public OperationStatus updatePatternAnyEntityRole(UUID appId, String versionId, UUID entityId, UUID roleId, UpdatePatternAnyEntityRoleOptionalParameter updatePatternAnyEntityRoleOptionalParameter)
Update a role for a given Pattern.any entity in a version of the application.
Parameters:
Returns:
Throws:
updatePatternAnyEntityRoleAsync
public Observable
Update a role for a given Pattern.any entity in a version of the application.
Parameters:
Returns:
Throws:
updatePrebuiltEntityRole
public ModelsUpdatePrebuiltEntityRoleDefinitionStages.WithAppId updatePrebuiltEntityRole()
Update a role for a given prebuilt entity in a version of the application.
Returns:
updatePrebuiltEntityRole
public OperationStatus updatePrebuiltEntityRole(UUID appId, String versionId, UUID entityId, UUID roleId, UpdatePrebuiltEntityRoleOptionalParameter updatePrebuiltEntityRoleOptionalParameter)
Update a role for a given prebuilt entity in a version of the application.
Parameters:
Returns:
Throws:
updatePrebuiltEntityRoleAsync
public Observable
Update a role for a given prebuilt entity in a version of the application.
Parameters:
Returns:
Throws:
updateRegexEntityModel
public OperationStatus updateRegexEntityModel(UUID appId, String versionId, UUID regexEntityId, RegexModelUpdateObject regexEntityUpdateObject)
Updates the regular expression entity in a version of the application.
Parameters:
Returns:
Throws:
updateRegexEntityModelAsync
public Observable
Updates the regular expression entity in a version of the application.
Parameters:
Returns:
Throws:
updateRegexEntityRole
public ModelsUpdateRegexEntityRoleDefinitionStages.WithAppId updateRegexEntityRole()
Update a role for a given regular expression entity in a version of the application.
Returns:
updateRegexEntityRole
public OperationStatus updateRegexEntityRole(UUID appId, String versionId, UUID entityId, UUID roleId, UpdateRegexEntityRoleOptionalParameter updateRegexEntityRoleOptionalParameter)
Update a role for a given regular expression entity in a version of the application.
Parameters:
Returns:
Throws:
updateRegexEntityRoleAsync
public Observable
Update a role for a given regular expression entity in a version of the application.
Parameters:
Returns:
Throws:
updateSubList
public OperationStatus updateSubList(UUID appId, String versionId, UUID clEntityId, long subListId, WordListBaseUpdateObject wordListBaseUpdateObject)
Updates one of the list entity's sublists in a version of the application.
Parameters:
Returns:
Throws:
updateSubListAsync
public Observable
Updates one of the list entity's sublists in a version of the application.
Parameters:
Returns:
Throws: