Class FeaturesImpl
- java.lang.Object
-
- com.microsoft.azure.cognitiveservices.language.luis.authoring.implementation.FeaturesImpl
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.microsoft.azure.cognitiveservices.language.luis.authoring.Features
Features.FeaturesListDefinition, Features.FeaturesListDefinitionStages, Features.FeaturesListPhraseListsDefinition, Features.FeaturesListPhraseListsDefinitionStages, Features.FeaturesUpdatePhraseListDefinition, Features.FeaturesUpdatePhraseListDefinitionStages
-
-
Constructor Summary
Constructors Constructor Description FeaturesImpl(retrofit2.Retrofit retrofit, LUISAuthoringClientImpl client)
Initializes an instance of FeaturesImpl.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.rx.Observable<OperationStatus>
addEntityFeatureAsync(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.com.microsoft.rest.ServiceFuture<OperationStatus>
addEntityFeatureAsync(UUID appId, String versionId, UUID entityId, ModelFeatureInformation featureRelationCreateObject, com.microsoft.rest.ServiceCallback<OperationStatus> serviceCallback)
Adds a new feature relation to be used by the entity in a version of the application.rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>>
addEntityFeatureWithServiceResponseAsync(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.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.rx.Observable<OperationStatus>
addIntentFeatureAsync(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.com.microsoft.rest.ServiceFuture<OperationStatus>
addIntentFeatureAsync(UUID appId, String versionId, UUID intentId, ModelFeatureInformation featureRelationCreateObject, com.microsoft.rest.ServiceCallback<OperationStatus> serviceCallback)
Adds a new feature relation to be used by the intent in a version of the application.rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>>
addIntentFeatureWithServiceResponseAsync(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.int
addPhraseList(UUID appId, String versionId, PhraselistCreateObject phraselistCreateObject)
Creates a new phraselist feature in a version of the application.rx.Observable<Integer>
addPhraseListAsync(UUID appId, String versionId, PhraselistCreateObject phraselistCreateObject)
Creates a new phraselist feature in a version of the application.com.microsoft.rest.ServiceFuture<Integer>
addPhraseListAsync(UUID appId, String versionId, PhraselistCreateObject phraselistCreateObject, com.microsoft.rest.ServiceCallback<Integer> serviceCallback)
Creates a new phraselist feature in a version of the application.rx.Observable<com.microsoft.rest.ServiceResponse<Integer>>
addPhraseListWithServiceResponseAsync(UUID appId, String versionId, PhraselistCreateObject phraselistCreateObject)
Creates a new phraselist feature in a version of the application.OperationStatus
deletePhraseList(UUID appId, String versionId, int phraselistId)
Deletes a phraselist feature from a version of the application.rx.Observable<OperationStatus>
deletePhraseListAsync(UUID appId, String versionId, int phraselistId)
Deletes a phraselist feature from a version of the application.com.microsoft.rest.ServiceFuture<OperationStatus>
deletePhraseListAsync(UUID appId, String versionId, int phraselistId, com.microsoft.rest.ServiceCallback<OperationStatus> serviceCallback)
Deletes a phraselist feature from a version of the application.rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>>
deletePhraseListWithServiceResponseAsync(UUID appId, String versionId, int phraselistId)
Deletes a phraselist feature from a version of the application.PhraseListFeatureInfo
getPhraseList(UUID appId, String versionId, int phraselistId)
Gets phraselist feature info in a version of the application.rx.Observable<PhraseListFeatureInfo>
getPhraseListAsync(UUID appId, String versionId, int phraselistId)
Gets phraselist feature info in a version of the application.com.microsoft.rest.ServiceFuture<PhraseListFeatureInfo>
getPhraseListAsync(UUID appId, String versionId, int phraselistId, com.microsoft.rest.ServiceCallback<PhraseListFeatureInfo> serviceCallback)
Gets phraselist feature info in a version of the application.rx.Observable<com.microsoft.rest.ServiceResponse<PhraseListFeatureInfo>>
getPhraseListWithServiceResponseAsync(UUID appId, String versionId, int phraselistId)
Gets phraselist feature info in a version of the application.com.microsoft.azure.cognitiveservices.language.luis.authoring.implementation.FeaturesImpl.FeaturesListParameters
list()
Gets all the extraction phraselist and pattern features in a version of the application.FeaturesResponseObject
list(UUID appId, String versionId, ListFeaturesOptionalParameter listOptionalParameter)
Gets all the extraction phraselist and pattern features in a version of the application.rx.Observable<FeaturesResponseObject>
listAsync(UUID appId, String versionId, ListFeaturesOptionalParameter listOptionalParameter)
Gets all the extraction phraselist and pattern features in a version of the application.com.microsoft.rest.ServiceFuture<FeaturesResponseObject>
listAsync(UUID appId, String versionId, ListFeaturesOptionalParameter listOptionalParameter, com.microsoft.rest.ServiceCallback<FeaturesResponseObject> serviceCallback)
Gets all the extraction phraselist and pattern features in a version of the application.com.microsoft.azure.cognitiveservices.language.luis.authoring.implementation.FeaturesImpl.FeaturesListPhraseListsParameters
listPhraseLists()
Gets all the phraselist features in a version of the application.List<PhraseListFeatureInfo>
listPhraseLists(UUID appId, String versionId, ListPhraseListsOptionalParameter listPhraseListsOptionalParameter)
Gets all the phraselist features in a version of the application.rx.Observable<List<PhraseListFeatureInfo>>
listPhraseListsAsync(UUID appId, String versionId, ListPhraseListsOptionalParameter listPhraseListsOptionalParameter)
Gets all the phraselist features in a version of the application.com.microsoft.rest.ServiceFuture<List<PhraseListFeatureInfo>>
listPhraseListsAsync(UUID appId, String versionId, ListPhraseListsOptionalParameter listPhraseListsOptionalParameter, com.microsoft.rest.ServiceCallback<List<PhraseListFeatureInfo>> serviceCallback)
Gets all the phraselist features in a version of the application.rx.Observable<com.microsoft.rest.ServiceResponse<List<PhraseListFeatureInfo>>>
listPhraseListsWithServiceResponseAsync(UUID appId, String versionId, ListPhraseListsOptionalParameter listPhraseListsOptionalParameter)
Gets all the phraselist features in a version of the application.rx.Observable<com.microsoft.rest.ServiceResponse<List<PhraseListFeatureInfo>>>
listPhraseListsWithServiceResponseAsync(UUID appId, String versionId, Integer skip, Integer take)
Gets all the phraselist features in a version of the application.rx.Observable<com.microsoft.rest.ServiceResponse<FeaturesResponseObject>>
listWithServiceResponseAsync(UUID appId, String versionId, ListFeaturesOptionalParameter listOptionalParameter)
Gets all the extraction phraselist and pattern features in a version of the application.rx.Observable<com.microsoft.rest.ServiceResponse<FeaturesResponseObject>>
listWithServiceResponseAsync(UUID appId, String versionId, Integer skip, Integer take)
Gets all the extraction phraselist and pattern features in a version of the application.com.microsoft.azure.cognitiveservices.language.luis.authoring.implementation.FeaturesImpl.FeaturesUpdatePhraseListParameters
updatePhraseList()
Updates the phrases, the state and the name of the phraselist feature in a version of the application.OperationStatus
updatePhraseList(UUID appId, String versionId, int phraselistId, UpdatePhraseListOptionalParameter updatePhraseListOptionalParameter)
Updates the phrases, the state and the name of the phraselist feature in a version of the application.rx.Observable<OperationStatus>
updatePhraseListAsync(UUID appId, String versionId, int phraselistId, UpdatePhraseListOptionalParameter updatePhraseListOptionalParameter)
Updates the phrases, the state and the name of the phraselist feature in a version of the application.com.microsoft.rest.ServiceFuture<OperationStatus>
updatePhraseListAsync(UUID appId, String versionId, int phraselistId, UpdatePhraseListOptionalParameter updatePhraseListOptionalParameter, com.microsoft.rest.ServiceCallback<OperationStatus> serviceCallback)
Updates the phrases, the state and the name of the phraselist feature in a version of the application.rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>>
updatePhraseListWithServiceResponseAsync(UUID appId, String versionId, int phraselistId, PhraselistUpdateObject phraselistUpdateObject)
Updates the phrases, the state and the name of the phraselist feature in a version of the application.rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>>
updatePhraseListWithServiceResponseAsync(UUID appId, String versionId, int phraselistId, UpdatePhraseListOptionalParameter updatePhraseListOptionalParameter)
Updates the phrases, the state and the name of the phraselist feature in a version of the application.
-
-
-
Constructor Detail
-
FeaturesImpl
public FeaturesImpl(retrofit2.Retrofit retrofit, LUISAuthoringClientImpl client)
Initializes an instance of FeaturesImpl.- Parameters:
retrofit
- the Retrofit instance built from a Retrofit Builder.client
- the instance of the service client containing this operation class.
-
-
Method Detail
-
addPhraseList
public int addPhraseList(UUID appId, String versionId, PhraselistCreateObject phraselistCreateObject)
Creates a new phraselist feature in a version of the application.- Specified by:
addPhraseList
in interfaceFeatures
- Parameters:
appId
- The application ID.versionId
- The version ID.phraselistCreateObject
- A Phraselist object containing Name, comma-separated Phrases and the isExchangeable boolean. Default value for isExchangeable is true.- Returns:
- the int object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationErrorResponseException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
addPhraseListAsync
public com.microsoft.rest.ServiceFuture<Integer> addPhraseListAsync(UUID appId, String versionId, PhraselistCreateObject phraselistCreateObject, com.microsoft.rest.ServiceCallback<Integer> serviceCallback)
Creates a new phraselist feature in a version of the application.- Parameters:
appId
- The application ID.versionId
- The version ID.phraselistCreateObject
- A Phraselist object containing Name, comma-separated Phrases and the isExchangeable boolean. Default value for isExchangeable is true.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
addPhraseListAsync
public rx.Observable<Integer> addPhraseListAsync(UUID appId, String versionId, PhraselistCreateObject phraselistCreateObject)
Creates a new phraselist feature in a version of the application.- Specified by:
addPhraseListAsync
in interfaceFeatures
- Parameters:
appId
- The application ID.versionId
- The version ID.phraselistCreateObject
- A Phraselist object containing Name, comma-separated Phrases and the isExchangeable boolean. Default value for isExchangeable is true.- Returns:
- the observable to the Integer object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
addPhraseListWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<Integer>> addPhraseListWithServiceResponseAsync(UUID appId, String versionId, PhraselistCreateObject phraselistCreateObject)
Creates a new phraselist feature in a version of the application.- Parameters:
appId
- The application ID.versionId
- The version ID.phraselistCreateObject
- A Phraselist object containing Name, comma-separated Phrases and the isExchangeable boolean. Default value for isExchangeable is true.- Returns:
- the observable to the Integer object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listPhraseLists
public List<PhraseListFeatureInfo> listPhraseLists(UUID appId, String versionId, ListPhraseListsOptionalParameter listPhraseListsOptionalParameter)
Gets all the phraselist features in a version of the application.- Specified by:
listPhraseLists
in interfaceFeatures
- Parameters:
appId
- The application ID.versionId
- The version ID.listPhraseListsOptionalParameter
- the object representing the optional parameters to be set before calling this API- Returns:
- the List<PhraseListFeatureInfo> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationErrorResponseException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
listPhraseListsAsync
public com.microsoft.rest.ServiceFuture<List<PhraseListFeatureInfo>> listPhraseListsAsync(UUID appId, String versionId, ListPhraseListsOptionalParameter listPhraseListsOptionalParameter, com.microsoft.rest.ServiceCallback<List<PhraseListFeatureInfo>> serviceCallback)
Gets all the phraselist features in a version of the application.- Parameters:
appId
- The application ID.versionId
- The version ID.listPhraseListsOptionalParameter
- the object representing the optional parameters to be set before calling this APIserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listPhraseListsAsync
public rx.Observable<List<PhraseListFeatureInfo>> listPhraseListsAsync(UUID appId, String versionId, ListPhraseListsOptionalParameter listPhraseListsOptionalParameter)
Gets all the phraselist features in a version of the application.- Specified by:
listPhraseListsAsync
in interfaceFeatures
- Parameters:
appId
- The application ID.versionId
- The version ID.listPhraseListsOptionalParameter
- the object representing the optional parameters to be set before calling this API- Returns:
- the observable to the List<PhraseListFeatureInfo> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listPhraseListsWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<List<PhraseListFeatureInfo>>> listPhraseListsWithServiceResponseAsync(UUID appId, String versionId, ListPhraseListsOptionalParameter listPhraseListsOptionalParameter)
Gets all the phraselist features in a version of the application.- Parameters:
appId
- The application ID.versionId
- The version ID.listPhraseListsOptionalParameter
- the object representing the optional parameters to be set before calling this API- Returns:
- the observable to the List<PhraseListFeatureInfo> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listPhraseListsWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<List<PhraseListFeatureInfo>>> listPhraseListsWithServiceResponseAsync(UUID appId, String versionId, Integer skip, Integer take)
Gets all the phraselist features in a version of the application.- Parameters:
appId
- The application ID.versionId
- The version ID.skip
- The number of entries to skip. Default value is 0.take
- The number of entries to return. Maximum page size is 500. Default is 100.- Returns:
- the observable to the List<PhraseListFeatureInfo> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listPhraseLists
public com.microsoft.azure.cognitiveservices.language.luis.authoring.implementation.FeaturesImpl.FeaturesListPhraseListsParameters listPhraseLists()
Description copied from interface:Features
Gets all the phraselist features in a version of the application.- Specified by:
listPhraseLists
in interfaceFeatures
- Returns:
- the first stage of the listPhraseLists call
-
list
public FeaturesResponseObject list(UUID appId, String versionId, ListFeaturesOptionalParameter listOptionalParameter)
Gets all the extraction phraselist and pattern features in a version of the application.- Specified by:
list
in interfaceFeatures
- Parameters:
appId
- The application ID.versionId
- The version ID.listOptionalParameter
- the object representing the optional parameters to be set before calling this API- Returns:
- the FeaturesResponseObject object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationErrorResponseException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
listAsync
public com.microsoft.rest.ServiceFuture<FeaturesResponseObject> listAsync(UUID appId, String versionId, ListFeaturesOptionalParameter listOptionalParameter, com.microsoft.rest.ServiceCallback<FeaturesResponseObject> serviceCallback)
Gets all the extraction phraselist and pattern features in a version of the application.- Parameters:
appId
- The application ID.versionId
- The version ID.listOptionalParameter
- the object representing the optional parameters to be set before calling this APIserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listAsync
public rx.Observable<FeaturesResponseObject> listAsync(UUID appId, String versionId, ListFeaturesOptionalParameter listOptionalParameter)
Gets all the extraction phraselist and pattern features in a version of the application.- Specified by:
listAsync
in interfaceFeatures
- Parameters:
appId
- The application ID.versionId
- The version ID.listOptionalParameter
- the object representing the optional parameters to be set before calling this API- Returns:
- the observable to the FeaturesResponseObject object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<FeaturesResponseObject>> listWithServiceResponseAsync(UUID appId, String versionId, ListFeaturesOptionalParameter listOptionalParameter)
Gets all the extraction phraselist and pattern features in a version of the application.- Parameters:
appId
- The application ID.versionId
- The version ID.listOptionalParameter
- the object representing the optional parameters to be set before calling this API- Returns:
- the observable to the FeaturesResponseObject object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<FeaturesResponseObject>> listWithServiceResponseAsync(UUID appId, String versionId, Integer skip, Integer take)
Gets all the extraction phraselist and pattern features in a version of the application.- Parameters:
appId
- The application ID.versionId
- The version ID.skip
- The number of entries to skip. Default value is 0.take
- The number of entries to return. Maximum page size is 500. Default is 100.- Returns:
- the observable to the FeaturesResponseObject object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
list
public com.microsoft.azure.cognitiveservices.language.luis.authoring.implementation.FeaturesImpl.FeaturesListParameters list()
Description copied from interface:Features
Gets all the extraction phraselist and pattern features in a version of the application.
-
getPhraseList
public PhraseListFeatureInfo getPhraseList(UUID appId, String versionId, int phraselistId)
Gets phraselist feature info in a version of the application.- Specified by:
getPhraseList
in interfaceFeatures
- Parameters:
appId
- The application ID.versionId
- The version ID.phraselistId
- The ID of the feature to be retrieved.- Returns:
- the PhraseListFeatureInfo object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationErrorResponseException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getPhraseListAsync
public com.microsoft.rest.ServiceFuture<PhraseListFeatureInfo> getPhraseListAsync(UUID appId, String versionId, int phraselistId, com.microsoft.rest.ServiceCallback<PhraseListFeatureInfo> serviceCallback)
Gets phraselist feature info in a version of the application.- Parameters:
appId
- The application ID.versionId
- The version ID.phraselistId
- The ID of the feature to be retrieved.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getPhraseListAsync
public rx.Observable<PhraseListFeatureInfo> getPhraseListAsync(UUID appId, String versionId, int phraselistId)
Gets phraselist feature info in a version of the application.- Specified by:
getPhraseListAsync
in interfaceFeatures
- Parameters:
appId
- The application ID.versionId
- The version ID.phraselistId
- The ID of the feature to be retrieved.- Returns:
- the observable to the PhraseListFeatureInfo object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getPhraseListWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<PhraseListFeatureInfo>> getPhraseListWithServiceResponseAsync(UUID appId, String versionId, int phraselistId)
Gets phraselist feature info in a version of the application.- Parameters:
appId
- The application ID.versionId
- The version ID.phraselistId
- The ID of the feature to be retrieved.- Returns:
- the observable to the PhraseListFeatureInfo object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updatePhraseList
public OperationStatus updatePhraseList(UUID appId, String versionId, int phraselistId, UpdatePhraseListOptionalParameter updatePhraseListOptionalParameter)
Updates the phrases, the state and the name of the phraselist feature in a version of the application.- Specified by:
updatePhraseList
in interfaceFeatures
- Parameters:
appId
- The application ID.versionId
- The version ID.phraselistId
- The ID of the feature to be updated.updatePhraseListOptionalParameter
- the object representing the optional parameters to be set before calling this API- Returns:
- the OperationStatus object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationErrorResponseException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
updatePhraseListAsync
public com.microsoft.rest.ServiceFuture<OperationStatus> updatePhraseListAsync(UUID appId, String versionId, int phraselistId, UpdatePhraseListOptionalParameter updatePhraseListOptionalParameter, com.microsoft.rest.ServiceCallback<OperationStatus> serviceCallback)
Updates the phrases, the state and the name of the phraselist feature in a version of the application.- Parameters:
appId
- The application ID.versionId
- The version ID.phraselistId
- The ID of the feature to be updated.updatePhraseListOptionalParameter
- the object representing the optional parameters to be set before calling this APIserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updatePhraseListAsync
public rx.Observable<OperationStatus> updatePhraseListAsync(UUID appId, String versionId, int phraselistId, UpdatePhraseListOptionalParameter updatePhraseListOptionalParameter)
Updates the phrases, the state and the name of the phraselist feature in a version of the application.- Specified by:
updatePhraseListAsync
in interfaceFeatures
- Parameters:
appId
- The application ID.versionId
- The version ID.phraselistId
- The ID of the feature to be updated.updatePhraseListOptionalParameter
- the object representing the optional parameters to be set before calling this API- Returns:
- the observable to the OperationStatus object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updatePhraseListWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> updatePhraseListWithServiceResponseAsync(UUID appId, String versionId, int phraselistId, UpdatePhraseListOptionalParameter updatePhraseListOptionalParameter)
Updates the phrases, the state and the name of the phraselist feature in a version of the application.- Parameters:
appId
- The application ID.versionId
- The version ID.phraselistId
- The ID of the feature to be updated.updatePhraseListOptionalParameter
- the object representing the optional parameters to be set before calling this API- Returns:
- the observable to the OperationStatus object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updatePhraseListWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> updatePhraseListWithServiceResponseAsync(UUID appId, String versionId, int phraselistId, PhraselistUpdateObject phraselistUpdateObject)
Updates the phrases, the state and the name of the phraselist feature in a version of the application.- Parameters:
appId
- The application ID.versionId
- The version ID.phraselistId
- The ID of the feature to be updated.phraselistUpdateObject
- The new values for: - Just a boolean called IsActive, in which case the status of the feature will be changed. - Name, Pattern, Mode, and a boolean called IsActive to update the feature.- Returns:
- the observable to the OperationStatus object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updatePhraseList
public com.microsoft.azure.cognitiveservices.language.luis.authoring.implementation.FeaturesImpl.FeaturesUpdatePhraseListParameters updatePhraseList()
Description copied from interface:Features
Updates the phrases, the state and the name of the phraselist feature in a version of the application.- Specified by:
updatePhraseList
in interfaceFeatures
- Returns:
- the first stage of the updatePhraseList call
-
deletePhraseList
public OperationStatus deletePhraseList(UUID appId, String versionId, int phraselistId)
Deletes a phraselist feature from a version of the application.- Specified by:
deletePhraseList
in interfaceFeatures
- Parameters:
appId
- The application ID.versionId
- The version ID.phraselistId
- The ID of the feature to be deleted.- Returns:
- the OperationStatus object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationErrorResponseException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
deletePhraseListAsync
public com.microsoft.rest.ServiceFuture<OperationStatus> deletePhraseListAsync(UUID appId, String versionId, int phraselistId, com.microsoft.rest.ServiceCallback<OperationStatus> serviceCallback)
Deletes a phraselist feature from a version of the application.- Parameters:
appId
- The application ID.versionId
- The version ID.phraselistId
- The ID of the feature to be deleted.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
deletePhraseListAsync
public rx.Observable<OperationStatus> deletePhraseListAsync(UUID appId, String versionId, int phraselistId)
Deletes a phraselist feature from a version of the application.- Specified by:
deletePhraseListAsync
in interfaceFeatures
- Parameters:
appId
- The application ID.versionId
- The version ID.phraselistId
- The ID of the feature to be deleted.- Returns:
- the observable to the OperationStatus object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
deletePhraseListWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> deletePhraseListWithServiceResponseAsync(UUID appId, String versionId, int phraselistId)
Deletes a phraselist feature from a version of the application.- Parameters:
appId
- The application ID.versionId
- The version ID.phraselistId
- The ID of the feature to be deleted.- Returns:
- the observable to the OperationStatus object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
addIntentFeature
public 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.- Specified by:
addIntentFeature
in interfaceFeatures
- Parameters:
appId
- The application ID.versionId
- The version ID.intentId
- The intent classifier ID.featureRelationCreateObject
- A Feature relation information object.- Returns:
- the OperationStatus object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationErrorResponseException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
addIntentFeatureAsync
public com.microsoft.rest.ServiceFuture<OperationStatus> addIntentFeatureAsync(UUID appId, String versionId, UUID intentId, ModelFeatureInformation featureRelationCreateObject, com.microsoft.rest.ServiceCallback<OperationStatus> serviceCallback)
Adds a new feature relation to be used by the intent in a version of the application.- Parameters:
appId
- The application ID.versionId
- The version ID.intentId
- The intent classifier ID.featureRelationCreateObject
- A Feature relation information object.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
addIntentFeatureAsync
public rx.Observable<OperationStatus> addIntentFeatureAsync(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.- Specified by:
addIntentFeatureAsync
in interfaceFeatures
- Parameters:
appId
- The application ID.versionId
- The version ID.intentId
- The intent classifier ID.featureRelationCreateObject
- A Feature relation information object.- Returns:
- the observable to the OperationStatus object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
addIntentFeatureWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> addIntentFeatureWithServiceResponseAsync(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.- Parameters:
appId
- The application ID.versionId
- The version ID.intentId
- The intent classifier ID.featureRelationCreateObject
- A Feature relation information object.- Returns:
- the observable to the OperationStatus object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
addEntityFeature
public 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.- Specified by:
addEntityFeature
in interfaceFeatures
- Parameters:
appId
- The application ID.versionId
- The version ID.entityId
- The entity extractor ID.featureRelationCreateObject
- A Feature relation information object.- Returns:
- the OperationStatus object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationErrorResponseException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
addEntityFeatureAsync
public com.microsoft.rest.ServiceFuture<OperationStatus> addEntityFeatureAsync(UUID appId, String versionId, UUID entityId, ModelFeatureInformation featureRelationCreateObject, com.microsoft.rest.ServiceCallback<OperationStatus> serviceCallback)
Adds a new feature relation to be used by the entity in a version of the application.- Parameters:
appId
- The application ID.versionId
- The version ID.entityId
- The entity extractor ID.featureRelationCreateObject
- A Feature relation information object.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
addEntityFeatureAsync
public rx.Observable<OperationStatus> addEntityFeatureAsync(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.- Specified by:
addEntityFeatureAsync
in interfaceFeatures
- Parameters:
appId
- The application ID.versionId
- The version ID.entityId
- The entity extractor ID.featureRelationCreateObject
- A Feature relation information object.- Returns:
- the observable to the OperationStatus object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
addEntityFeatureWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> addEntityFeatureWithServiceResponseAsync(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.- Parameters:
appId
- The application ID.versionId
- The version ID.entityId
- The entity extractor ID.featureRelationCreateObject
- A Feature relation information object.- Returns:
- the observable to the OperationStatus object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
-