Class ModelsImpl

  • All Implemented Interfaces:
    Models

    public class ModelsImpl
    extends Object
    implements Models
    An instance of this class provides access to all the operations defined in Models.
    • Constructor Detail

      • ModelsImpl

        public ModelsImpl​(retrofit2.Retrofit retrofit,
                          LUISAuthoringClientImpl client)
        Initializes an instance of ModelsImpl.
        Parameters:
        retrofit - the Retrofit instance built from a Retrofit Builder.
        client - the instance of the service client containing this operation class.
    • Method Detail

      • addIntent

        public UUID addIntent​(UUID appId,
                              String versionId,
                              AddIntentOptionalParameter addIntentOptionalParameter)
        Adds an intent to a version of the application.
        Specified by:
        addIntent in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        addIntentOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the UUID object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • addIntentAsync

        public com.microsoft.rest.ServiceFuture<UUID> addIntentAsync​(UUID appId,
                                                                     String versionId,
                                                                     AddIntentOptionalParameter addIntentOptionalParameter,
                                                                     com.microsoft.rest.ServiceCallback<UUID> serviceCallback)
        Adds an intent to a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        addIntentOptionalParameter - the object representing the optional parameters to be set before calling this API
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • addIntentAsync

        public rx.Observable<UUID> addIntentAsync​(UUID appId,
                                                  String versionId,
                                                  AddIntentOptionalParameter addIntentOptionalParameter)
        Adds an intent to a version of the application.
        Specified by:
        addIntentAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        addIntentOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the observable to the UUID object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • addIntentWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<UUID>> addIntentWithServiceResponseAsync​(UUID appId,
                                                                                                         String versionId,
                                                                                                         AddIntentOptionalParameter addIntentOptionalParameter)
        Adds an intent to a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        addIntentOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the observable to the UUID object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • addIntentWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<UUID>> addIntentWithServiceResponseAsync​(UUID appId,
                                                                                                         String versionId,
                                                                                                         String name)
        Adds an intent to a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        name - Name of the new entity extractor.
        Returns:
        the observable to the UUID object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • addIntent

        public com.microsoft.azure.cognitiveservices.language.luis.authoring.implementation.ModelsImpl.ModelsAddIntentParameters addIntent()
        Description copied from interface: Models
        Adds an intent to a version of the application.
        Specified by:
        addIntent in interface Models
        Returns:
        the first stage of the addIntent call
      • listIntents

        public List<IntentClassifier> listIntents​(UUID appId,
                                                  String versionId,
                                                  ListIntentsOptionalParameter listIntentsOptionalParameter)
        Gets information about the intent models in a version of the application.
        Specified by:
        listIntents in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        listIntentsOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the List<IntentClassifier> object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • listIntentsAsync

        public com.microsoft.rest.ServiceFuture<List<IntentClassifier>> listIntentsAsync​(UUID appId,
                                                                                         String versionId,
                                                                                         ListIntentsOptionalParameter listIntentsOptionalParameter,
                                                                                         com.microsoft.rest.ServiceCallback<List<IntentClassifier>> serviceCallback)
        Gets information about the intent models in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        listIntentsOptionalParameter - the object representing the optional parameters to be set before calling this API
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listIntentsAsync

        public rx.Observable<List<IntentClassifier>> listIntentsAsync​(UUID appId,
                                                                      String versionId,
                                                                      ListIntentsOptionalParameter listIntentsOptionalParameter)
        Gets information about the intent models in a version of the application.
        Specified by:
        listIntentsAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        listIntentsOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the observable to the List<IntentClassifier> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listIntentsWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<List<IntentClassifier>>> listIntentsWithServiceResponseAsync​(UUID appId,
                                                                                                                             String versionId,
                                                                                                                             ListIntentsOptionalParameter listIntentsOptionalParameter)
        Gets information about the intent models in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        listIntentsOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the observable to the List<IntentClassifier> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listIntentsWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<List<IntentClassifier>>> listIntentsWithServiceResponseAsync​(UUID appId,
                                                                                                                             String versionId,
                                                                                                                             Integer skip,
                                                                                                                             Integer take)
        Gets information about the intent models 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<IntentClassifier> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listIntents

        public com.microsoft.azure.cognitiveservices.language.luis.authoring.implementation.ModelsImpl.ModelsListIntentsParameters listIntents()
        Description copied from interface: Models
        Gets information about the intent models in a version of the application.
        Specified by:
        listIntents in interface Models
        Returns:
        the first stage of the listIntents call
      • addEntity

        public UUID addEntity​(UUID appId,
                              String versionId,
                              EntityModelCreateObject entityModelCreateObject)
        Adds an entity extractor to a version of the application.
        Specified by:
        addEntity in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityModelCreateObject - A model object containing the name of the new entity extractor and its children.
        Returns:
        the UUID object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • addEntityAsync

        public com.microsoft.rest.ServiceFuture<UUID> addEntityAsync​(UUID appId,
                                                                     String versionId,
                                                                     EntityModelCreateObject entityModelCreateObject,
                                                                     com.microsoft.rest.ServiceCallback<UUID> serviceCallback)
        Adds an entity extractor to a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityModelCreateObject - A model object containing the name of the new entity extractor and its children.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • addEntityAsync

        public rx.Observable<UUID> addEntityAsync​(UUID appId,
                                                  String versionId,
                                                  EntityModelCreateObject entityModelCreateObject)
        Adds an entity extractor to a version of the application.
        Specified by:
        addEntityAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityModelCreateObject - A model object containing the name of the new entity extractor and its children.
        Returns:
        the observable to the UUID object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • addEntityWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<UUID>> addEntityWithServiceResponseAsync​(UUID appId,
                                                                                                         String versionId,
                                                                                                         EntityModelCreateObject entityModelCreateObject)
        Adds an entity extractor to a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityModelCreateObject - A model object containing the name of the new entity extractor and its children.
        Returns:
        the observable to the UUID object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listEntities

        public List<NDepthEntityExtractor> listEntities​(UUID appId,
                                                        String versionId,
                                                        ListEntitiesOptionalParameter listEntitiesOptionalParameter)
        Gets information about all the simple entity models in a version of the application.
        Specified by:
        listEntities in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        listEntitiesOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the List<NDepthEntityExtractor> object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • listEntitiesAsync

        public com.microsoft.rest.ServiceFuture<List<NDepthEntityExtractor>> listEntitiesAsync​(UUID appId,
                                                                                               String versionId,
                                                                                               ListEntitiesOptionalParameter listEntitiesOptionalParameter,
                                                                                               com.microsoft.rest.ServiceCallback<List<NDepthEntityExtractor>> serviceCallback)
        Gets information about all the simple entity models in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        listEntitiesOptionalParameter - the object representing the optional parameters to be set before calling this API
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listEntitiesAsync

        public rx.Observable<List<NDepthEntityExtractor>> listEntitiesAsync​(UUID appId,
                                                                            String versionId,
                                                                            ListEntitiesOptionalParameter listEntitiesOptionalParameter)
        Gets information about all the simple entity models in a version of the application.
        Specified by:
        listEntitiesAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        listEntitiesOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the observable to the List<NDepthEntityExtractor> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listEntitiesWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<List<NDepthEntityExtractor>>> listEntitiesWithServiceResponseAsync​(UUID appId,
                                                                                                                                   String versionId,
                                                                                                                                   ListEntitiesOptionalParameter listEntitiesOptionalParameter)
        Gets information about all the simple entity models in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        listEntitiesOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the observable to the List<NDepthEntityExtractor> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listEntitiesWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<List<NDepthEntityExtractor>>> listEntitiesWithServiceResponseAsync​(UUID appId,
                                                                                                                                   String versionId,
                                                                                                                                   Integer skip,
                                                                                                                                   Integer take)
        Gets information about all the simple entity models 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<NDepthEntityExtractor> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listEntities

        public com.microsoft.azure.cognitiveservices.language.luis.authoring.implementation.ModelsImpl.ModelsListEntitiesParameters listEntities()
        Description copied from interface: Models
        Gets information about all the simple entity models in a version of the application.
        Specified by:
        listEntities in interface Models
        Returns:
        the first stage of the listEntities call
      • listHierarchicalEntitiesAsync

        public com.microsoft.rest.ServiceFuture<List<HierarchicalEntityExtractor>> listHierarchicalEntitiesAsync​(UUID appId,
                                                                                                                 String versionId,
                                                                                                                 ListHierarchicalEntitiesOptionalParameter listHierarchicalEntitiesOptionalParameter,
                                                                                                                 com.microsoft.rest.ServiceCallback<List<HierarchicalEntityExtractor>> serviceCallback)
        Gets information about all the hierarchical entity models in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        listHierarchicalEntitiesOptionalParameter - the object representing the optional parameters to be set before calling this API
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listHierarchicalEntitiesAsync

        public rx.Observable<List<HierarchicalEntityExtractor>> listHierarchicalEntitiesAsync​(UUID appId,
                                                                                              String versionId,
                                                                                              ListHierarchicalEntitiesOptionalParameter listHierarchicalEntitiesOptionalParameter)
        Gets information about all the hierarchical entity models in a version of the application.
        Specified by:
        listHierarchicalEntitiesAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        listHierarchicalEntitiesOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the observable to the List<HierarchicalEntityExtractor> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listHierarchicalEntitiesWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<List<HierarchicalEntityExtractor>>> listHierarchicalEntitiesWithServiceResponseAsync​(UUID appId,
                                                                                                                                                     String versionId,
                                                                                                                                                     ListHierarchicalEntitiesOptionalParameter listHierarchicalEntitiesOptionalParameter)
        Gets information about all the hierarchical entity models in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        listHierarchicalEntitiesOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the observable to the List<HierarchicalEntityExtractor> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listHierarchicalEntitiesWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<List<HierarchicalEntityExtractor>>> listHierarchicalEntitiesWithServiceResponseAsync​(UUID appId,
                                                                                                                                                     String versionId,
                                                                                                                                                     Integer skip,
                                                                                                                                                     Integer take)
        Gets information about all the hierarchical entity models 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<HierarchicalEntityExtractor> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listHierarchicalEntities

        public com.microsoft.azure.cognitiveservices.language.luis.authoring.implementation.ModelsImpl.ModelsListHierarchicalEntitiesParameters listHierarchicalEntities()
        Description copied from interface: Models
        Gets information about all the hierarchical entity models in a version of the application.
        Specified by:
        listHierarchicalEntities in interface Models
        Returns:
        the first stage of the listHierarchicalEntities call
      • listCompositeEntities

        public List<CompositeEntityExtractor> listCompositeEntities​(UUID appId,
                                                                    String versionId,
                                                                    ListCompositeEntitiesOptionalParameter listCompositeEntitiesOptionalParameter)
        Gets information about all the composite entity models in a version of the application.
        Specified by:
        listCompositeEntities in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        listCompositeEntitiesOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the List<CompositeEntityExtractor> object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • listCompositeEntitiesAsync

        public com.microsoft.rest.ServiceFuture<List<CompositeEntityExtractor>> listCompositeEntitiesAsync​(UUID appId,
                                                                                                           String versionId,
                                                                                                           ListCompositeEntitiesOptionalParameter listCompositeEntitiesOptionalParameter,
                                                                                                           com.microsoft.rest.ServiceCallback<List<CompositeEntityExtractor>> serviceCallback)
        Gets information about all the composite entity models in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        listCompositeEntitiesOptionalParameter - the object representing the optional parameters to be set before calling this API
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listCompositeEntitiesAsync

        public rx.Observable<List<CompositeEntityExtractor>> listCompositeEntitiesAsync​(UUID appId,
                                                                                        String versionId,
                                                                                        ListCompositeEntitiesOptionalParameter listCompositeEntitiesOptionalParameter)
        Gets information about all the composite entity models in a version of the application.
        Specified by:
        listCompositeEntitiesAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        listCompositeEntitiesOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the observable to the List<CompositeEntityExtractor> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listCompositeEntitiesWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<List<CompositeEntityExtractor>>> listCompositeEntitiesWithServiceResponseAsync​(UUID appId,
                                                                                                                                               String versionId,
                                                                                                                                               ListCompositeEntitiesOptionalParameter listCompositeEntitiesOptionalParameter)
        Gets information about all the composite entity models in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        listCompositeEntitiesOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the observable to the List<CompositeEntityExtractor> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listCompositeEntitiesWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<List<CompositeEntityExtractor>>> listCompositeEntitiesWithServiceResponseAsync​(UUID appId,
                                                                                                                                               String versionId,
                                                                                                                                               Integer skip,
                                                                                                                                               Integer take)
        Gets information about all the composite entity models 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<CompositeEntityExtractor> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listCompositeEntities

        public com.microsoft.azure.cognitiveservices.language.luis.authoring.implementation.ModelsImpl.ModelsListCompositeEntitiesParameters listCompositeEntities()
        Description copied from interface: Models
        Gets information about all the composite entity models in a version of the application.
        Specified by:
        listCompositeEntities in interface Models
        Returns:
        the first stage of the listCompositeEntities call
      • listClosedLists

        public List<ClosedListEntityExtractor> listClosedLists​(UUID appId,
                                                               String versionId,
                                                               ListClosedListsOptionalParameter listClosedListsOptionalParameter)
        Gets information about all the list entity models in a version of the application.
        Specified by:
        listClosedLists in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        listClosedListsOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the List<ClosedListEntityExtractor> object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • listClosedListsAsync

        public com.microsoft.rest.ServiceFuture<List<ClosedListEntityExtractor>> listClosedListsAsync​(UUID appId,
                                                                                                      String versionId,
                                                                                                      ListClosedListsOptionalParameter listClosedListsOptionalParameter,
                                                                                                      com.microsoft.rest.ServiceCallback<List<ClosedListEntityExtractor>> serviceCallback)
        Gets information about all the list entity models in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        listClosedListsOptionalParameter - the object representing the optional parameters to be set before calling this API
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listClosedListsAsync

        public rx.Observable<List<ClosedListEntityExtractor>> listClosedListsAsync​(UUID appId,
                                                                                   String versionId,
                                                                                   ListClosedListsOptionalParameter listClosedListsOptionalParameter)
        Gets information about all the list entity models in a version of the application.
        Specified by:
        listClosedListsAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        listClosedListsOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the observable to the List<ClosedListEntityExtractor> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listClosedListsWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<List<ClosedListEntityExtractor>>> listClosedListsWithServiceResponseAsync​(UUID appId,
                                                                                                                                          String versionId,
                                                                                                                                          ListClosedListsOptionalParameter listClosedListsOptionalParameter)
        Gets information about all the list entity models in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        listClosedListsOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the observable to the List<ClosedListEntityExtractor> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listClosedListsWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<List<ClosedListEntityExtractor>>> listClosedListsWithServiceResponseAsync​(UUID appId,
                                                                                                                                          String versionId,
                                                                                                                                          Integer skip,
                                                                                                                                          Integer take)
        Gets information about all the list entity models 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<ClosedListEntityExtractor> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listClosedLists

        public com.microsoft.azure.cognitiveservices.language.luis.authoring.implementation.ModelsImpl.ModelsListClosedListsParameters listClosedLists()
        Description copied from interface: Models
        Gets information about all the list entity models in a version of the application.
        Specified by:
        listClosedLists in interface Models
        Returns:
        the first stage of the listClosedLists call
      • addClosedList

        public UUID addClosedList​(UUID appId,
                                  String versionId,
                                  ClosedListModelCreateObject closedListModelCreateObject)
        Adds a list entity model to a version of the application.
        Specified by:
        addClosedList in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        closedListModelCreateObject - A model containing the name and words for the new list entity extractor.
        Returns:
        the UUID object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • addClosedListAsync

        public com.microsoft.rest.ServiceFuture<UUID> addClosedListAsync​(UUID appId,
                                                                         String versionId,
                                                                         ClosedListModelCreateObject closedListModelCreateObject,
                                                                         com.microsoft.rest.ServiceCallback<UUID> serviceCallback)
        Adds a list entity model to a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        closedListModelCreateObject - A model containing the name and words for the new list entity extractor.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • addClosedListAsync

        public rx.Observable<UUID> addClosedListAsync​(UUID appId,
                                                      String versionId,
                                                      ClosedListModelCreateObject closedListModelCreateObject)
        Adds a list entity model to a version of the application.
        Specified by:
        addClosedListAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        closedListModelCreateObject - A model containing the name and words for the new list entity extractor.
        Returns:
        the observable to the UUID object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • addClosedListWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<UUID>> addClosedListWithServiceResponseAsync​(UUID appId,
                                                                                                             String versionId,
                                                                                                             ClosedListModelCreateObject closedListModelCreateObject)
        Adds a list entity model to a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        closedListModelCreateObject - A model containing the name and words for the new list entity extractor.
        Returns:
        the observable to the UUID object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • addPrebuilt

        public List<PrebuiltEntityExtractor> addPrebuilt​(UUID appId,
                                                         String versionId,
                                                         List<String> prebuiltExtractorNames)
        Adds a list of prebuilt entities to a version of the application.
        Specified by:
        addPrebuilt in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        prebuiltExtractorNames - An array of prebuilt entity extractor names.
        Returns:
        the List<PrebuiltEntityExtractor> object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • addPrebuiltAsync

        public com.microsoft.rest.ServiceFuture<List<PrebuiltEntityExtractor>> addPrebuiltAsync​(UUID appId,
                                                                                                String versionId,
                                                                                                List<String> prebuiltExtractorNames,
                                                                                                com.microsoft.rest.ServiceCallback<List<PrebuiltEntityExtractor>> serviceCallback)
        Adds a list of prebuilt entities to a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        prebuiltExtractorNames - An array of prebuilt entity extractor names.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • addPrebuiltAsync

        public rx.Observable<List<PrebuiltEntityExtractor>> addPrebuiltAsync​(UUID appId,
                                                                             String versionId,
                                                                             List<String> prebuiltExtractorNames)
        Adds a list of prebuilt entities to a version of the application.
        Specified by:
        addPrebuiltAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        prebuiltExtractorNames - An array of prebuilt entity extractor names.
        Returns:
        the observable to the List<PrebuiltEntityExtractor> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • addPrebuiltWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<List<PrebuiltEntityExtractor>>> addPrebuiltWithServiceResponseAsync​(UUID appId,
                                                                                                                                    String versionId,
                                                                                                                                    List<String> prebuiltExtractorNames)
        Adds a list of prebuilt entities to a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        prebuiltExtractorNames - An array of prebuilt entity extractor names.
        Returns:
        the observable to the List<PrebuiltEntityExtractor> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listPrebuilts

        public List<PrebuiltEntityExtractor> listPrebuilts​(UUID appId,
                                                           String versionId,
                                                           ListPrebuiltsOptionalParameter listPrebuiltsOptionalParameter)
        Gets information about all the prebuilt entities in a version of the application.
        Specified by:
        listPrebuilts in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        listPrebuiltsOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the List<PrebuiltEntityExtractor> object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • listPrebuiltsAsync

        public com.microsoft.rest.ServiceFuture<List<PrebuiltEntityExtractor>> listPrebuiltsAsync​(UUID appId,
                                                                                                  String versionId,
                                                                                                  ListPrebuiltsOptionalParameter listPrebuiltsOptionalParameter,
                                                                                                  com.microsoft.rest.ServiceCallback<List<PrebuiltEntityExtractor>> serviceCallback)
        Gets information about all the prebuilt entities in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        listPrebuiltsOptionalParameter - the object representing the optional parameters to be set before calling this API
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listPrebuiltsAsync

        public rx.Observable<List<PrebuiltEntityExtractor>> listPrebuiltsAsync​(UUID appId,
                                                                               String versionId,
                                                                               ListPrebuiltsOptionalParameter listPrebuiltsOptionalParameter)
        Gets information about all the prebuilt entities in a version of the application.
        Specified by:
        listPrebuiltsAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        listPrebuiltsOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the observable to the List<PrebuiltEntityExtractor> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listPrebuiltsWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<List<PrebuiltEntityExtractor>>> listPrebuiltsWithServiceResponseAsync​(UUID appId,
                                                                                                                                      String versionId,
                                                                                                                                      ListPrebuiltsOptionalParameter listPrebuiltsOptionalParameter)
        Gets information about all the prebuilt entities in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        listPrebuiltsOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the observable to the List<PrebuiltEntityExtractor> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listPrebuiltsWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<List<PrebuiltEntityExtractor>>> listPrebuiltsWithServiceResponseAsync​(UUID appId,
                                                                                                                                      String versionId,
                                                                                                                                      Integer skip,
                                                                                                                                      Integer take)
        Gets information about all the prebuilt entities 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<PrebuiltEntityExtractor> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listPrebuilts

        public com.microsoft.azure.cognitiveservices.language.luis.authoring.implementation.ModelsImpl.ModelsListPrebuiltsParameters listPrebuilts()
        Description copied from interface: Models
        Gets information about all the prebuilt entities in a version of the application.
        Specified by:
        listPrebuilts in interface Models
        Returns:
        the first stage of the listPrebuilts call
      • listPrebuiltEntitiesAsync

        public com.microsoft.rest.ServiceFuture<List<AvailablePrebuiltEntityModel>> listPrebuiltEntitiesAsync​(UUID appId,
                                                                                                              String versionId,
                                                                                                              com.microsoft.rest.ServiceCallback<List<AvailablePrebuiltEntityModel>> serviceCallback)
        Gets all the available prebuilt entities in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listPrebuiltEntitiesAsync

        public rx.Observable<List<AvailablePrebuiltEntityModel>> listPrebuiltEntitiesAsync​(UUID appId,
                                                                                           String versionId)
        Gets all the available prebuilt entities in a version of the application.
        Specified by:
        listPrebuiltEntitiesAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        Returns:
        the observable to the List<AvailablePrebuiltEntityModel> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listPrebuiltEntitiesWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<List<AvailablePrebuiltEntityModel>>> listPrebuiltEntitiesWithServiceResponseAsync​(UUID appId,
                                                                                                                                                  String versionId)
        Gets all the available prebuilt entities in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        Returns:
        the observable to the List<AvailablePrebuiltEntityModel> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listModels

        public List<ModelInfoResponse> listModels​(UUID appId,
                                                  String versionId,
                                                  ListModelsOptionalParameter listModelsOptionalParameter)
        Gets information about all the intent and entity models in a version of the application.
        Specified by:
        listModels in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        listModelsOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the List<ModelInfoResponse> object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • listModelsAsync

        public com.microsoft.rest.ServiceFuture<List<ModelInfoResponse>> listModelsAsync​(UUID appId,
                                                                                         String versionId,
                                                                                         ListModelsOptionalParameter listModelsOptionalParameter,
                                                                                         com.microsoft.rest.ServiceCallback<List<ModelInfoResponse>> serviceCallback)
        Gets information about all the intent and entity models in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        listModelsOptionalParameter - the object representing the optional parameters to be set before calling this API
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listModelsAsync

        public rx.Observable<List<ModelInfoResponse>> listModelsAsync​(UUID appId,
                                                                      String versionId,
                                                                      ListModelsOptionalParameter listModelsOptionalParameter)
        Gets information about all the intent and entity models in a version of the application.
        Specified by:
        listModelsAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        listModelsOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the observable to the List<ModelInfoResponse> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listModelsWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<List<ModelInfoResponse>>> listModelsWithServiceResponseAsync​(UUID appId,
                                                                                                                             String versionId,
                                                                                                                             ListModelsOptionalParameter listModelsOptionalParameter)
        Gets information about all the intent and entity models in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        listModelsOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the observable to the List<ModelInfoResponse> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listModelsWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<List<ModelInfoResponse>>> listModelsWithServiceResponseAsync​(UUID appId,
                                                                                                                             String versionId,
                                                                                                                             Integer skip,
                                                                                                                             Integer take)
        Gets information about all the intent and entity models 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<ModelInfoResponse> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listModels

        public com.microsoft.azure.cognitiveservices.language.luis.authoring.implementation.ModelsImpl.ModelsListModelsParameters listModels()
        Description copied from interface: Models
        Gets information about all the intent and entity models in a version of the application.
        Specified by:
        listModels in interface Models
        Returns:
        the first stage of the listModels call
      • examplesMethod

        public List<LabelTextObject> examplesMethod​(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.
        Specified by:
        examplesMethod in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        modelId - The ID (GUID) of the model.
        examplesMethodOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the List<LabelTextObject> object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • examplesMethodAsync

        public com.microsoft.rest.ServiceFuture<List<LabelTextObject>> examplesMethodAsync​(UUID appId,
                                                                                           String versionId,
                                                                                           String modelId,
                                                                                           ExamplesMethodOptionalParameter examplesMethodOptionalParameter,
                                                                                           com.microsoft.rest.ServiceCallback<List<LabelTextObject>> serviceCallback)
        Gets the example utterances for the given intent or entity model in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        modelId - The ID (GUID) of the model.
        examplesMethodOptionalParameter - the object representing the optional parameters to be set before calling this API
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • examplesMethodAsync

        public rx.Observable<List<LabelTextObject>> 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.
        Specified by:
        examplesMethodAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        modelId - The ID (GUID) of the model.
        examplesMethodOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the observable to the List<LabelTextObject> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • examplesMethodWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<List<LabelTextObject>>> examplesMethodWithServiceResponseAsync​(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:
        appId - The application ID.
        versionId - The version ID.
        modelId - The ID (GUID) of the model.
        examplesMethodOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the observable to the List<LabelTextObject> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • examplesMethodWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<List<LabelTextObject>>> examplesMethodWithServiceResponseAsync​(UUID appId,
                                                                                                                               String versionId,
                                                                                                                               String modelId,
                                                                                                                               Integer skip,
                                                                                                                               Integer take)
        Gets the example utterances for the given intent or entity model in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        modelId - The ID (GUID) of the model.
        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<LabelTextObject> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • examplesMethod

        public com.microsoft.azure.cognitiveservices.language.luis.authoring.implementation.ModelsImpl.ModelsExamplesMethodParameters examplesMethod()
        Description copied from interface: Models
        Gets the example utterances for the given intent or entity model in a version of the application.
        Specified by:
        examplesMethod in interface Models
        Returns:
        the first stage of the examplesMethod call
      • getIntent

        public IntentClassifier getIntent​(UUID appId,
                                          String versionId,
                                          UUID intentId)
        Gets information about the intent model in a version of the application.
        Specified by:
        getIntent in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        intentId - The intent classifier ID.
        Returns:
        the IntentClassifier object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • getIntentAsync

        public com.microsoft.rest.ServiceFuture<IntentClassifier> getIntentAsync​(UUID appId,
                                                                                 String versionId,
                                                                                 UUID intentId,
                                                                                 com.microsoft.rest.ServiceCallback<IntentClassifier> serviceCallback)
        Gets information about the intent model in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        intentId - The intent classifier ID.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getIntentAsync

        public rx.Observable<IntentClassifier> getIntentAsync​(UUID appId,
                                                              String versionId,
                                                              UUID intentId)
        Gets information about the intent model in a version of the application.
        Specified by:
        getIntentAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        intentId - The intent classifier ID.
        Returns:
        the observable to the IntentClassifier object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getIntentWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<IntentClassifier>> getIntentWithServiceResponseAsync​(UUID appId,
                                                                                                                     String versionId,
                                                                                                                     UUID intentId)
        Gets information about the intent model in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        intentId - The intent classifier ID.
        Returns:
        the observable to the IntentClassifier object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • updateIntent

        public OperationStatus updateIntent​(UUID appId,
                                            String versionId,
                                            UUID intentId,
                                            UpdateIntentOptionalParameter updateIntentOptionalParameter)
        Updates the name of an intent in a version of the application.
        Specified by:
        updateIntent in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        intentId - The intent classifier ID.
        updateIntentOptionalParameter - 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 validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • updateIntentAsync

        public com.microsoft.rest.ServiceFuture<OperationStatus> updateIntentAsync​(UUID appId,
                                                                                   String versionId,
                                                                                   UUID intentId,
                                                                                   UpdateIntentOptionalParameter updateIntentOptionalParameter,
                                                                                   com.microsoft.rest.ServiceCallback<OperationStatus> serviceCallback)
        Updates the name of an intent in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        intentId - The intent classifier ID.
        updateIntentOptionalParameter - the object representing the optional parameters to be set before calling this API
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • updateIntentAsync

        public rx.Observable<OperationStatus> updateIntentAsync​(UUID appId,
                                                                String versionId,
                                                                UUID intentId,
                                                                UpdateIntentOptionalParameter updateIntentOptionalParameter)
        Updates the name of an intent in a version of the application.
        Specified by:
        updateIntentAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        intentId - The intent classifier ID.
        updateIntentOptionalParameter - 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
      • updateIntentWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> updateIntentWithServiceResponseAsync​(UUID appId,
                                                                                                                       String versionId,
                                                                                                                       UUID intentId,
                                                                                                                       UpdateIntentOptionalParameter updateIntentOptionalParameter)
        Updates the name of an intent in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        intentId - The intent classifier ID.
        updateIntentOptionalParameter - 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
      • updateIntentWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> updateIntentWithServiceResponseAsync​(UUID appId,
                                                                                                                       String versionId,
                                                                                                                       UUID intentId,
                                                                                                                       String name)
        Updates the name of an intent in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        intentId - The intent classifier ID.
        name - The entity's new name.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • updateIntent

        public com.microsoft.azure.cognitiveservices.language.luis.authoring.implementation.ModelsImpl.ModelsUpdateIntentParameters updateIntent()
        Description copied from interface: Models
        Updates the name of an intent in a version of the application.
        Specified by:
        updateIntent in interface Models
        Returns:
        the first stage of the updateIntent call
      • deleteIntent

        public OperationStatus deleteIntent​(UUID appId,
                                            String versionId,
                                            UUID intentId,
                                            DeleteIntentOptionalParameter deleteIntentOptionalParameter)
        Deletes an intent from a version of the application.
        Specified by:
        deleteIntent in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        intentId - The intent classifier ID.
        deleteIntentOptionalParameter - 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 validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • deleteIntentAsync

        public com.microsoft.rest.ServiceFuture<OperationStatus> deleteIntentAsync​(UUID appId,
                                                                                   String versionId,
                                                                                   UUID intentId,
                                                                                   DeleteIntentOptionalParameter deleteIntentOptionalParameter,
                                                                                   com.microsoft.rest.ServiceCallback<OperationStatus> serviceCallback)
        Deletes an intent from a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        intentId - The intent classifier ID.
        deleteIntentOptionalParameter - the object representing the optional parameters to be set before calling this API
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • deleteIntentAsync

        public rx.Observable<OperationStatus> deleteIntentAsync​(UUID appId,
                                                                String versionId,
                                                                UUID intentId,
                                                                DeleteIntentOptionalParameter deleteIntentOptionalParameter)
        Deletes an intent from a version of the application.
        Specified by:
        deleteIntentAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        intentId - The intent classifier ID.
        deleteIntentOptionalParameter - 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
      • deleteIntentWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> deleteIntentWithServiceResponseAsync​(UUID appId,
                                                                                                                       String versionId,
                                                                                                                       UUID intentId,
                                                                                                                       DeleteIntentOptionalParameter deleteIntentOptionalParameter)
        Deletes an intent from a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        intentId - The intent classifier ID.
        deleteIntentOptionalParameter - 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
      • deleteIntentWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> deleteIntentWithServiceResponseAsync​(UUID appId,
                                                                                                                       String versionId,
                                                                                                                       UUID intentId,
                                                                                                                       Boolean deleteUtterances)
        Deletes an intent from a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        intentId - The intent classifier ID.
        deleteUtterances - If true, deletes the intent's example utterances. If false, moves the example utterances to the None intent. The default value is false.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • deleteIntent

        public com.microsoft.azure.cognitiveservices.language.luis.authoring.implementation.ModelsImpl.ModelsDeleteIntentParameters deleteIntent()
        Description copied from interface: Models
        Deletes an intent from a version of the application.
        Specified by:
        deleteIntent in interface Models
        Returns:
        the first stage of the deleteIntent call
      • getEntity

        public NDepthEntityExtractor getEntity​(UUID appId,
                                               String versionId,
                                               UUID entityId)
        Gets information about an entity model in a version of the application.
        Specified by:
        getEntity in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity extractor ID.
        Returns:
        the NDepthEntityExtractor object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • getEntityAsync

        public com.microsoft.rest.ServiceFuture<NDepthEntityExtractor> getEntityAsync​(UUID appId,
                                                                                      String versionId,
                                                                                      UUID entityId,
                                                                                      com.microsoft.rest.ServiceCallback<NDepthEntityExtractor> serviceCallback)
        Gets information about an entity model in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity extractor ID.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getEntityAsync

        public rx.Observable<NDepthEntityExtractor> getEntityAsync​(UUID appId,
                                                                   String versionId,
                                                                   UUID entityId)
        Gets information about an entity model in a version of the application.
        Specified by:
        getEntityAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity extractor ID.
        Returns:
        the observable to the NDepthEntityExtractor object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getEntityWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<NDepthEntityExtractor>> getEntityWithServiceResponseAsync​(UUID appId,
                                                                                                                          String versionId,
                                                                                                                          UUID entityId)
        Gets information about an entity model in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity extractor ID.
        Returns:
        the observable to the NDepthEntityExtractor object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • deleteEntity

        public OperationStatus deleteEntity​(UUID appId,
                                            String versionId,
                                            UUID entityId)
        Deletes an entity or a child from a version of the application.
        Specified by:
        deleteEntity in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity extractor or the child entity extractor ID.
        Returns:
        the OperationStatus object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • deleteEntityAsync

        public com.microsoft.rest.ServiceFuture<OperationStatus> deleteEntityAsync​(UUID appId,
                                                                                   String versionId,
                                                                                   UUID entityId,
                                                                                   com.microsoft.rest.ServiceCallback<OperationStatus> serviceCallback)
        Deletes an entity or a child from a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity extractor or the child entity extractor ID.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • deleteEntityAsync

        public rx.Observable<OperationStatus> deleteEntityAsync​(UUID appId,
                                                                String versionId,
                                                                UUID entityId)
        Deletes an entity or a child from a version of the application.
        Specified by:
        deleteEntityAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity extractor or the child entity extractor ID.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • deleteEntityWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> deleteEntityWithServiceResponseAsync​(UUID appId,
                                                                                                                       String versionId,
                                                                                                                       UUID entityId)
        Deletes an entity or a child from a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity extractor or the child entity extractor ID.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • 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.
        Specified by:
        updateEntityChild in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity extractor or the child entity extractor ID.
        entityModelUpdateObject - A model object containing the name new entity extractor or the name and instance of model of a child entity extractor
        Returns:
        the OperationStatus object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • updateEntityChildAsync

        public com.microsoft.rest.ServiceFuture<OperationStatus> updateEntityChildAsync​(UUID appId,
                                                                                        String versionId,
                                                                                        UUID entityId,
                                                                                        EntityModelUpdateObject entityModelUpdateObject,
                                                                                        com.microsoft.rest.ServiceCallback<OperationStatus> serviceCallback)
        Updates the name of an entity extractor or the name and instanceOf model of a child entity extractor.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity extractor or the child entity extractor ID.
        entityModelUpdateObject - A model object containing the name new entity extractor or the name and instance of model of a child entity extractor
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • updateEntityChildAsync

        public rx.Observable<OperationStatus> updateEntityChildAsync​(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.
        Specified by:
        updateEntityChildAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity extractor or the child entity extractor ID.
        entityModelUpdateObject - A model object containing the name new entity extractor or the name and instance of model of a child entity extractor
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • updateEntityChildWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> updateEntityChildWithServiceResponseAsync​(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:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity extractor or the child entity extractor ID.
        entityModelUpdateObject - A model object containing the name new entity extractor or the name and instance of model of a child entity extractor
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getIntentFeatures

        public List<ModelFeatureInformation> getIntentFeatures​(UUID appId,
                                                               String versionId,
                                                               UUID intentId)
        Gets the information of the features used by the intent in a version of the application.
        Specified by:
        getIntentFeatures in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        intentId - The intent classifier ID.
        Returns:
        the List<ModelFeatureInformation> object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • getIntentFeaturesAsync

        public com.microsoft.rest.ServiceFuture<List<ModelFeatureInformation>> getIntentFeaturesAsync​(UUID appId,
                                                                                                      String versionId,
                                                                                                      UUID intentId,
                                                                                                      com.microsoft.rest.ServiceCallback<List<ModelFeatureInformation>> serviceCallback)
        Gets the information of the features used by the intent in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        intentId - The intent classifier ID.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getIntentFeaturesAsync

        public rx.Observable<List<ModelFeatureInformation>> getIntentFeaturesAsync​(UUID appId,
                                                                                   String versionId,
                                                                                   UUID intentId)
        Gets the information of the features used by the intent in a version of the application.
        Specified by:
        getIntentFeaturesAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        intentId - The intent classifier ID.
        Returns:
        the observable to the List<ModelFeatureInformation> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getIntentFeaturesWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<List<ModelFeatureInformation>>> getIntentFeaturesWithServiceResponseAsync​(UUID appId,
                                                                                                                                          String versionId,
                                                                                                                                          UUID intentId)
        Gets the information of the features used by the intent in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        intentId - The intent classifier ID.
        Returns:
        the observable to the List<ModelFeatureInformation> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • replaceIntentFeatures

        public OperationStatus replaceIntentFeatures​(UUID appId,
                                                     String versionId,
                                                     UUID intentId,
                                                     List<ModelFeatureInformation> featureRelationsUpdateObject)
        Updates the information of the features used by the intent in a version of the application.
        Specified by:
        replaceIntentFeatures in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        intentId - The intent classifier ID.
        featureRelationsUpdateObject - A list of feature information objects containing the new feature relations.
        Returns:
        the OperationStatus object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • replaceIntentFeaturesAsync

        public com.microsoft.rest.ServiceFuture<OperationStatus> replaceIntentFeaturesAsync​(UUID appId,
                                                                                            String versionId,
                                                                                            UUID intentId,
                                                                                            List<ModelFeatureInformation> featureRelationsUpdateObject,
                                                                                            com.microsoft.rest.ServiceCallback<OperationStatus> serviceCallback)
        Updates the information of the features used by the intent in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        intentId - The intent classifier ID.
        featureRelationsUpdateObject - A list of feature information objects containing the new feature relations.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • replaceIntentFeaturesAsync

        public rx.Observable<OperationStatus> replaceIntentFeaturesAsync​(UUID appId,
                                                                         String versionId,
                                                                         UUID intentId,
                                                                         List<ModelFeatureInformation> featureRelationsUpdateObject)
        Updates the information of the features used by the intent in a version of the application.
        Specified by:
        replaceIntentFeaturesAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        intentId - The intent classifier ID.
        featureRelationsUpdateObject - A list of feature information objects containing the new feature relations.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • replaceIntentFeaturesWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> replaceIntentFeaturesWithServiceResponseAsync​(UUID appId,
                                                                                                                                String versionId,
                                                                                                                                UUID intentId,
                                                                                                                                List<ModelFeatureInformation> featureRelationsUpdateObject)
        Updates the information of the features used by the intent in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        intentId - The intent classifier ID.
        featureRelationsUpdateObject - A list of feature information objects containing the new feature relations.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • 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.
        Specified by:
        deleteIntentFeature in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        intentId - The intent classifier ID.
        featureRelationDeleteObject - A feature information object containing the feature relation to delete.
        Returns:
        the OperationStatus object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • deleteIntentFeatureAsync

        public com.microsoft.rest.ServiceFuture<OperationStatus> deleteIntentFeatureAsync​(UUID appId,
                                                                                          String versionId,
                                                                                          UUID intentId,
                                                                                          ModelFeatureInformation featureRelationDeleteObject,
                                                                                          com.microsoft.rest.ServiceCallback<OperationStatus> serviceCallback)
        Deletes a relation from the feature relations used by the intent in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        intentId - The intent classifier ID.
        featureRelationDeleteObject - A feature information object containing the feature relation to delete.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • deleteIntentFeatureAsync

        public rx.Observable<OperationStatus> deleteIntentFeatureAsync​(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.
        Specified by:
        deleteIntentFeatureAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        intentId - The intent classifier ID.
        featureRelationDeleteObject - A feature information object containing the feature relation to delete.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • deleteIntentFeatureWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> deleteIntentFeatureWithServiceResponseAsync​(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:
        appId - The application ID.
        versionId - The version ID.
        intentId - The intent classifier ID.
        featureRelationDeleteObject - A feature information object containing the feature relation to delete.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getEntityFeatures

        public List<ModelFeatureInformation> getEntityFeatures​(UUID appId,
                                                               String versionId,
                                                               UUID entityId)
        Gets the information of the features used by the entity in a version of the application.
        Specified by:
        getEntityFeatures in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity extractor ID.
        Returns:
        the List<ModelFeatureInformation> object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • getEntityFeaturesAsync

        public com.microsoft.rest.ServiceFuture<List<ModelFeatureInformation>> getEntityFeaturesAsync​(UUID appId,
                                                                                                      String versionId,
                                                                                                      UUID entityId,
                                                                                                      com.microsoft.rest.ServiceCallback<List<ModelFeatureInformation>> serviceCallback)
        Gets the information of the features used by the entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity extractor ID.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getEntityFeaturesAsync

        public rx.Observable<List<ModelFeatureInformation>> getEntityFeaturesAsync​(UUID appId,
                                                                                   String versionId,
                                                                                   UUID entityId)
        Gets the information of the features used by the entity in a version of the application.
        Specified by:
        getEntityFeaturesAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity extractor ID.
        Returns:
        the observable to the List<ModelFeatureInformation> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getEntityFeaturesWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<List<ModelFeatureInformation>>> getEntityFeaturesWithServiceResponseAsync​(UUID appId,
                                                                                                                                          String versionId,
                                                                                                                                          UUID entityId)
        Gets the information of the features used by the entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity extractor ID.
        Returns:
        the observable to the List<ModelFeatureInformation> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • replaceEntityFeatures

        public OperationStatus replaceEntityFeatures​(UUID appId,
                                                     String versionId,
                                                     UUID entityId,
                                                     List<ModelFeatureInformation> featureRelationsUpdateObject)
        Updates the information of the features used by the entity in a version of the application.
        Specified by:
        replaceEntityFeatures in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity extractor ID.
        featureRelationsUpdateObject - A list of feature information objects containing the new feature relations.
        Returns:
        the OperationStatus object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • replaceEntityFeaturesAsync

        public com.microsoft.rest.ServiceFuture<OperationStatus> replaceEntityFeaturesAsync​(UUID appId,
                                                                                            String versionId,
                                                                                            UUID entityId,
                                                                                            List<ModelFeatureInformation> featureRelationsUpdateObject,
                                                                                            com.microsoft.rest.ServiceCallback<OperationStatus> serviceCallback)
        Updates the information of the features used by the entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity extractor ID.
        featureRelationsUpdateObject - A list of feature information objects containing the new feature relations.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • replaceEntityFeaturesAsync

        public rx.Observable<OperationStatus> replaceEntityFeaturesAsync​(UUID appId,
                                                                         String versionId,
                                                                         UUID entityId,
                                                                         List<ModelFeatureInformation> featureRelationsUpdateObject)
        Updates the information of the features used by the entity in a version of the application.
        Specified by:
        replaceEntityFeaturesAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity extractor ID.
        featureRelationsUpdateObject - A list of feature information objects containing the new feature relations.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • replaceEntityFeaturesWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> replaceEntityFeaturesWithServiceResponseAsync​(UUID appId,
                                                                                                                                String versionId,
                                                                                                                                UUID entityId,
                                                                                                                                List<ModelFeatureInformation> featureRelationsUpdateObject)
        Updates the information of the features used by the entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity extractor ID.
        featureRelationsUpdateObject - A list of feature information objects containing the new feature relations.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • 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.
        Specified by:
        deleteEntityFeature in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity extractor ID.
        featureRelationDeleteObject - A feature information object containing the feature relation to delete.
        Returns:
        the OperationStatus object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • deleteEntityFeatureAsync

        public com.microsoft.rest.ServiceFuture<OperationStatus> deleteEntityFeatureAsync​(UUID appId,
                                                                                          String versionId,
                                                                                          UUID entityId,
                                                                                          ModelFeatureInformation featureRelationDeleteObject,
                                                                                          com.microsoft.rest.ServiceCallback<OperationStatus> serviceCallback)
        Deletes a relation from the feature relations used by the entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity extractor ID.
        featureRelationDeleteObject - A feature information object containing the feature relation to delete.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • deleteEntityFeatureAsync

        public rx.Observable<OperationStatus> deleteEntityFeatureAsync​(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.
        Specified by:
        deleteEntityFeatureAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity extractor ID.
        featureRelationDeleteObject - A feature information object containing the feature relation to delete.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • deleteEntityFeatureWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> deleteEntityFeatureWithServiceResponseAsync​(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:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity extractor ID.
        featureRelationDeleteObject - A feature information object containing the feature relation to delete.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getHierarchicalEntity

        public HierarchicalEntityExtractor getHierarchicalEntity​(UUID appId,
                                                                 String versionId,
                                                                 UUID hEntityId)
        Gets information about a hierarchical entity in a version of the application.
        Specified by:
        getHierarchicalEntity in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        hEntityId - The hierarchical entity extractor ID.
        Returns:
        the HierarchicalEntityExtractor object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • getHierarchicalEntityAsync

        public com.microsoft.rest.ServiceFuture<HierarchicalEntityExtractor> getHierarchicalEntityAsync​(UUID appId,
                                                                                                        String versionId,
                                                                                                        UUID hEntityId,
                                                                                                        com.microsoft.rest.ServiceCallback<HierarchicalEntityExtractor> serviceCallback)
        Gets information about a hierarchical entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        hEntityId - The hierarchical entity extractor ID.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getHierarchicalEntityAsync

        public rx.Observable<HierarchicalEntityExtractor> getHierarchicalEntityAsync​(UUID appId,
                                                                                     String versionId,
                                                                                     UUID hEntityId)
        Gets information about a hierarchical entity in a version of the application.
        Specified by:
        getHierarchicalEntityAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        hEntityId - The hierarchical entity extractor ID.
        Returns:
        the observable to the HierarchicalEntityExtractor object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getHierarchicalEntityWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<HierarchicalEntityExtractor>> getHierarchicalEntityWithServiceResponseAsync​(UUID appId,
                                                                                                                                            String versionId,
                                                                                                                                            UUID hEntityId)
        Gets information about a hierarchical entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        hEntityId - The hierarchical entity extractor ID.
        Returns:
        the observable to the HierarchicalEntityExtractor object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • 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.
        Specified by:
        updateHierarchicalEntity in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        hEntityId - The hierarchical entity extractor ID.
        updateHierarchicalEntityOptionalParameter - 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 validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • updateHierarchicalEntityAsync

        public com.microsoft.rest.ServiceFuture<OperationStatus> updateHierarchicalEntityAsync​(UUID appId,
                                                                                               String versionId,
                                                                                               UUID hEntityId,
                                                                                               UpdateHierarchicalEntityOptionalParameter updateHierarchicalEntityOptionalParameter,
                                                                                               com.microsoft.rest.ServiceCallback<OperationStatus> serviceCallback)
        Updates the name of a hierarchical entity model in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        hEntityId - The hierarchical entity extractor ID.
        updateHierarchicalEntityOptionalParameter - the object representing the optional parameters to be set before calling this API
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • updateHierarchicalEntityAsync

        public rx.Observable<OperationStatus> updateHierarchicalEntityAsync​(UUID appId,
                                                                            String versionId,
                                                                            UUID hEntityId,
                                                                            UpdateHierarchicalEntityOptionalParameter updateHierarchicalEntityOptionalParameter)
        Updates the name of a hierarchical entity model in a version of the application.
        Specified by:
        updateHierarchicalEntityAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        hEntityId - The hierarchical entity extractor ID.
        updateHierarchicalEntityOptionalParameter - 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
      • updateHierarchicalEntityWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> updateHierarchicalEntityWithServiceResponseAsync​(UUID appId,
                                                                                                                                   String versionId,
                                                                                                                                   UUID hEntityId,
                                                                                                                                   UpdateHierarchicalEntityOptionalParameter updateHierarchicalEntityOptionalParameter)
        Updates the name of a hierarchical entity model in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        hEntityId - The hierarchical entity extractor ID.
        updateHierarchicalEntityOptionalParameter - 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
      • updateHierarchicalEntityWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> updateHierarchicalEntityWithServiceResponseAsync​(UUID appId,
                                                                                                                                   String versionId,
                                                                                                                                   UUID hEntityId,
                                                                                                                                   String name)
        Updates the name of a hierarchical entity model in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        hEntityId - The hierarchical entity extractor ID.
        name - The entity's new name.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • updateHierarchicalEntity

        public com.microsoft.azure.cognitiveservices.language.luis.authoring.implementation.ModelsImpl.ModelsUpdateHierarchicalEntityParameters updateHierarchicalEntity()
        Description copied from interface: Models
        Updates the name of a hierarchical entity model in a version of the application.
        Specified by:
        updateHierarchicalEntity in interface Models
        Returns:
        the first stage of the updateHierarchicalEntity call
      • deleteHierarchicalEntity

        public OperationStatus deleteHierarchicalEntity​(UUID appId,
                                                        String versionId,
                                                        UUID hEntityId)
        Deletes a hierarchical entity from a version of the application.
        Specified by:
        deleteHierarchicalEntity in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        hEntityId - The hierarchical entity extractor ID.
        Returns:
        the OperationStatus object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • deleteHierarchicalEntityAsync

        public com.microsoft.rest.ServiceFuture<OperationStatus> deleteHierarchicalEntityAsync​(UUID appId,
                                                                                               String versionId,
                                                                                               UUID hEntityId,
                                                                                               com.microsoft.rest.ServiceCallback<OperationStatus> serviceCallback)
        Deletes a hierarchical entity from a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        hEntityId - The hierarchical entity extractor ID.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • deleteHierarchicalEntityAsync

        public rx.Observable<OperationStatus> deleteHierarchicalEntityAsync​(UUID appId,
                                                                            String versionId,
                                                                            UUID hEntityId)
        Deletes a hierarchical entity from a version of the application.
        Specified by:
        deleteHierarchicalEntityAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        hEntityId - The hierarchical entity extractor ID.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • deleteHierarchicalEntityWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> deleteHierarchicalEntityWithServiceResponseAsync​(UUID appId,
                                                                                                                                   String versionId,
                                                                                                                                   UUID hEntityId)
        Deletes a hierarchical entity from a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        hEntityId - The hierarchical entity extractor ID.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getCompositeEntity

        public CompositeEntityExtractor getCompositeEntity​(UUID appId,
                                                           String versionId,
                                                           UUID cEntityId)
        Gets information about a composite entity in a version of the application.
        Specified by:
        getCompositeEntity in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        cEntityId - The composite entity extractor ID.
        Returns:
        the CompositeEntityExtractor object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • getCompositeEntityAsync

        public com.microsoft.rest.ServiceFuture<CompositeEntityExtractor> getCompositeEntityAsync​(UUID appId,
                                                                                                  String versionId,
                                                                                                  UUID cEntityId,
                                                                                                  com.microsoft.rest.ServiceCallback<CompositeEntityExtractor> serviceCallback)
        Gets information about a composite entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        cEntityId - The composite entity extractor ID.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getCompositeEntityAsync

        public rx.Observable<CompositeEntityExtractor> getCompositeEntityAsync​(UUID appId,
                                                                               String versionId,
                                                                               UUID cEntityId)
        Gets information about a composite entity in a version of the application.
        Specified by:
        getCompositeEntityAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        cEntityId - The composite entity extractor ID.
        Returns:
        the observable to the CompositeEntityExtractor object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getCompositeEntityWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<CompositeEntityExtractor>> getCompositeEntityWithServiceResponseAsync​(UUID appId,
                                                                                                                                      String versionId,
                                                                                                                                      UUID cEntityId)
        Gets information about a composite entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        cEntityId - The composite entity extractor ID.
        Returns:
        the observable to the CompositeEntityExtractor object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • updateCompositeEntity

        public OperationStatus updateCompositeEntity​(UUID appId,
                                                     String versionId,
                                                     UUID cEntityId,
                                                     CompositeEntityModel compositeModelUpdateObject)
        Updates a composite entity in a version of the application.
        Specified by:
        updateCompositeEntity in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        cEntityId - The composite entity extractor ID.
        compositeModelUpdateObject - A model object containing the new entity extractor name and children.
        Returns:
        the OperationStatus object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • updateCompositeEntityAsync

        public com.microsoft.rest.ServiceFuture<OperationStatus> updateCompositeEntityAsync​(UUID appId,
                                                                                            String versionId,
                                                                                            UUID cEntityId,
                                                                                            CompositeEntityModel compositeModelUpdateObject,
                                                                                            com.microsoft.rest.ServiceCallback<OperationStatus> serviceCallback)
        Updates a composite entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        cEntityId - The composite entity extractor ID.
        compositeModelUpdateObject - A model object containing the new entity extractor name and children.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • updateCompositeEntityAsync

        public rx.Observable<OperationStatus> updateCompositeEntityAsync​(UUID appId,
                                                                         String versionId,
                                                                         UUID cEntityId,
                                                                         CompositeEntityModel compositeModelUpdateObject)
        Updates a composite entity in a version of the application.
        Specified by:
        updateCompositeEntityAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        cEntityId - The composite entity extractor ID.
        compositeModelUpdateObject - A model object containing the new entity extractor name and children.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • updateCompositeEntityWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> updateCompositeEntityWithServiceResponseAsync​(UUID appId,
                                                                                                                                String versionId,
                                                                                                                                UUID cEntityId,
                                                                                                                                CompositeEntityModel compositeModelUpdateObject)
        Updates a composite entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        cEntityId - The composite entity extractor ID.
        compositeModelUpdateObject - A model object containing the new entity extractor name and children.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • deleteCompositeEntity

        public OperationStatus deleteCompositeEntity​(UUID appId,
                                                     String versionId,
                                                     UUID cEntityId)
        Deletes a composite entity from a version of the application.
        Specified by:
        deleteCompositeEntity in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        cEntityId - The composite entity extractor ID.
        Returns:
        the OperationStatus object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • deleteCompositeEntityAsync

        public com.microsoft.rest.ServiceFuture<OperationStatus> deleteCompositeEntityAsync​(UUID appId,
                                                                                            String versionId,
                                                                                            UUID cEntityId,
                                                                                            com.microsoft.rest.ServiceCallback<OperationStatus> serviceCallback)
        Deletes a composite entity from a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        cEntityId - The composite entity extractor ID.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • deleteCompositeEntityAsync

        public rx.Observable<OperationStatus> deleteCompositeEntityAsync​(UUID appId,
                                                                         String versionId,
                                                                         UUID cEntityId)
        Deletes a composite entity from a version of the application.
        Specified by:
        deleteCompositeEntityAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        cEntityId - The composite entity extractor ID.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • deleteCompositeEntityWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> deleteCompositeEntityWithServiceResponseAsync​(UUID appId,
                                                                                                                                String versionId,
                                                                                                                                UUID cEntityId)
        Deletes a composite entity from a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        cEntityId - The composite entity extractor ID.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getClosedList

        public ClosedListEntityExtractor getClosedList​(UUID appId,
                                                       String versionId,
                                                       UUID clEntityId)
        Gets information about a list entity in a version of the application.
        Specified by:
        getClosedList in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        clEntityId - The list model ID.
        Returns:
        the ClosedListEntityExtractor object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • getClosedListAsync

        public com.microsoft.rest.ServiceFuture<ClosedListEntityExtractor> getClosedListAsync​(UUID appId,
                                                                                              String versionId,
                                                                                              UUID clEntityId,
                                                                                              com.microsoft.rest.ServiceCallback<ClosedListEntityExtractor> serviceCallback)
        Gets information about a list entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        clEntityId - The list model ID.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getClosedListAsync

        public rx.Observable<ClosedListEntityExtractor> getClosedListAsync​(UUID appId,
                                                                           String versionId,
                                                                           UUID clEntityId)
        Gets information about a list entity in a version of the application.
        Specified by:
        getClosedListAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        clEntityId - The list model ID.
        Returns:
        the observable to the ClosedListEntityExtractor object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getClosedListWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<ClosedListEntityExtractor>> getClosedListWithServiceResponseAsync​(UUID appId,
                                                                                                                                  String versionId,
                                                                                                                                  UUID clEntityId)
        Gets information about a list entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        clEntityId - The list model ID.
        Returns:
        the observable to the ClosedListEntityExtractor object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • updateClosedList

        public OperationStatus updateClosedList​(UUID appId,
                                                String versionId,
                                                UUID clEntityId,
                                                ClosedListModelUpdateObject closedListModelUpdateObject)
        Updates the list entity in a version of the application.
        Specified by:
        updateClosedList in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        clEntityId - The list model ID.
        closedListModelUpdateObject - The new list entity name and words list.
        Returns:
        the OperationStatus object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • updateClosedListAsync

        public com.microsoft.rest.ServiceFuture<OperationStatus> updateClosedListAsync​(UUID appId,
                                                                                       String versionId,
                                                                                       UUID clEntityId,
                                                                                       ClosedListModelUpdateObject closedListModelUpdateObject,
                                                                                       com.microsoft.rest.ServiceCallback<OperationStatus> serviceCallback)
        Updates the list entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        clEntityId - The list model ID.
        closedListModelUpdateObject - The new list entity name and words list.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • updateClosedListAsync

        public rx.Observable<OperationStatus> updateClosedListAsync​(UUID appId,
                                                                    String versionId,
                                                                    UUID clEntityId,
                                                                    ClosedListModelUpdateObject closedListModelUpdateObject)
        Updates the list entity in a version of the application.
        Specified by:
        updateClosedListAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        clEntityId - The list model ID.
        closedListModelUpdateObject - The new list entity name and words list.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • updateClosedListWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> updateClosedListWithServiceResponseAsync​(UUID appId,
                                                                                                                           String versionId,
                                                                                                                           UUID clEntityId,
                                                                                                                           ClosedListModelUpdateObject closedListModelUpdateObject)
        Updates the list entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        clEntityId - The list model ID.
        closedListModelUpdateObject - The new list entity name and words list.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • 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.
        Specified by:
        patchClosedList in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        clEntityId - The list entity model ID.
        patchClosedListOptionalParameter - 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 validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • patchClosedListAsync

        public com.microsoft.rest.ServiceFuture<OperationStatus> patchClosedListAsync​(UUID appId,
                                                                                      String versionId,
                                                                                      UUID clEntityId,
                                                                                      PatchClosedListOptionalParameter patchClosedListOptionalParameter,
                                                                                      com.microsoft.rest.ServiceCallback<OperationStatus> serviceCallback)
        Adds a batch of sublists to an existing list entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        clEntityId - The list entity model ID.
        patchClosedListOptionalParameter - the object representing the optional parameters to be set before calling this API
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • patchClosedListAsync

        public rx.Observable<OperationStatus> patchClosedListAsync​(UUID appId,
                                                                   String versionId,
                                                                   UUID clEntityId,
                                                                   PatchClosedListOptionalParameter patchClosedListOptionalParameter)
        Adds a batch of sublists to an existing list entity in a version of the application.
        Specified by:
        patchClosedListAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        clEntityId - The list entity model ID.
        patchClosedListOptionalParameter - 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
      • patchClosedListWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> patchClosedListWithServiceResponseAsync​(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:
        appId - The application ID.
        versionId - The version ID.
        clEntityId - The list entity model ID.
        patchClosedListOptionalParameter - 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
      • patchClosedListWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> patchClosedListWithServiceResponseAsync​(UUID appId,
                                                                                                                          String versionId,
                                                                                                                          UUID clEntityId,
                                                                                                                          List<WordListObject> subLists)
        Adds a batch of sublists to an existing list entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        clEntityId - The list entity model ID.
        subLists - Sublists to add.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • patchClosedList

        public com.microsoft.azure.cognitiveservices.language.luis.authoring.implementation.ModelsImpl.ModelsPatchClosedListParameters patchClosedList()
        Description copied from interface: Models
        Adds a batch of sublists to an existing list entity in a version of the application.
        Specified by:
        patchClosedList in interface Models
        Returns:
        the first stage of the patchClosedList call
      • deleteClosedList

        public OperationStatus deleteClosedList​(UUID appId,
                                                String versionId,
                                                UUID clEntityId)
        Deletes a list entity model from a version of the application.
        Specified by:
        deleteClosedList in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        clEntityId - The list entity model ID.
        Returns:
        the OperationStatus object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • deleteClosedListAsync

        public com.microsoft.rest.ServiceFuture<OperationStatus> deleteClosedListAsync​(UUID appId,
                                                                                       String versionId,
                                                                                       UUID clEntityId,
                                                                                       com.microsoft.rest.ServiceCallback<OperationStatus> serviceCallback)
        Deletes a list entity model from a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        clEntityId - The list entity model ID.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • deleteClosedListAsync

        public rx.Observable<OperationStatus> deleteClosedListAsync​(UUID appId,
                                                                    String versionId,
                                                                    UUID clEntityId)
        Deletes a list entity model from a version of the application.
        Specified by:
        deleteClosedListAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        clEntityId - The list entity model ID.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • deleteClosedListWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> deleteClosedListWithServiceResponseAsync​(UUID appId,
                                                                                                                           String versionId,
                                                                                                                           UUID clEntityId)
        Deletes a list entity model from a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        clEntityId - The list entity model ID.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getPrebuilt

        public PrebuiltEntityExtractor getPrebuilt​(UUID appId,
                                                   String versionId,
                                                   UUID prebuiltId)
        Gets information about a prebuilt entity model in a version of the application.
        Specified by:
        getPrebuilt in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        prebuiltId - The prebuilt entity extractor ID.
        Returns:
        the PrebuiltEntityExtractor object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • getPrebuiltAsync

        public com.microsoft.rest.ServiceFuture<PrebuiltEntityExtractor> getPrebuiltAsync​(UUID appId,
                                                                                          String versionId,
                                                                                          UUID prebuiltId,
                                                                                          com.microsoft.rest.ServiceCallback<PrebuiltEntityExtractor> serviceCallback)
        Gets information about a prebuilt entity model in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        prebuiltId - The prebuilt entity extractor ID.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getPrebuiltAsync

        public rx.Observable<PrebuiltEntityExtractor> getPrebuiltAsync​(UUID appId,
                                                                       String versionId,
                                                                       UUID prebuiltId)
        Gets information about a prebuilt entity model in a version of the application.
        Specified by:
        getPrebuiltAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        prebuiltId - The prebuilt entity extractor ID.
        Returns:
        the observable to the PrebuiltEntityExtractor object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getPrebuiltWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<PrebuiltEntityExtractor>> getPrebuiltWithServiceResponseAsync​(UUID appId,
                                                                                                                              String versionId,
                                                                                                                              UUID prebuiltId)
        Gets information about a prebuilt entity model in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        prebuiltId - The prebuilt entity extractor ID.
        Returns:
        the observable to the PrebuiltEntityExtractor object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • deletePrebuilt

        public OperationStatus deletePrebuilt​(UUID appId,
                                              String versionId,
                                              UUID prebuiltId)
        Deletes a prebuilt entity extractor from a version of the application.
        Specified by:
        deletePrebuilt in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        prebuiltId - The prebuilt entity extractor ID.
        Returns:
        the OperationStatus object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • deletePrebuiltAsync

        public com.microsoft.rest.ServiceFuture<OperationStatus> deletePrebuiltAsync​(UUID appId,
                                                                                     String versionId,
                                                                                     UUID prebuiltId,
                                                                                     com.microsoft.rest.ServiceCallback<OperationStatus> serviceCallback)
        Deletes a prebuilt entity extractor from a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        prebuiltId - The prebuilt entity extractor ID.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • deletePrebuiltAsync

        public rx.Observable<OperationStatus> deletePrebuiltAsync​(UUID appId,
                                                                  String versionId,
                                                                  UUID prebuiltId)
        Deletes a prebuilt entity extractor from a version of the application.
        Specified by:
        deletePrebuiltAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        prebuiltId - The prebuilt entity extractor ID.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • deletePrebuiltWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> deletePrebuiltWithServiceResponseAsync​(UUID appId,
                                                                                                                         String versionId,
                                                                                                                         UUID prebuiltId)
        Deletes a prebuilt entity extractor from a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        prebuiltId - The prebuilt entity extractor ID.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • 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.
        Specified by:
        deleteSubList in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        clEntityId - The list entity extractor ID.
        subListId - The sublist ID.
        Returns:
        the OperationStatus object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • deleteSubListAsync

        public com.microsoft.rest.ServiceFuture<OperationStatus> deleteSubListAsync​(UUID appId,
                                                                                    String versionId,
                                                                                    UUID clEntityId,
                                                                                    long subListId,
                                                                                    com.microsoft.rest.ServiceCallback<OperationStatus> serviceCallback)
        Deletes a sublist of a specific list entity model from a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        clEntityId - The list entity extractor ID.
        subListId - The sublist ID.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • deleteSubListAsync

        public rx.Observable<OperationStatus> deleteSubListAsync​(UUID appId,
                                                                 String versionId,
                                                                 UUID clEntityId,
                                                                 long subListId)
        Deletes a sublist of a specific list entity model from a version of the application.
        Specified by:
        deleteSubListAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        clEntityId - The list entity extractor ID.
        subListId - The sublist ID.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • deleteSubListWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> deleteSubListWithServiceResponseAsync​(UUID appId,
                                                                                                                        String versionId,
                                                                                                                        UUID clEntityId,
                                                                                                                        long subListId)
        Deletes a sublist of a specific list entity model from a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        clEntityId - The list entity extractor ID.
        subListId - The sublist ID.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • 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.
        Specified by:
        updateSubList in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        clEntityId - The list entity extractor ID.
        subListId - The sublist ID.
        wordListBaseUpdateObject - A sublist update object containing the new canonical form and the list of words.
        Returns:
        the OperationStatus object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • updateSubListAsync

        public com.microsoft.rest.ServiceFuture<OperationStatus> updateSubListAsync​(UUID appId,
                                                                                    String versionId,
                                                                                    UUID clEntityId,
                                                                                    long subListId,
                                                                                    WordListBaseUpdateObject wordListBaseUpdateObject,
                                                                                    com.microsoft.rest.ServiceCallback<OperationStatus> serviceCallback)
        Updates one of the list entity's sublists in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        clEntityId - The list entity extractor ID.
        subListId - The sublist ID.
        wordListBaseUpdateObject - A sublist update object containing the new canonical form and the list of words.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • updateSubListAsync

        public rx.Observable<OperationStatus> updateSubListAsync​(UUID appId,
                                                                 String versionId,
                                                                 UUID clEntityId,
                                                                 long subListId,
                                                                 WordListBaseUpdateObject wordListBaseUpdateObject)
        Updates one of the list entity's sublists in a version of the application.
        Specified by:
        updateSubListAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        clEntityId - The list entity extractor ID.
        subListId - The sublist ID.
        wordListBaseUpdateObject - A sublist update object containing the new canonical form and the list of words.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • updateSubListWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> updateSubListWithServiceResponseAsync​(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:
        appId - The application ID.
        versionId - The version ID.
        clEntityId - The list entity extractor ID.
        subListId - The sublist ID.
        wordListBaseUpdateObject - A sublist update object containing the new canonical form and the list of words.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listIntentSuggestions

        public List<IntentsSuggestionExample> listIntentSuggestions​(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.
        Specified by:
        listIntentSuggestions in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        intentId - The intent classifier ID.
        listIntentSuggestionsOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the List<IntentsSuggestionExample> object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • listIntentSuggestionsAsync

        public com.microsoft.rest.ServiceFuture<List<IntentsSuggestionExample>> listIntentSuggestionsAsync​(UUID appId,
                                                                                                           String versionId,
                                                                                                           UUID intentId,
                                                                                                           ListIntentSuggestionsOptionalParameter listIntentSuggestionsOptionalParameter,
                                                                                                           com.microsoft.rest.ServiceCallback<List<IntentsSuggestionExample>> serviceCallback)
        Suggests example utterances that would improve the accuracy of the intent model in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        intentId - The intent classifier ID.
        listIntentSuggestionsOptionalParameter - the object representing the optional parameters to be set before calling this API
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listIntentSuggestionsAsync

        public rx.Observable<List<IntentsSuggestionExample>> 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.
        Specified by:
        listIntentSuggestionsAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        intentId - The intent classifier ID.
        listIntentSuggestionsOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the observable to the List<IntentsSuggestionExample> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listIntentSuggestionsWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<List<IntentsSuggestionExample>>> listIntentSuggestionsWithServiceResponseAsync​(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:
        appId - The application ID.
        versionId - The version ID.
        intentId - The intent classifier ID.
        listIntentSuggestionsOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the observable to the List<IntentsSuggestionExample> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listIntentSuggestionsWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<List<IntentsSuggestionExample>>> listIntentSuggestionsWithServiceResponseAsync​(UUID appId,
                                                                                                                                               String versionId,
                                                                                                                                               UUID intentId,
                                                                                                                                               Integer take,
                                                                                                                                               Boolean enableNestedChildren)
        Suggests example utterances that would improve the accuracy of the intent model in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        intentId - The intent classifier ID.
        take - The number of entries to return. Maximum page size is 500. Default is 100.
        enableNestedChildren - Toggles nested/flat format
        Returns:
        the observable to the List<IntentsSuggestionExample> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listIntentSuggestions

        public com.microsoft.azure.cognitiveservices.language.luis.authoring.implementation.ModelsImpl.ModelsListIntentSuggestionsParameters listIntentSuggestions()
        Description copied from interface: Models
        Suggests example utterances that would improve the accuracy of the intent model in a version of the application.
        Specified by:
        listIntentSuggestions in interface Models
        Returns:
        the first stage of the listIntentSuggestions call
      • listEntitySuggestions

        public List<EntitiesSuggestionExample> listEntitySuggestions​(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.
        Specified by:
        listEntitySuggestions in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The target entity extractor model to enhance.
        listEntitySuggestionsOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the List<EntitiesSuggestionExample> object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • listEntitySuggestionsAsync

        public com.microsoft.rest.ServiceFuture<List<EntitiesSuggestionExample>> listEntitySuggestionsAsync​(UUID appId,
                                                                                                            String versionId,
                                                                                                            UUID entityId,
                                                                                                            ListEntitySuggestionsOptionalParameter listEntitySuggestionsOptionalParameter,
                                                                                                            com.microsoft.rest.ServiceCallback<List<EntitiesSuggestionExample>> serviceCallback)
        Get suggested example utterances that would improve the accuracy of the entity model in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The target entity extractor model to enhance.
        listEntitySuggestionsOptionalParameter - the object representing the optional parameters to be set before calling this API
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listEntitySuggestionsAsync

        public rx.Observable<List<EntitiesSuggestionExample>> 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.
        Specified by:
        listEntitySuggestionsAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The target entity extractor model to enhance.
        listEntitySuggestionsOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the observable to the List<EntitiesSuggestionExample> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listEntitySuggestionsWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<List<EntitiesSuggestionExample>>> listEntitySuggestionsWithServiceResponseAsync​(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:
        appId - The application ID.
        versionId - The version ID.
        entityId - The target entity extractor model to enhance.
        listEntitySuggestionsOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the observable to the List<EntitiesSuggestionExample> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listEntitySuggestionsWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<List<EntitiesSuggestionExample>>> listEntitySuggestionsWithServiceResponseAsync​(UUID appId,
                                                                                                                                                String versionId,
                                                                                                                                                UUID entityId,
                                                                                                                                                Integer take,
                                                                                                                                                Boolean enableNestedChildren)
        Get suggested example utterances that would improve the accuracy of the entity model in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The target entity extractor model to enhance.
        take - The number of entries to return. Maximum page size is 500. Default is 100.
        enableNestedChildren - Toggles nested/flat format
        Returns:
        the observable to the List<EntitiesSuggestionExample> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listEntitySuggestions

        public com.microsoft.azure.cognitiveservices.language.luis.authoring.implementation.ModelsImpl.ModelsListEntitySuggestionsParameters listEntitySuggestions()
        Description copied from interface: Models
        Get suggested example utterances that would improve the accuracy of the entity model in a version of the application.
        Specified by:
        listEntitySuggestions in interface Models
        Returns:
        the first stage of the listEntitySuggestions call
      • 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.
        Specified by:
        addSubList in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        clEntityId - The list entity extractor ID.
        wordListCreateObject - Words list.
        Returns:
        the long object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • addSubListAsync

        public com.microsoft.rest.ServiceFuture<Long> addSubListAsync​(UUID appId,
                                                                      String versionId,
                                                                      UUID clEntityId,
                                                                      WordListObject wordListCreateObject,
                                                                      com.microsoft.rest.ServiceCallback<Long> serviceCallback)
        Adds a sublist to an existing list entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        clEntityId - The list entity extractor ID.
        wordListCreateObject - Words list.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • addSubListAsync

        public rx.Observable<Long> addSubListAsync​(UUID appId,
                                                   String versionId,
                                                   UUID clEntityId,
                                                   WordListObject wordListCreateObject)
        Adds a sublist to an existing list entity in a version of the application.
        Specified by:
        addSubListAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        clEntityId - The list entity extractor ID.
        wordListCreateObject - Words list.
        Returns:
        the observable to the Long object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • addSubListWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<Long>> addSubListWithServiceResponseAsync​(UUID appId,
                                                                                                          String versionId,
                                                                                                          UUID clEntityId,
                                                                                                          WordListObject wordListCreateObject)
        Adds a sublist to an existing list entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        clEntityId - The list entity extractor ID.
        wordListCreateObject - Words list.
        Returns:
        the observable to the Long object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • addCustomPrebuiltDomain

        public List<UUID> addCustomPrebuiltDomain​(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.
        Specified by:
        addCustomPrebuiltDomain in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        addCustomPrebuiltDomainOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the List<UUID> object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • addCustomPrebuiltDomainAsync

        public com.microsoft.rest.ServiceFuture<List<UUID>> addCustomPrebuiltDomainAsync​(UUID appId,
                                                                                         String versionId,
                                                                                         AddCustomPrebuiltDomainModelsOptionalParameter addCustomPrebuiltDomainOptionalParameter,
                                                                                         com.microsoft.rest.ServiceCallback<List<UUID>> serviceCallback)
        Adds a customizable prebuilt domain along with all of its intent and entity models in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        addCustomPrebuiltDomainOptionalParameter - the object representing the optional parameters to be set before calling this API
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • addCustomPrebuiltDomainAsync

        public rx.Observable<List<UUID>> 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.
        Specified by:
        addCustomPrebuiltDomainAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        addCustomPrebuiltDomainOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the observable to the List<UUID> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • addCustomPrebuiltDomainWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<List<UUID>>> addCustomPrebuiltDomainWithServiceResponseAsync​(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:
        appId - The application ID.
        versionId - The version ID.
        addCustomPrebuiltDomainOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the observable to the List<UUID> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • addCustomPrebuiltDomainWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<List<UUID>>> addCustomPrebuiltDomainWithServiceResponseAsync​(UUID appId,
                                                                                                                             String versionId,
                                                                                                                             String domainName)
        Adds a customizable prebuilt domain along with all of its intent and entity models in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        domainName - The domain name.
        Returns:
        the observable to the List<UUID> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • addCustomPrebuiltDomain

        public com.microsoft.azure.cognitiveservices.language.luis.authoring.implementation.ModelsImpl.ModelsAddCustomPrebuiltDomainParameters addCustomPrebuiltDomain()
        Description copied from interface: Models
        Adds a customizable prebuilt domain along with all of its intent and entity models in a version of the application.
        Specified by:
        addCustomPrebuiltDomain in interface Models
        Returns:
        the first stage of the addCustomPrebuiltDomain call
      • addCustomPrebuiltIntent

        public UUID addCustomPrebuiltIntent​(UUID appId,
                                            String versionId,
                                            PrebuiltDomainModelCreateObject prebuiltDomainModelCreateObject)
        Adds a customizable prebuilt intent model to a version of the application.
        Specified by:
        addCustomPrebuiltIntent in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        prebuiltDomainModelCreateObject - A model object containing the name of the customizable prebuilt intent and the name of the domain to which this model belongs.
        Returns:
        the UUID object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • addCustomPrebuiltIntentAsync

        public com.microsoft.rest.ServiceFuture<UUID> addCustomPrebuiltIntentAsync​(UUID appId,
                                                                                   String versionId,
                                                                                   PrebuiltDomainModelCreateObject prebuiltDomainModelCreateObject,
                                                                                   com.microsoft.rest.ServiceCallback<UUID> serviceCallback)
        Adds a customizable prebuilt intent model to a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        prebuiltDomainModelCreateObject - A model object containing the name of the customizable prebuilt intent and the name of the domain to which this model belongs.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • addCustomPrebuiltIntentAsync

        public rx.Observable<UUID> addCustomPrebuiltIntentAsync​(UUID appId,
                                                                String versionId,
                                                                PrebuiltDomainModelCreateObject prebuiltDomainModelCreateObject)
        Adds a customizable prebuilt intent model to a version of the application.
        Specified by:
        addCustomPrebuiltIntentAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        prebuiltDomainModelCreateObject - A model object containing the name of the customizable prebuilt intent and the name of the domain to which this model belongs.
        Returns:
        the observable to the UUID object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • addCustomPrebuiltIntentWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<UUID>> addCustomPrebuiltIntentWithServiceResponseAsync​(UUID appId,
                                                                                                                       String versionId,
                                                                                                                       PrebuiltDomainModelCreateObject prebuiltDomainModelCreateObject)
        Adds a customizable prebuilt intent model to a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        prebuiltDomainModelCreateObject - A model object containing the name of the customizable prebuilt intent and the name of the domain to which this model belongs.
        Returns:
        the observable to the UUID object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listCustomPrebuiltIntents

        public List<IntentClassifier> listCustomPrebuiltIntents​(UUID appId,
                                                                String versionId)
        Gets information about customizable prebuilt intents added to a version of the application.
        Specified by:
        listCustomPrebuiltIntents in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        Returns:
        the List<IntentClassifier> object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • listCustomPrebuiltIntentsAsync

        public com.microsoft.rest.ServiceFuture<List<IntentClassifier>> listCustomPrebuiltIntentsAsync​(UUID appId,
                                                                                                       String versionId,
                                                                                                       com.microsoft.rest.ServiceCallback<List<IntentClassifier>> serviceCallback)
        Gets information about customizable prebuilt intents added to a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listCustomPrebuiltIntentsAsync

        public rx.Observable<List<IntentClassifier>> listCustomPrebuiltIntentsAsync​(UUID appId,
                                                                                    String versionId)
        Gets information about customizable prebuilt intents added to a version of the application.
        Specified by:
        listCustomPrebuiltIntentsAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        Returns:
        the observable to the List<IntentClassifier> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listCustomPrebuiltIntentsWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<List<IntentClassifier>>> listCustomPrebuiltIntentsWithServiceResponseAsync​(UUID appId,
                                                                                                                                           String versionId)
        Gets information about customizable prebuilt intents added to a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        Returns:
        the observable to the List<IntentClassifier> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • addCustomPrebuiltEntity

        public UUID addCustomPrebuiltEntity​(UUID appId,
                                            String versionId,
                                            PrebuiltDomainModelCreateObject prebuiltDomainModelCreateObject)
        Adds a prebuilt entity model to a version of the application.
        Specified by:
        addCustomPrebuiltEntity in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        prebuiltDomainModelCreateObject - A model object containing the name of the prebuilt entity and the name of the domain to which this model belongs.
        Returns:
        the UUID object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • addCustomPrebuiltEntityAsync

        public com.microsoft.rest.ServiceFuture<UUID> addCustomPrebuiltEntityAsync​(UUID appId,
                                                                                   String versionId,
                                                                                   PrebuiltDomainModelCreateObject prebuiltDomainModelCreateObject,
                                                                                   com.microsoft.rest.ServiceCallback<UUID> serviceCallback)
        Adds a prebuilt entity model to a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        prebuiltDomainModelCreateObject - A model object containing the name of the prebuilt entity and the name of the domain to which this model belongs.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • addCustomPrebuiltEntityAsync

        public rx.Observable<UUID> addCustomPrebuiltEntityAsync​(UUID appId,
                                                                String versionId,
                                                                PrebuiltDomainModelCreateObject prebuiltDomainModelCreateObject)
        Adds a prebuilt entity model to a version of the application.
        Specified by:
        addCustomPrebuiltEntityAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        prebuiltDomainModelCreateObject - A model object containing the name of the prebuilt entity and the name of the domain to which this model belongs.
        Returns:
        the observable to the UUID object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • addCustomPrebuiltEntityWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<UUID>> addCustomPrebuiltEntityWithServiceResponseAsync​(UUID appId,
                                                                                                                       String versionId,
                                                                                                                       PrebuiltDomainModelCreateObject prebuiltDomainModelCreateObject)
        Adds a prebuilt entity model to a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        prebuiltDomainModelCreateObject - A model object containing the name of the prebuilt entity and the name of the domain to which this model belongs.
        Returns:
        the observable to the UUID object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listCustomPrebuiltEntitiesAsync

        public com.microsoft.rest.ServiceFuture<List<EntityExtractor>> listCustomPrebuiltEntitiesAsync​(UUID appId,
                                                                                                       String versionId,
                                                                                                       com.microsoft.rest.ServiceCallback<List<EntityExtractor>> serviceCallback)
        Gets all prebuilt entities used in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listCustomPrebuiltEntitiesAsync

        public rx.Observable<List<EntityExtractor>> listCustomPrebuiltEntitiesAsync​(UUID appId,
                                                                                    String versionId)
        Gets all prebuilt entities used in a version of the application.
        Specified by:
        listCustomPrebuiltEntitiesAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        Returns:
        the observable to the List<EntityExtractor> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listCustomPrebuiltEntitiesWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<List<EntityExtractor>>> listCustomPrebuiltEntitiesWithServiceResponseAsync​(UUID appId,
                                                                                                                                           String versionId)
        Gets all prebuilt entities used in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        Returns:
        the observable to the List<EntityExtractor> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listCustomPrebuiltModels

        public List<CustomPrebuiltModel> listCustomPrebuiltModels​(UUID appId,
                                                                  String versionId)
        Gets all prebuilt intent and entity model information used in a version of this application.
        Specified by:
        listCustomPrebuiltModels in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        Returns:
        the List<CustomPrebuiltModel> object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • listCustomPrebuiltModelsAsync

        public com.microsoft.rest.ServiceFuture<List<CustomPrebuiltModel>> listCustomPrebuiltModelsAsync​(UUID appId,
                                                                                                         String versionId,
                                                                                                         com.microsoft.rest.ServiceCallback<List<CustomPrebuiltModel>> serviceCallback)
        Gets all prebuilt intent and entity model information used in a version of this application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listCustomPrebuiltModelsAsync

        public rx.Observable<List<CustomPrebuiltModel>> listCustomPrebuiltModelsAsync​(UUID appId,
                                                                                      String versionId)
        Gets all prebuilt intent and entity model information used in a version of this application.
        Specified by:
        listCustomPrebuiltModelsAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        Returns:
        the observable to the List<CustomPrebuiltModel> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listCustomPrebuiltModelsWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<List<CustomPrebuiltModel>>> listCustomPrebuiltModelsWithServiceResponseAsync​(UUID appId,
                                                                                                                                             String versionId)
        Gets all prebuilt intent and entity model information used in a version of this application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        Returns:
        the observable to the List<CustomPrebuiltModel> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • deleteCustomPrebuiltDomain

        public OperationStatus deleteCustomPrebuiltDomain​(UUID appId,
                                                          String versionId,
                                                          String domainName)
        Deletes a prebuilt domain's models in a version of the application.
        Specified by:
        deleteCustomPrebuiltDomain in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        domainName - Domain name.
        Returns:
        the OperationStatus object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • deleteCustomPrebuiltDomainAsync

        public com.microsoft.rest.ServiceFuture<OperationStatus> deleteCustomPrebuiltDomainAsync​(UUID appId,
                                                                                                 String versionId,
                                                                                                 String domainName,
                                                                                                 com.microsoft.rest.ServiceCallback<OperationStatus> serviceCallback)
        Deletes a prebuilt domain's models in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        domainName - Domain name.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • deleteCustomPrebuiltDomainAsync

        public rx.Observable<OperationStatus> deleteCustomPrebuiltDomainAsync​(UUID appId,
                                                                              String versionId,
                                                                              String domainName)
        Deletes a prebuilt domain's models in a version of the application.
        Specified by:
        deleteCustomPrebuiltDomainAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        domainName - Domain name.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • deleteCustomPrebuiltDomainWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> deleteCustomPrebuiltDomainWithServiceResponseAsync​(UUID appId,
                                                                                                                                     String versionId,
                                                                                                                                     String domainName)
        Deletes a prebuilt domain's models in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        domainName - Domain name.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • 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.
        Specified by:
        addEntityChild in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity extractor ID.
        childEntityModelCreateObject - A model object containing the name of the new child model and its children.
        Returns:
        the UUID object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • addEntityChildAsync

        public com.microsoft.rest.ServiceFuture<UUID> addEntityChildAsync​(UUID appId,
                                                                          String versionId,
                                                                          UUID entityId,
                                                                          ChildEntityModelCreateObject childEntityModelCreateObject,
                                                                          com.microsoft.rest.ServiceCallback<UUID> serviceCallback)
        Creates a single child in an existing entity model hierarchy in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity extractor ID.
        childEntityModelCreateObject - A model object containing the name of the new child model and its children.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • addEntityChildAsync

        public rx.Observable<UUID> addEntityChildAsync​(UUID appId,
                                                       String versionId,
                                                       UUID entityId,
                                                       ChildEntityModelCreateObject childEntityModelCreateObject)
        Creates a single child in an existing entity model hierarchy in a version of the application.
        Specified by:
        addEntityChildAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity extractor ID.
        childEntityModelCreateObject - A model object containing the name of the new child model and its children.
        Returns:
        the observable to the UUID object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • addEntityChildWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<UUID>> addEntityChildWithServiceResponseAsync​(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:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity extractor ID.
        childEntityModelCreateObject - A model object containing the name of the new child model and its children.
        Returns:
        the observable to the UUID object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • 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.
        Specified by:
        getHierarchicalEntityChild in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        hEntityId - The hierarchical entity extractor ID.
        hChildId - The hierarchical entity extractor child ID.
        Returns:
        the HierarchicalChildEntity object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • getHierarchicalEntityChildAsync

        public com.microsoft.rest.ServiceFuture<HierarchicalChildEntity> getHierarchicalEntityChildAsync​(UUID appId,
                                                                                                         String versionId,
                                                                                                         UUID hEntityId,
                                                                                                         UUID hChildId,
                                                                                                         com.microsoft.rest.ServiceCallback<HierarchicalChildEntity> serviceCallback)
        Gets information about the child's model contained in an hierarchical entity child model in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        hEntityId - The hierarchical entity extractor ID.
        hChildId - The hierarchical entity extractor child ID.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getHierarchicalEntityChildAsync

        public rx.Observable<HierarchicalChildEntity> getHierarchicalEntityChildAsync​(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.
        Specified by:
        getHierarchicalEntityChildAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        hEntityId - The hierarchical entity extractor ID.
        hChildId - The hierarchical entity extractor child ID.
        Returns:
        the observable to the HierarchicalChildEntity object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getHierarchicalEntityChildWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<HierarchicalChildEntity>> getHierarchicalEntityChildWithServiceResponseAsync​(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:
        appId - The application ID.
        versionId - The version ID.
        hEntityId - The hierarchical entity extractor ID.
        hChildId - The hierarchical entity extractor child ID.
        Returns:
        the observable to the HierarchicalChildEntity object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • 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.
        Specified by:
        updateHierarchicalEntityChild in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        hEntityId - The hierarchical entity extractor ID.
        hChildId - The hierarchical entity extractor child ID.
        updateHierarchicalEntityChildOptionalParameter - 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 validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • updateHierarchicalEntityChildAsync

        public com.microsoft.rest.ServiceFuture<OperationStatus> updateHierarchicalEntityChildAsync​(UUID appId,
                                                                                                    String versionId,
                                                                                                    UUID hEntityId,
                                                                                                    UUID hChildId,
                                                                                                    UpdateHierarchicalEntityChildOptionalParameter updateHierarchicalEntityChildOptionalParameter,
                                                                                                    com.microsoft.rest.ServiceCallback<OperationStatus> serviceCallback)
        Renames a single child in an existing hierarchical entity model in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        hEntityId - The hierarchical entity extractor ID.
        hChildId - The hierarchical entity extractor child ID.
        updateHierarchicalEntityChildOptionalParameter - the object representing the optional parameters to be set before calling this API
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • updateHierarchicalEntityChildAsync

        public rx.Observable<OperationStatus> updateHierarchicalEntityChildAsync​(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.
        Specified by:
        updateHierarchicalEntityChildAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        hEntityId - The hierarchical entity extractor ID.
        hChildId - The hierarchical entity extractor child ID.
        updateHierarchicalEntityChildOptionalParameter - 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
      • updateHierarchicalEntityChildWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> updateHierarchicalEntityChildWithServiceResponseAsync​(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:
        appId - The application ID.
        versionId - The version ID.
        hEntityId - The hierarchical entity extractor ID.
        hChildId - The hierarchical entity extractor child ID.
        updateHierarchicalEntityChildOptionalParameter - 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
      • updateHierarchicalEntityChildWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> updateHierarchicalEntityChildWithServiceResponseAsync​(UUID appId,
                                                                                                                                        String versionId,
                                                                                                                                        UUID hEntityId,
                                                                                                                                        UUID hChildId,
                                                                                                                                        String name)
        Renames a single child in an existing hierarchical entity model in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        hEntityId - The hierarchical entity extractor ID.
        hChildId - The hierarchical entity extractor child ID.
        name - the String value
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • updateHierarchicalEntityChild

        public com.microsoft.azure.cognitiveservices.language.luis.authoring.implementation.ModelsImpl.ModelsUpdateHierarchicalEntityChildParameters updateHierarchicalEntityChild()
        Description copied from interface: Models
        Renames a single child in an existing hierarchical entity model in a version of the application.
        Specified by:
        updateHierarchicalEntityChild in interface Models
        Returns:
        the first stage of the updateHierarchicalEntityChild call
      • deleteHierarchicalEntityChild

        public OperationStatus deleteHierarchicalEntityChild​(UUID appId,
                                                             String versionId,
                                                             UUID hEntityId,
                                                             UUID hChildId)
        Deletes a hierarchical entity extractor child in a version of the application.
        Specified by:
        deleteHierarchicalEntityChild in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        hEntityId - The hierarchical entity extractor ID.
        hChildId - The hierarchical entity extractor child ID.
        Returns:
        the OperationStatus object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • deleteHierarchicalEntityChildAsync

        public com.microsoft.rest.ServiceFuture<OperationStatus> deleteHierarchicalEntityChildAsync​(UUID appId,
                                                                                                    String versionId,
                                                                                                    UUID hEntityId,
                                                                                                    UUID hChildId,
                                                                                                    com.microsoft.rest.ServiceCallback<OperationStatus> serviceCallback)
        Deletes a hierarchical entity extractor child in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        hEntityId - The hierarchical entity extractor ID.
        hChildId - The hierarchical entity extractor child ID.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • deleteHierarchicalEntityChildAsync

        public rx.Observable<OperationStatus> deleteHierarchicalEntityChildAsync​(UUID appId,
                                                                                 String versionId,
                                                                                 UUID hEntityId,
                                                                                 UUID hChildId)
        Deletes a hierarchical entity extractor child in a version of the application.
        Specified by:
        deleteHierarchicalEntityChildAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        hEntityId - The hierarchical entity extractor ID.
        hChildId - The hierarchical entity extractor child ID.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • deleteHierarchicalEntityChildWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> deleteHierarchicalEntityChildWithServiceResponseAsync​(UUID appId,
                                                                                                                                        String versionId,
                                                                                                                                        UUID hEntityId,
                                                                                                                                        UUID hChildId)
        Deletes a hierarchical entity extractor child in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        hEntityId - The hierarchical entity extractor ID.
        hChildId - The hierarchical entity extractor child ID.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • 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.
        Specified by:
        addCompositeEntityChild in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        cEntityId - The composite entity extractor ID.
        addCompositeEntityChildOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the UUID object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • addCompositeEntityChildAsync

        public com.microsoft.rest.ServiceFuture<UUID> addCompositeEntityChildAsync​(UUID appId,
                                                                                   String versionId,
                                                                                   UUID cEntityId,
                                                                                   AddCompositeEntityChildOptionalParameter addCompositeEntityChildOptionalParameter,
                                                                                   com.microsoft.rest.ServiceCallback<UUID> serviceCallback)
        Creates a single child in an existing composite entity model in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        cEntityId - The composite entity extractor ID.
        addCompositeEntityChildOptionalParameter - the object representing the optional parameters to be set before calling this API
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • addCompositeEntityChildAsync

        public rx.Observable<UUID> addCompositeEntityChildAsync​(UUID appId,
                                                                String versionId,
                                                                UUID cEntityId,
                                                                AddCompositeEntityChildOptionalParameter addCompositeEntityChildOptionalParameter)
        Creates a single child in an existing composite entity model in a version of the application.
        Specified by:
        addCompositeEntityChildAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        cEntityId - The composite entity extractor ID.
        addCompositeEntityChildOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the observable to the UUID object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • addCompositeEntityChildWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<UUID>> addCompositeEntityChildWithServiceResponseAsync​(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:
        appId - The application ID.
        versionId - The version ID.
        cEntityId - The composite entity extractor ID.
        addCompositeEntityChildOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the observable to the UUID object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • addCompositeEntityChildWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<UUID>> addCompositeEntityChildWithServiceResponseAsync​(UUID appId,
                                                                                                                       String versionId,
                                                                                                                       UUID cEntityId,
                                                                                                                       String name)
        Creates a single child in an existing composite entity model in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        cEntityId - The composite entity extractor ID.
        name - the String value
        Returns:
        the observable to the UUID object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • addCompositeEntityChild

        public com.microsoft.azure.cognitiveservices.language.luis.authoring.implementation.ModelsImpl.ModelsAddCompositeEntityChildParameters addCompositeEntityChild()
        Description copied from interface: Models
        Creates a single child in an existing composite entity model in a version of the application.
        Specified by:
        addCompositeEntityChild in interface Models
        Returns:
        the first stage of the addCompositeEntityChild call
      • deleteCompositeEntityChild

        public OperationStatus deleteCompositeEntityChild​(UUID appId,
                                                          String versionId,
                                                          UUID cEntityId,
                                                          UUID cChildId)
        Deletes a composite entity extractor child from a version of the application.
        Specified by:
        deleteCompositeEntityChild in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        cEntityId - The composite entity extractor ID.
        cChildId - The hierarchical entity extractor child ID.
        Returns:
        the OperationStatus object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • deleteCompositeEntityChildAsync

        public com.microsoft.rest.ServiceFuture<OperationStatus> deleteCompositeEntityChildAsync​(UUID appId,
                                                                                                 String versionId,
                                                                                                 UUID cEntityId,
                                                                                                 UUID cChildId,
                                                                                                 com.microsoft.rest.ServiceCallback<OperationStatus> serviceCallback)
        Deletes a composite entity extractor child from a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        cEntityId - The composite entity extractor ID.
        cChildId - The hierarchical entity extractor child ID.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • deleteCompositeEntityChildAsync

        public rx.Observable<OperationStatus> deleteCompositeEntityChildAsync​(UUID appId,
                                                                              String versionId,
                                                                              UUID cEntityId,
                                                                              UUID cChildId)
        Deletes a composite entity extractor child from a version of the application.
        Specified by:
        deleteCompositeEntityChildAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        cEntityId - The composite entity extractor ID.
        cChildId - The hierarchical entity extractor child ID.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • deleteCompositeEntityChildWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> deleteCompositeEntityChildWithServiceResponseAsync​(UUID appId,
                                                                                                                                     String versionId,
                                                                                                                                     UUID cEntityId,
                                                                                                                                     UUID cChildId)
        Deletes a composite entity extractor child from a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        cEntityId - The composite entity extractor ID.
        cChildId - The hierarchical entity extractor child ID.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listRegexEntityInfos

        public List<RegexEntityExtractor> listRegexEntityInfos​(UUID appId,
                                                               String versionId,
                                                               ListRegexEntityInfosOptionalParameter listRegexEntityInfosOptionalParameter)
        Gets information about the regular expression entity models in a version of the application.
        Specified by:
        listRegexEntityInfos in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        listRegexEntityInfosOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the List<RegexEntityExtractor> object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • listRegexEntityInfosAsync

        public com.microsoft.rest.ServiceFuture<List<RegexEntityExtractor>> listRegexEntityInfosAsync​(UUID appId,
                                                                                                      String versionId,
                                                                                                      ListRegexEntityInfosOptionalParameter listRegexEntityInfosOptionalParameter,
                                                                                                      com.microsoft.rest.ServiceCallback<List<RegexEntityExtractor>> serviceCallback)
        Gets information about the regular expression entity models in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        listRegexEntityInfosOptionalParameter - the object representing the optional parameters to be set before calling this API
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listRegexEntityInfosAsync

        public rx.Observable<List<RegexEntityExtractor>> listRegexEntityInfosAsync​(UUID appId,
                                                                                   String versionId,
                                                                                   ListRegexEntityInfosOptionalParameter listRegexEntityInfosOptionalParameter)
        Gets information about the regular expression entity models in a version of the application.
        Specified by:
        listRegexEntityInfosAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        listRegexEntityInfosOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the observable to the List<RegexEntityExtractor> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listRegexEntityInfosWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<List<RegexEntityExtractor>>> listRegexEntityInfosWithServiceResponseAsync​(UUID appId,
                                                                                                                                          String versionId,
                                                                                                                                          ListRegexEntityInfosOptionalParameter listRegexEntityInfosOptionalParameter)
        Gets information about the regular expression entity models in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        listRegexEntityInfosOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the observable to the List<RegexEntityExtractor> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listRegexEntityInfosWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<List<RegexEntityExtractor>>> listRegexEntityInfosWithServiceResponseAsync​(UUID appId,
                                                                                                                                          String versionId,
                                                                                                                                          Integer skip,
                                                                                                                                          Integer take)
        Gets information about the regular expression entity models 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<RegexEntityExtractor> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listRegexEntityInfos

        public com.microsoft.azure.cognitiveservices.language.luis.authoring.implementation.ModelsImpl.ModelsListRegexEntityInfosParameters listRegexEntityInfos()
        Description copied from interface: Models
        Gets information about the regular expression entity models in a version of the application.
        Specified by:
        listRegexEntityInfos in interface Models
        Returns:
        the first stage of the listRegexEntityInfos call
      • createRegexEntityModel

        public UUID createRegexEntityModel​(UUID appId,
                                           String versionId,
                                           RegexModelCreateObject regexEntityExtractorCreateObj)
        Adds a regular expression entity model to a version of the application.
        Specified by:
        createRegexEntityModel in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        regexEntityExtractorCreateObj - A model object containing the name and regex pattern for the new regular expression entity extractor.
        Returns:
        the UUID object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • createRegexEntityModelAsync

        public com.microsoft.rest.ServiceFuture<UUID> createRegexEntityModelAsync​(UUID appId,
                                                                                  String versionId,
                                                                                  RegexModelCreateObject regexEntityExtractorCreateObj,
                                                                                  com.microsoft.rest.ServiceCallback<UUID> serviceCallback)
        Adds a regular expression entity model to a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        regexEntityExtractorCreateObj - A model object containing the name and regex pattern for the new regular expression entity extractor.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • createRegexEntityModelAsync

        public rx.Observable<UUID> createRegexEntityModelAsync​(UUID appId,
                                                               String versionId,
                                                               RegexModelCreateObject regexEntityExtractorCreateObj)
        Adds a regular expression entity model to a version of the application.
        Specified by:
        createRegexEntityModelAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        regexEntityExtractorCreateObj - A model object containing the name and regex pattern for the new regular expression entity extractor.
        Returns:
        the observable to the UUID object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • createRegexEntityModelWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<UUID>> createRegexEntityModelWithServiceResponseAsync​(UUID appId,
                                                                                                                      String versionId,
                                                                                                                      RegexModelCreateObject regexEntityExtractorCreateObj)
        Adds a regular expression entity model to a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        regexEntityExtractorCreateObj - A model object containing the name and regex pattern for the new regular expression entity extractor.
        Returns:
        the observable to the UUID object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listPatternAnyEntityInfosAsync

        public com.microsoft.rest.ServiceFuture<List<PatternAnyEntityExtractor>> listPatternAnyEntityInfosAsync​(UUID appId,
                                                                                                                String versionId,
                                                                                                                ListPatternAnyEntityInfosOptionalParameter listPatternAnyEntityInfosOptionalParameter,
                                                                                                                com.microsoft.rest.ServiceCallback<List<PatternAnyEntityExtractor>> serviceCallback)
        Get information about the Pattern.Any entity models in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        listPatternAnyEntityInfosOptionalParameter - the object representing the optional parameters to be set before calling this API
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listPatternAnyEntityInfosAsync

        public rx.Observable<List<PatternAnyEntityExtractor>> listPatternAnyEntityInfosAsync​(UUID appId,
                                                                                             String versionId,
                                                                                             ListPatternAnyEntityInfosOptionalParameter listPatternAnyEntityInfosOptionalParameter)
        Get information about the Pattern.Any entity models in a version of the application.
        Specified by:
        listPatternAnyEntityInfosAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        listPatternAnyEntityInfosOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the observable to the List<PatternAnyEntityExtractor> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listPatternAnyEntityInfosWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<List<PatternAnyEntityExtractor>>> listPatternAnyEntityInfosWithServiceResponseAsync​(UUID appId,
                                                                                                                                                    String versionId,
                                                                                                                                                    ListPatternAnyEntityInfosOptionalParameter listPatternAnyEntityInfosOptionalParameter)
        Get information about the Pattern.Any entity models in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        listPatternAnyEntityInfosOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the observable to the List<PatternAnyEntityExtractor> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listPatternAnyEntityInfosWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<List<PatternAnyEntityExtractor>>> listPatternAnyEntityInfosWithServiceResponseAsync​(UUID appId,
                                                                                                                                                    String versionId,
                                                                                                                                                    Integer skip,
                                                                                                                                                    Integer take)
        Get information about the Pattern.Any entity models 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<PatternAnyEntityExtractor> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listPatternAnyEntityInfos

        public com.microsoft.azure.cognitiveservices.language.luis.authoring.implementation.ModelsImpl.ModelsListPatternAnyEntityInfosParameters listPatternAnyEntityInfos()
        Description copied from interface: Models
        Get information about the Pattern.Any entity models in a version of the application.
        Specified by:
        listPatternAnyEntityInfos in interface Models
        Returns:
        the first stage of the listPatternAnyEntityInfos call
      • createPatternAnyEntityModel

        public UUID createPatternAnyEntityModel​(UUID appId,
                                                String versionId,
                                                PatternAnyModelCreateObject extractorCreateObject)
        Adds a pattern.any entity extractor to a version of the application.
        Specified by:
        createPatternAnyEntityModel in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        extractorCreateObject - A model object containing the name and explicit list for the new Pattern.Any entity extractor.
        Returns:
        the UUID object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • createPatternAnyEntityModelAsync

        public com.microsoft.rest.ServiceFuture<UUID> createPatternAnyEntityModelAsync​(UUID appId,
                                                                                       String versionId,
                                                                                       PatternAnyModelCreateObject extractorCreateObject,
                                                                                       com.microsoft.rest.ServiceCallback<UUID> serviceCallback)
        Adds a pattern.any entity extractor to a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        extractorCreateObject - A model object containing the name and explicit list for the new Pattern.Any entity extractor.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • createPatternAnyEntityModelAsync

        public rx.Observable<UUID> createPatternAnyEntityModelAsync​(UUID appId,
                                                                    String versionId,
                                                                    PatternAnyModelCreateObject extractorCreateObject)
        Adds a pattern.any entity extractor to a version of the application.
        Specified by:
        createPatternAnyEntityModelAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        extractorCreateObject - A model object containing the name and explicit list for the new Pattern.Any entity extractor.
        Returns:
        the observable to the UUID object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • createPatternAnyEntityModelWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<UUID>> createPatternAnyEntityModelWithServiceResponseAsync​(UUID appId,
                                                                                                                           String versionId,
                                                                                                                           PatternAnyModelCreateObject extractorCreateObject)
        Adds a pattern.any entity extractor to a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        extractorCreateObject - A model object containing the name and explicit list for the new Pattern.Any entity extractor.
        Returns:
        the observable to the UUID object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listEntityRoles

        public List<EntityRole> listEntityRoles​(UUID appId,
                                                String versionId,
                                                UUID entityId)
        Get all roles for an entity in a version of the application.
        Specified by:
        listEntityRoles in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - entity Id
        Returns:
        the List<EntityRole> object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • listEntityRolesAsync

        public com.microsoft.rest.ServiceFuture<List<EntityRole>> listEntityRolesAsync​(UUID appId,
                                                                                       String versionId,
                                                                                       UUID entityId,
                                                                                       com.microsoft.rest.ServiceCallback<List<EntityRole>> serviceCallback)
        Get all roles for an entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - entity Id
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listEntityRolesAsync

        public rx.Observable<List<EntityRole>> listEntityRolesAsync​(UUID appId,
                                                                    String versionId,
                                                                    UUID entityId)
        Get all roles for an entity in a version of the application.
        Specified by:
        listEntityRolesAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - entity Id
        Returns:
        the observable to the List<EntityRole> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listEntityRolesWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<List<EntityRole>>> listEntityRolesWithServiceResponseAsync​(UUID appId,
                                                                                                                           String versionId,
                                                                                                                           UUID entityId)
        Get all roles for an entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - entity Id
        Returns:
        the observable to the List<EntityRole> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • createEntityRole

        public UUID createEntityRole​(UUID appId,
                                     String versionId,
                                     UUID entityId,
                                     CreateEntityRoleOptionalParameter createEntityRoleOptionalParameter)
        Create an entity role in a version of the application.
        Specified by:
        createEntityRole in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity model ID.
        createEntityRoleOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the UUID object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • createEntityRoleAsync

        public com.microsoft.rest.ServiceFuture<UUID> createEntityRoleAsync​(UUID appId,
                                                                            String versionId,
                                                                            UUID entityId,
                                                                            CreateEntityRoleOptionalParameter createEntityRoleOptionalParameter,
                                                                            com.microsoft.rest.ServiceCallback<UUID> serviceCallback)
        Create an entity role in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity model ID.
        createEntityRoleOptionalParameter - the object representing the optional parameters to be set before calling this API
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • createEntityRoleAsync

        public rx.Observable<UUID> createEntityRoleAsync​(UUID appId,
                                                         String versionId,
                                                         UUID entityId,
                                                         CreateEntityRoleOptionalParameter createEntityRoleOptionalParameter)
        Create an entity role in a version of the application.
        Specified by:
        createEntityRoleAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity model ID.
        createEntityRoleOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the observable to the UUID object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • createEntityRoleWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<UUID>> createEntityRoleWithServiceResponseAsync​(UUID appId,
                                                                                                                String versionId,
                                                                                                                UUID entityId,
                                                                                                                CreateEntityRoleOptionalParameter createEntityRoleOptionalParameter)
        Create an entity role in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity model ID.
        createEntityRoleOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the observable to the UUID object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • createEntityRoleWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<UUID>> createEntityRoleWithServiceResponseAsync​(UUID appId,
                                                                                                                String versionId,
                                                                                                                UUID entityId,
                                                                                                                String name)
        Create an entity role in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity model ID.
        name - The entity role name.
        Returns:
        the observable to the UUID object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • createEntityRole

        public com.microsoft.azure.cognitiveservices.language.luis.authoring.implementation.ModelsImpl.ModelsCreateEntityRoleParameters createEntityRole()
        Description copied from interface: Models
        Create an entity role in a version of the application.
        Specified by:
        createEntityRole in interface Models
        Returns:
        the first stage of the createEntityRole call
      • listPrebuiltEntityRoles

        public List<EntityRole> listPrebuiltEntityRoles​(UUID appId,
                                                        String versionId,
                                                        UUID entityId)
        Get a prebuilt entity's roles in a version of the application.
        Specified by:
        listPrebuiltEntityRoles in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - entity Id
        Returns:
        the List<EntityRole> object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • listPrebuiltEntityRolesAsync

        public com.microsoft.rest.ServiceFuture<List<EntityRole>> listPrebuiltEntityRolesAsync​(UUID appId,
                                                                                               String versionId,
                                                                                               UUID entityId,
                                                                                               com.microsoft.rest.ServiceCallback<List<EntityRole>> serviceCallback)
        Get a prebuilt entity's roles in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - entity Id
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listPrebuiltEntityRolesAsync

        public rx.Observable<List<EntityRole>> listPrebuiltEntityRolesAsync​(UUID appId,
                                                                            String versionId,
                                                                            UUID entityId)
        Get a prebuilt entity's roles in a version of the application.
        Specified by:
        listPrebuiltEntityRolesAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - entity Id
        Returns:
        the observable to the List<EntityRole> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listPrebuiltEntityRolesWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<List<EntityRole>>> listPrebuiltEntityRolesWithServiceResponseAsync​(UUID appId,
                                                                                                                                   String versionId,
                                                                                                                                   UUID entityId)
        Get a prebuilt entity's roles in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - entity Id
        Returns:
        the observable to the List<EntityRole> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • 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.
        Specified by:
        createPrebuiltEntityRole in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity model ID.
        createPrebuiltEntityRoleOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the UUID object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • createPrebuiltEntityRoleAsync

        public com.microsoft.rest.ServiceFuture<UUID> createPrebuiltEntityRoleAsync​(UUID appId,
                                                                                    String versionId,
                                                                                    UUID entityId,
                                                                                    CreatePrebuiltEntityRoleOptionalParameter createPrebuiltEntityRoleOptionalParameter,
                                                                                    com.microsoft.rest.ServiceCallback<UUID> serviceCallback)
        Create a role for a prebuilt entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity model ID.
        createPrebuiltEntityRoleOptionalParameter - the object representing the optional parameters to be set before calling this API
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • createPrebuiltEntityRoleAsync

        public rx.Observable<UUID> createPrebuiltEntityRoleAsync​(UUID appId,
                                                                 String versionId,
                                                                 UUID entityId,
                                                                 CreatePrebuiltEntityRoleOptionalParameter createPrebuiltEntityRoleOptionalParameter)
        Create a role for a prebuilt entity in a version of the application.
        Specified by:
        createPrebuiltEntityRoleAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity model ID.
        createPrebuiltEntityRoleOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the observable to the UUID object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • createPrebuiltEntityRoleWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<UUID>> createPrebuiltEntityRoleWithServiceResponseAsync​(UUID appId,
                                                                                                                        String versionId,
                                                                                                                        UUID entityId,
                                                                                                                        CreatePrebuiltEntityRoleOptionalParameter createPrebuiltEntityRoleOptionalParameter)
        Create a role for a prebuilt entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity model ID.
        createPrebuiltEntityRoleOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the observable to the UUID object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • createPrebuiltEntityRoleWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<UUID>> createPrebuiltEntityRoleWithServiceResponseAsync​(UUID appId,
                                                                                                                        String versionId,
                                                                                                                        UUID entityId,
                                                                                                                        String name)
        Create a role for a prebuilt entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity model ID.
        name - The entity role name.
        Returns:
        the observable to the UUID object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • createPrebuiltEntityRole

        public com.microsoft.azure.cognitiveservices.language.luis.authoring.implementation.ModelsImpl.ModelsCreatePrebuiltEntityRoleParameters createPrebuiltEntityRole()
        Description copied from interface: Models
        Create a role for a prebuilt entity in a version of the application.
        Specified by:
        createPrebuiltEntityRole in interface Models
        Returns:
        the first stage of the createPrebuiltEntityRole call
      • listClosedListEntityRoles

        public List<EntityRole> listClosedListEntityRoles​(UUID appId,
                                                          String versionId,
                                                          UUID entityId)
        Get all roles for a list entity in a version of the application.
        Specified by:
        listClosedListEntityRoles in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - entity Id
        Returns:
        the List<EntityRole> object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • listClosedListEntityRolesAsync

        public com.microsoft.rest.ServiceFuture<List<EntityRole>> listClosedListEntityRolesAsync​(UUID appId,
                                                                                                 String versionId,
                                                                                                 UUID entityId,
                                                                                                 com.microsoft.rest.ServiceCallback<List<EntityRole>> serviceCallback)
        Get all roles for a list entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - entity Id
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listClosedListEntityRolesAsync

        public rx.Observable<List<EntityRole>> listClosedListEntityRolesAsync​(UUID appId,
                                                                              String versionId,
                                                                              UUID entityId)
        Get all roles for a list entity in a version of the application.
        Specified by:
        listClosedListEntityRolesAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - entity Id
        Returns:
        the observable to the List<EntityRole> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listClosedListEntityRolesWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<List<EntityRole>>> listClosedListEntityRolesWithServiceResponseAsync​(UUID appId,
                                                                                                                                     String versionId,
                                                                                                                                     UUID entityId)
        Get all roles for a list entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - entity Id
        Returns:
        the observable to the List<EntityRole> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • 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.
        Specified by:
        createClosedListEntityRole in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity model ID.
        createClosedListEntityRoleOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the UUID object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • createClosedListEntityRoleAsync

        public com.microsoft.rest.ServiceFuture<UUID> createClosedListEntityRoleAsync​(UUID appId,
                                                                                      String versionId,
                                                                                      UUID entityId,
                                                                                      CreateClosedListEntityRoleOptionalParameter createClosedListEntityRoleOptionalParameter,
                                                                                      com.microsoft.rest.ServiceCallback<UUID> serviceCallback)
        Create a role for a list entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity model ID.
        createClosedListEntityRoleOptionalParameter - the object representing the optional parameters to be set before calling this API
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • createClosedListEntityRoleAsync

        public rx.Observable<UUID> createClosedListEntityRoleAsync​(UUID appId,
                                                                   String versionId,
                                                                   UUID entityId,
                                                                   CreateClosedListEntityRoleOptionalParameter createClosedListEntityRoleOptionalParameter)
        Create a role for a list entity in a version of the application.
        Specified by:
        createClosedListEntityRoleAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity model ID.
        createClosedListEntityRoleOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the observable to the UUID object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • createClosedListEntityRoleWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<UUID>> createClosedListEntityRoleWithServiceResponseAsync​(UUID appId,
                                                                                                                          String versionId,
                                                                                                                          UUID entityId,
                                                                                                                          CreateClosedListEntityRoleOptionalParameter createClosedListEntityRoleOptionalParameter)
        Create a role for a list entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity model ID.
        createClosedListEntityRoleOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the observable to the UUID object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • createClosedListEntityRoleWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<UUID>> createClosedListEntityRoleWithServiceResponseAsync​(UUID appId,
                                                                                                                          String versionId,
                                                                                                                          UUID entityId,
                                                                                                                          String name)
        Create a role for a list entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity model ID.
        name - The entity role name.
        Returns:
        the observable to the UUID object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • createClosedListEntityRole

        public com.microsoft.azure.cognitiveservices.language.luis.authoring.implementation.ModelsImpl.ModelsCreateClosedListEntityRoleParameters createClosedListEntityRole()
        Description copied from interface: Models
        Create a role for a list entity in a version of the application.
        Specified by:
        createClosedListEntityRole in interface Models
        Returns:
        the first stage of the createClosedListEntityRole call
      • listRegexEntityRoles

        public List<EntityRole> listRegexEntityRoles​(UUID appId,
                                                     String versionId,
                                                     UUID entityId)
        Get all roles for a regular expression entity in a version of the application.
        Specified by:
        listRegexEntityRoles in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - entity Id
        Returns:
        the List<EntityRole> object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • listRegexEntityRolesAsync

        public com.microsoft.rest.ServiceFuture<List<EntityRole>> listRegexEntityRolesAsync​(UUID appId,
                                                                                            String versionId,
                                                                                            UUID entityId,
                                                                                            com.microsoft.rest.ServiceCallback<List<EntityRole>> serviceCallback)
        Get all roles for a regular expression entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - entity Id
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listRegexEntityRolesAsync

        public rx.Observable<List<EntityRole>> listRegexEntityRolesAsync​(UUID appId,
                                                                         String versionId,
                                                                         UUID entityId)
        Get all roles for a regular expression entity in a version of the application.
        Specified by:
        listRegexEntityRolesAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - entity Id
        Returns:
        the observable to the List<EntityRole> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listRegexEntityRolesWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<List<EntityRole>>> listRegexEntityRolesWithServiceResponseAsync​(UUID appId,
                                                                                                                                String versionId,
                                                                                                                                UUID entityId)
        Get all roles for a regular expression entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - entity Id
        Returns:
        the observable to the List<EntityRole> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • 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.
        Specified by:
        createRegexEntityRole in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity model ID.
        createRegexEntityRoleOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the UUID object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • createRegexEntityRoleAsync

        public com.microsoft.rest.ServiceFuture<UUID> createRegexEntityRoleAsync​(UUID appId,
                                                                                 String versionId,
                                                                                 UUID entityId,
                                                                                 CreateRegexEntityRoleOptionalParameter createRegexEntityRoleOptionalParameter,
                                                                                 com.microsoft.rest.ServiceCallback<UUID> serviceCallback)
        Create a role for an regular expression entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity model ID.
        createRegexEntityRoleOptionalParameter - the object representing the optional parameters to be set before calling this API
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • createRegexEntityRoleAsync

        public rx.Observable<UUID> createRegexEntityRoleAsync​(UUID appId,
                                                              String versionId,
                                                              UUID entityId,
                                                              CreateRegexEntityRoleOptionalParameter createRegexEntityRoleOptionalParameter)
        Create a role for an regular expression entity in a version of the application.
        Specified by:
        createRegexEntityRoleAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity model ID.
        createRegexEntityRoleOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the observable to the UUID object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • createRegexEntityRoleWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<UUID>> createRegexEntityRoleWithServiceResponseAsync​(UUID appId,
                                                                                                                     String versionId,
                                                                                                                     UUID entityId,
                                                                                                                     CreateRegexEntityRoleOptionalParameter createRegexEntityRoleOptionalParameter)
        Create a role for an regular expression entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity model ID.
        createRegexEntityRoleOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the observable to the UUID object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • createRegexEntityRoleWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<UUID>> createRegexEntityRoleWithServiceResponseAsync​(UUID appId,
                                                                                                                     String versionId,
                                                                                                                     UUID entityId,
                                                                                                                     String name)
        Create a role for an regular expression entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity model ID.
        name - The entity role name.
        Returns:
        the observable to the UUID object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • createRegexEntityRole

        public com.microsoft.azure.cognitiveservices.language.luis.authoring.implementation.ModelsImpl.ModelsCreateRegexEntityRoleParameters createRegexEntityRole()
        Description copied from interface: Models
        Create a role for an regular expression entity in a version of the application.
        Specified by:
        createRegexEntityRole in interface Models
        Returns:
        the first stage of the createRegexEntityRole call
      • listCompositeEntityRoles

        public List<EntityRole> listCompositeEntityRoles​(UUID appId,
                                                         String versionId,
                                                         UUID cEntityId)
        Get all roles for a composite entity in a version of the application.
        Specified by:
        listCompositeEntityRoles in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        cEntityId - The composite entity extractor ID.
        Returns:
        the List<EntityRole> object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • listCompositeEntityRolesAsync

        public com.microsoft.rest.ServiceFuture<List<EntityRole>> listCompositeEntityRolesAsync​(UUID appId,
                                                                                                String versionId,
                                                                                                UUID cEntityId,
                                                                                                com.microsoft.rest.ServiceCallback<List<EntityRole>> serviceCallback)
        Get all roles for a composite entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        cEntityId - The composite entity extractor ID.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listCompositeEntityRolesAsync

        public rx.Observable<List<EntityRole>> listCompositeEntityRolesAsync​(UUID appId,
                                                                             String versionId,
                                                                             UUID cEntityId)
        Get all roles for a composite entity in a version of the application.
        Specified by:
        listCompositeEntityRolesAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        cEntityId - The composite entity extractor ID.
        Returns:
        the observable to the List<EntityRole> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listCompositeEntityRolesWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<List<EntityRole>>> listCompositeEntityRolesWithServiceResponseAsync​(UUID appId,
                                                                                                                                    String versionId,
                                                                                                                                    UUID cEntityId)
        Get all roles for a composite entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        cEntityId - The composite entity extractor ID.
        Returns:
        the observable to the List<EntityRole> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • 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.
        Specified by:
        createCompositeEntityRole in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        cEntityId - The composite entity extractor ID.
        createCompositeEntityRoleOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the UUID object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • createCompositeEntityRoleAsync

        public com.microsoft.rest.ServiceFuture<UUID> createCompositeEntityRoleAsync​(UUID appId,
                                                                                     String versionId,
                                                                                     UUID cEntityId,
                                                                                     CreateCompositeEntityRoleOptionalParameter createCompositeEntityRoleOptionalParameter,
                                                                                     com.microsoft.rest.ServiceCallback<UUID> serviceCallback)
        Create a role for a composite entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        cEntityId - The composite entity extractor ID.
        createCompositeEntityRoleOptionalParameter - the object representing the optional parameters to be set before calling this API
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • createCompositeEntityRoleAsync

        public rx.Observable<UUID> createCompositeEntityRoleAsync​(UUID appId,
                                                                  String versionId,
                                                                  UUID cEntityId,
                                                                  CreateCompositeEntityRoleOptionalParameter createCompositeEntityRoleOptionalParameter)
        Create a role for a composite entity in a version of the application.
        Specified by:
        createCompositeEntityRoleAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        cEntityId - The composite entity extractor ID.
        createCompositeEntityRoleOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the observable to the UUID object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • createCompositeEntityRoleWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<UUID>> createCompositeEntityRoleWithServiceResponseAsync​(UUID appId,
                                                                                                                         String versionId,
                                                                                                                         UUID cEntityId,
                                                                                                                         CreateCompositeEntityRoleOptionalParameter createCompositeEntityRoleOptionalParameter)
        Create a role for a composite entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        cEntityId - The composite entity extractor ID.
        createCompositeEntityRoleOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the observable to the UUID object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • createCompositeEntityRoleWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<UUID>> createCompositeEntityRoleWithServiceResponseAsync​(UUID appId,
                                                                                                                         String versionId,
                                                                                                                         UUID cEntityId,
                                                                                                                         String name)
        Create a role for a composite entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        cEntityId - The composite entity extractor ID.
        name - The entity role name.
        Returns:
        the observable to the UUID object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • createCompositeEntityRole

        public com.microsoft.azure.cognitiveservices.language.luis.authoring.implementation.ModelsImpl.ModelsCreateCompositeEntityRoleParameters createCompositeEntityRole()
        Description copied from interface: Models
        Create a role for a composite entity in a version of the application.
        Specified by:
        createCompositeEntityRole in interface Models
        Returns:
        the first stage of the createCompositeEntityRole call
      • listPatternAnyEntityRoles

        public List<EntityRole> listPatternAnyEntityRoles​(UUID appId,
                                                          String versionId,
                                                          UUID entityId)
        Get all roles for a Pattern.any entity in a version of the application.
        Specified by:
        listPatternAnyEntityRoles in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - entity Id
        Returns:
        the List<EntityRole> object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • listPatternAnyEntityRolesAsync

        public com.microsoft.rest.ServiceFuture<List<EntityRole>> listPatternAnyEntityRolesAsync​(UUID appId,
                                                                                                 String versionId,
                                                                                                 UUID entityId,
                                                                                                 com.microsoft.rest.ServiceCallback<List<EntityRole>> serviceCallback)
        Get all roles for a Pattern.any entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - entity Id
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listPatternAnyEntityRolesAsync

        public rx.Observable<List<EntityRole>> listPatternAnyEntityRolesAsync​(UUID appId,
                                                                              String versionId,
                                                                              UUID entityId)
        Get all roles for a Pattern.any entity in a version of the application.
        Specified by:
        listPatternAnyEntityRolesAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - entity Id
        Returns:
        the observable to the List<EntityRole> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listPatternAnyEntityRolesWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<List<EntityRole>>> listPatternAnyEntityRolesWithServiceResponseAsync​(UUID appId,
                                                                                                                                     String versionId,
                                                                                                                                     UUID entityId)
        Get all roles for a Pattern.any entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - entity Id
        Returns:
        the observable to the List<EntityRole> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • 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.
        Specified by:
        createPatternAnyEntityRole in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity model ID.
        createPatternAnyEntityRoleOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the UUID object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • createPatternAnyEntityRoleAsync

        public com.microsoft.rest.ServiceFuture<UUID> createPatternAnyEntityRoleAsync​(UUID appId,
                                                                                      String versionId,
                                                                                      UUID entityId,
                                                                                      CreatePatternAnyEntityRoleOptionalParameter createPatternAnyEntityRoleOptionalParameter,
                                                                                      com.microsoft.rest.ServiceCallback<UUID> serviceCallback)
        Create a role for an Pattern.any entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity model ID.
        createPatternAnyEntityRoleOptionalParameter - the object representing the optional parameters to be set before calling this API
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • createPatternAnyEntityRoleAsync

        public rx.Observable<UUID> createPatternAnyEntityRoleAsync​(UUID appId,
                                                                   String versionId,
                                                                   UUID entityId,
                                                                   CreatePatternAnyEntityRoleOptionalParameter createPatternAnyEntityRoleOptionalParameter)
        Create a role for an Pattern.any entity in a version of the application.
        Specified by:
        createPatternAnyEntityRoleAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity model ID.
        createPatternAnyEntityRoleOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the observable to the UUID object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • createPatternAnyEntityRoleWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<UUID>> createPatternAnyEntityRoleWithServiceResponseAsync​(UUID appId,
                                                                                                                          String versionId,
                                                                                                                          UUID entityId,
                                                                                                                          CreatePatternAnyEntityRoleOptionalParameter createPatternAnyEntityRoleOptionalParameter)
        Create a role for an Pattern.any entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity model ID.
        createPatternAnyEntityRoleOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the observable to the UUID object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • createPatternAnyEntityRoleWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<UUID>> createPatternAnyEntityRoleWithServiceResponseAsync​(UUID appId,
                                                                                                                          String versionId,
                                                                                                                          UUID entityId,
                                                                                                                          String name)
        Create a role for an Pattern.any entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity model ID.
        name - The entity role name.
        Returns:
        the observable to the UUID object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • createPatternAnyEntityRole

        public com.microsoft.azure.cognitiveservices.language.luis.authoring.implementation.ModelsImpl.ModelsCreatePatternAnyEntityRoleParameters createPatternAnyEntityRole()
        Description copied from interface: Models
        Create a role for an Pattern.any entity in a version of the application.
        Specified by:
        createPatternAnyEntityRole in interface Models
        Returns:
        the first stage of the createPatternAnyEntityRole call
      • listHierarchicalEntityRoles

        public List<EntityRole> listHierarchicalEntityRoles​(UUID appId,
                                                            String versionId,
                                                            UUID hEntityId)
        Get all roles for a hierarchical entity in a version of the application.
        Specified by:
        listHierarchicalEntityRoles in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        hEntityId - The hierarchical entity extractor ID.
        Returns:
        the List<EntityRole> object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • listHierarchicalEntityRolesAsync

        public com.microsoft.rest.ServiceFuture<List<EntityRole>> listHierarchicalEntityRolesAsync​(UUID appId,
                                                                                                   String versionId,
                                                                                                   UUID hEntityId,
                                                                                                   com.microsoft.rest.ServiceCallback<List<EntityRole>> serviceCallback)
        Get all roles for a hierarchical entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        hEntityId - The hierarchical entity extractor ID.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listHierarchicalEntityRolesAsync

        public rx.Observable<List<EntityRole>> listHierarchicalEntityRolesAsync​(UUID appId,
                                                                                String versionId,
                                                                                UUID hEntityId)
        Get all roles for a hierarchical entity in a version of the application.
        Specified by:
        listHierarchicalEntityRolesAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        hEntityId - The hierarchical entity extractor ID.
        Returns:
        the observable to the List<EntityRole> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listHierarchicalEntityRolesWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<List<EntityRole>>> listHierarchicalEntityRolesWithServiceResponseAsync​(UUID appId,
                                                                                                                                       String versionId,
                                                                                                                                       UUID hEntityId)
        Get all roles for a hierarchical entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        hEntityId - The hierarchical entity extractor ID.
        Returns:
        the observable to the List<EntityRole> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • 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.
        Specified by:
        createHierarchicalEntityRole in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        hEntityId - The hierarchical entity extractor ID.
        createHierarchicalEntityRoleOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the UUID object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • createHierarchicalEntityRoleAsync

        public com.microsoft.rest.ServiceFuture<UUID> createHierarchicalEntityRoleAsync​(UUID appId,
                                                                                        String versionId,
                                                                                        UUID hEntityId,
                                                                                        CreateHierarchicalEntityRoleOptionalParameter createHierarchicalEntityRoleOptionalParameter,
                                                                                        com.microsoft.rest.ServiceCallback<UUID> serviceCallback)
        Create a role for an hierarchical entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        hEntityId - The hierarchical entity extractor ID.
        createHierarchicalEntityRoleOptionalParameter - the object representing the optional parameters to be set before calling this API
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • createHierarchicalEntityRoleAsync

        public rx.Observable<UUID> createHierarchicalEntityRoleAsync​(UUID appId,
                                                                     String versionId,
                                                                     UUID hEntityId,
                                                                     CreateHierarchicalEntityRoleOptionalParameter createHierarchicalEntityRoleOptionalParameter)
        Create a role for an hierarchical entity in a version of the application.
        Specified by:
        createHierarchicalEntityRoleAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        hEntityId - The hierarchical entity extractor ID.
        createHierarchicalEntityRoleOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the observable to the UUID object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • createHierarchicalEntityRoleWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<UUID>> createHierarchicalEntityRoleWithServiceResponseAsync​(UUID appId,
                                                                                                                            String versionId,
                                                                                                                            UUID hEntityId,
                                                                                                                            CreateHierarchicalEntityRoleOptionalParameter createHierarchicalEntityRoleOptionalParameter)
        Create a role for an hierarchical entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        hEntityId - The hierarchical entity extractor ID.
        createHierarchicalEntityRoleOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the observable to the UUID object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • createHierarchicalEntityRoleWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<UUID>> createHierarchicalEntityRoleWithServiceResponseAsync​(UUID appId,
                                                                                                                            String versionId,
                                                                                                                            UUID hEntityId,
                                                                                                                            String name)
        Create a role for an hierarchical entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        hEntityId - The hierarchical entity extractor ID.
        name - The entity role name.
        Returns:
        the observable to the UUID object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • createHierarchicalEntityRole

        public com.microsoft.azure.cognitiveservices.language.luis.authoring.implementation.ModelsImpl.ModelsCreateHierarchicalEntityRoleParameters createHierarchicalEntityRole()
        Description copied from interface: Models
        Create a role for an hierarchical entity in a version of the application.
        Specified by:
        createHierarchicalEntityRole in interface Models
        Returns:
        the first stage of the createHierarchicalEntityRole call
      • listCustomPrebuiltEntityRoles

        public List<EntityRole> listCustomPrebuiltEntityRoles​(UUID appId,
                                                              String versionId,
                                                              UUID entityId)
        Get all roles for a prebuilt entity in a version of the application.
        Specified by:
        listCustomPrebuiltEntityRoles in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - entity Id
        Returns:
        the List<EntityRole> object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • listCustomPrebuiltEntityRolesAsync

        public com.microsoft.rest.ServiceFuture<List<EntityRole>> listCustomPrebuiltEntityRolesAsync​(UUID appId,
                                                                                                     String versionId,
                                                                                                     UUID entityId,
                                                                                                     com.microsoft.rest.ServiceCallback<List<EntityRole>> serviceCallback)
        Get all roles for a prebuilt entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - entity Id
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listCustomPrebuiltEntityRolesAsync

        public rx.Observable<List<EntityRole>> listCustomPrebuiltEntityRolesAsync​(UUID appId,
                                                                                  String versionId,
                                                                                  UUID entityId)
        Get all roles for a prebuilt entity in a version of the application.
        Specified by:
        listCustomPrebuiltEntityRolesAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - entity Id
        Returns:
        the observable to the List<EntityRole> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listCustomPrebuiltEntityRolesWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<List<EntityRole>>> listCustomPrebuiltEntityRolesWithServiceResponseAsync​(UUID appId,
                                                                                                                                         String versionId,
                                                                                                                                         UUID entityId)
        Get all roles for a prebuilt entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - entity Id
        Returns:
        the observable to the List<EntityRole> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • 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.
        Specified by:
        createCustomPrebuiltEntityRole in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity model ID.
        createCustomPrebuiltEntityRoleOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the UUID object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • createCustomPrebuiltEntityRoleAsync

        public com.microsoft.rest.ServiceFuture<UUID> createCustomPrebuiltEntityRoleAsync​(UUID appId,
                                                                                          String versionId,
                                                                                          UUID entityId,
                                                                                          CreateCustomPrebuiltEntityRoleOptionalParameter createCustomPrebuiltEntityRoleOptionalParameter,
                                                                                          com.microsoft.rest.ServiceCallback<UUID> serviceCallback)
        Create a role for a prebuilt entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity model ID.
        createCustomPrebuiltEntityRoleOptionalParameter - the object representing the optional parameters to be set before calling this API
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • createCustomPrebuiltEntityRoleAsync

        public rx.Observable<UUID> createCustomPrebuiltEntityRoleAsync​(UUID appId,
                                                                       String versionId,
                                                                       UUID entityId,
                                                                       CreateCustomPrebuiltEntityRoleOptionalParameter createCustomPrebuiltEntityRoleOptionalParameter)
        Create a role for a prebuilt entity in a version of the application.
        Specified by:
        createCustomPrebuiltEntityRoleAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity model ID.
        createCustomPrebuiltEntityRoleOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the observable to the UUID object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • createCustomPrebuiltEntityRoleWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<UUID>> createCustomPrebuiltEntityRoleWithServiceResponseAsync​(UUID appId,
                                                                                                                              String versionId,
                                                                                                                              UUID entityId,
                                                                                                                              CreateCustomPrebuiltEntityRoleOptionalParameter createCustomPrebuiltEntityRoleOptionalParameter)
        Create a role for a prebuilt entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity model ID.
        createCustomPrebuiltEntityRoleOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the observable to the UUID object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • createCustomPrebuiltEntityRoleWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<UUID>> createCustomPrebuiltEntityRoleWithServiceResponseAsync​(UUID appId,
                                                                                                                              String versionId,
                                                                                                                              UUID entityId,
                                                                                                                              String name)
        Create a role for a prebuilt entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity model ID.
        name - The entity role name.
        Returns:
        the observable to the UUID object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • createCustomPrebuiltEntityRole

        public com.microsoft.azure.cognitiveservices.language.luis.authoring.implementation.ModelsImpl.ModelsCreateCustomPrebuiltEntityRoleParameters createCustomPrebuiltEntityRole()
        Description copied from interface: Models
        Create a role for a prebuilt entity in a version of the application.
        Specified by:
        createCustomPrebuiltEntityRole in interface Models
        Returns:
        the first stage of the createCustomPrebuiltEntityRole call
      • getExplicitList

        public List<ExplicitListItem> getExplicitList​(UUID appId,
                                                      String versionId,
                                                      UUID entityId)
        Get the explicit (exception) list of the pattern.any entity in a version of the application.
        Specified by:
        getExplicitList in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The Pattern.Any entity id.
        Returns:
        the List<ExplicitListItem> object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • getExplicitListAsync

        public com.microsoft.rest.ServiceFuture<List<ExplicitListItem>> getExplicitListAsync​(UUID appId,
                                                                                             String versionId,
                                                                                             UUID entityId,
                                                                                             com.microsoft.rest.ServiceCallback<List<ExplicitListItem>> serviceCallback)
        Get the explicit (exception) list of the pattern.any entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The Pattern.Any entity id.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getExplicitListAsync

        public rx.Observable<List<ExplicitListItem>> getExplicitListAsync​(UUID appId,
                                                                          String versionId,
                                                                          UUID entityId)
        Get the explicit (exception) list of the pattern.any entity in a version of the application.
        Specified by:
        getExplicitListAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The Pattern.Any entity id.
        Returns:
        the observable to the List<ExplicitListItem> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getExplicitListWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<List<ExplicitListItem>>> getExplicitListWithServiceResponseAsync​(UUID appId,
                                                                                                                                 String versionId,
                                                                                                                                 UUID entityId)
        Get the explicit (exception) list of the pattern.any entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The Pattern.Any entity id.
        Returns:
        the observable to the List<ExplicitListItem> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • 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.
        Specified by:
        addExplicitListItem in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The Pattern.Any entity extractor ID.
        addExplicitListItemOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the int object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • addExplicitListItemAsync

        public com.microsoft.rest.ServiceFuture<Integer> addExplicitListItemAsync​(UUID appId,
                                                                                  String versionId,
                                                                                  UUID entityId,
                                                                                  AddExplicitListItemOptionalParameter addExplicitListItemOptionalParameter,
                                                                                  com.microsoft.rest.ServiceCallback<Integer> serviceCallback)
        Add a new exception to the explicit list for the Pattern.Any entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The Pattern.Any entity extractor ID.
        addExplicitListItemOptionalParameter - the object representing the optional parameters to be set before calling this API
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • addExplicitListItemAsync

        public rx.Observable<Integer> addExplicitListItemAsync​(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.
        Specified by:
        addExplicitListItemAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The Pattern.Any entity extractor ID.
        addExplicitListItemOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the observable to the Integer object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • addExplicitListItemWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<Integer>> addExplicitListItemWithServiceResponseAsync​(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:
        appId - The application ID.
        versionId - The version ID.
        entityId - The Pattern.Any entity extractor ID.
        addExplicitListItemOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the observable to the Integer object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • addExplicitListItemWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<Integer>> addExplicitListItemWithServiceResponseAsync​(UUID appId,
                                                                                                                      String versionId,
                                                                                                                      UUID entityId,
                                                                                                                      String explicitListItem)
        Add a new exception to the explicit list for the Pattern.Any entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The Pattern.Any entity extractor ID.
        explicitListItem - The explicit list item.
        Returns:
        the observable to the Integer object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • addExplicitListItem

        public com.microsoft.azure.cognitiveservices.language.luis.authoring.implementation.ModelsImpl.ModelsAddExplicitListItemParameters addExplicitListItem()
        Description copied from interface: Models
        Add a new exception to the explicit list for the Pattern.Any entity in a version of the application.
        Specified by:
        addExplicitListItem in interface Models
        Returns:
        the first stage of the addExplicitListItem call
      • getRegexEntityEntityInfo

        public RegexEntityExtractor getRegexEntityEntityInfo​(UUID appId,
                                                             String versionId,
                                                             UUID regexEntityId)
        Gets information about a regular expression entity in a version of the application.
        Specified by:
        getRegexEntityEntityInfo in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        regexEntityId - The regular expression entity model ID.
        Returns:
        the RegexEntityExtractor object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • getRegexEntityEntityInfoAsync

        public com.microsoft.rest.ServiceFuture<RegexEntityExtractor> getRegexEntityEntityInfoAsync​(UUID appId,
                                                                                                    String versionId,
                                                                                                    UUID regexEntityId,
                                                                                                    com.microsoft.rest.ServiceCallback<RegexEntityExtractor> serviceCallback)
        Gets information about a regular expression entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        regexEntityId - The regular expression entity model ID.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getRegexEntityEntityInfoAsync

        public rx.Observable<RegexEntityExtractor> getRegexEntityEntityInfoAsync​(UUID appId,
                                                                                 String versionId,
                                                                                 UUID regexEntityId)
        Gets information about a regular expression entity in a version of the application.
        Specified by:
        getRegexEntityEntityInfoAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        regexEntityId - The regular expression entity model ID.
        Returns:
        the observable to the RegexEntityExtractor object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getRegexEntityEntityInfoWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<RegexEntityExtractor>> getRegexEntityEntityInfoWithServiceResponseAsync​(UUID appId,
                                                                                                                                        String versionId,
                                                                                                                                        UUID regexEntityId)
        Gets information about a regular expression entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        regexEntityId - The regular expression entity model ID.
        Returns:
        the observable to the RegexEntityExtractor object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • updateRegexEntityModel

        public OperationStatus updateRegexEntityModel​(UUID appId,
                                                      String versionId,
                                                      UUID regexEntityId,
                                                      RegexModelUpdateObject regexEntityUpdateObject)
        Updates the regular expression entity in a version of the application.
        Specified by:
        updateRegexEntityModel in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        regexEntityId - The regular expression entity extractor ID.
        regexEntityUpdateObject - An object containing the new entity name and regex pattern.
        Returns:
        the OperationStatus object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • updateRegexEntityModelAsync

        public com.microsoft.rest.ServiceFuture<OperationStatus> updateRegexEntityModelAsync​(UUID appId,
                                                                                             String versionId,
                                                                                             UUID regexEntityId,
                                                                                             RegexModelUpdateObject regexEntityUpdateObject,
                                                                                             com.microsoft.rest.ServiceCallback<OperationStatus> serviceCallback)
        Updates the regular expression entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        regexEntityId - The regular expression entity extractor ID.
        regexEntityUpdateObject - An object containing the new entity name and regex pattern.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • updateRegexEntityModelAsync

        public rx.Observable<OperationStatus> updateRegexEntityModelAsync​(UUID appId,
                                                                          String versionId,
                                                                          UUID regexEntityId,
                                                                          RegexModelUpdateObject regexEntityUpdateObject)
        Updates the regular expression entity in a version of the application.
        Specified by:
        updateRegexEntityModelAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        regexEntityId - The regular expression entity extractor ID.
        regexEntityUpdateObject - An object containing the new entity name and regex pattern.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • updateRegexEntityModelWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> updateRegexEntityModelWithServiceResponseAsync​(UUID appId,
                                                                                                                                 String versionId,
                                                                                                                                 UUID regexEntityId,
                                                                                                                                 RegexModelUpdateObject regexEntityUpdateObject)
        Updates the regular expression entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        regexEntityId - The regular expression entity extractor ID.
        regexEntityUpdateObject - An object containing the new entity name and regex pattern.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • deleteRegexEntityModel

        public OperationStatus deleteRegexEntityModel​(UUID appId,
                                                      String versionId,
                                                      UUID regexEntityId)
        Deletes a regular expression entity from a version of the application.
        Specified by:
        deleteRegexEntityModel in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        regexEntityId - The regular expression entity extractor ID.
        Returns:
        the OperationStatus object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • deleteRegexEntityModelAsync

        public com.microsoft.rest.ServiceFuture<OperationStatus> deleteRegexEntityModelAsync​(UUID appId,
                                                                                             String versionId,
                                                                                             UUID regexEntityId,
                                                                                             com.microsoft.rest.ServiceCallback<OperationStatus> serviceCallback)
        Deletes a regular expression entity from a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        regexEntityId - The regular expression entity extractor ID.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • deleteRegexEntityModelAsync

        public rx.Observable<OperationStatus> deleteRegexEntityModelAsync​(UUID appId,
                                                                          String versionId,
                                                                          UUID regexEntityId)
        Deletes a regular expression entity from a version of the application.
        Specified by:
        deleteRegexEntityModelAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        regexEntityId - The regular expression entity extractor ID.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • deleteRegexEntityModelWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> deleteRegexEntityModelWithServiceResponseAsync​(UUID appId,
                                                                                                                                 String versionId,
                                                                                                                                 UUID regexEntityId)
        Deletes a regular expression entity from a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        regexEntityId - The regular expression entity extractor ID.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getPatternAnyEntityInfo

        public PatternAnyEntityExtractor getPatternAnyEntityInfo​(UUID appId,
                                                                 String versionId,
                                                                 UUID entityId)
        Gets information about the Pattern.Any model in a version of the application.
        Specified by:
        getPatternAnyEntityInfo in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity extractor ID.
        Returns:
        the PatternAnyEntityExtractor object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • getPatternAnyEntityInfoAsync

        public com.microsoft.rest.ServiceFuture<PatternAnyEntityExtractor> getPatternAnyEntityInfoAsync​(UUID appId,
                                                                                                        String versionId,
                                                                                                        UUID entityId,
                                                                                                        com.microsoft.rest.ServiceCallback<PatternAnyEntityExtractor> serviceCallback)
        Gets information about the Pattern.Any model in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity extractor ID.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getPatternAnyEntityInfoAsync

        public rx.Observable<PatternAnyEntityExtractor> getPatternAnyEntityInfoAsync​(UUID appId,
                                                                                     String versionId,
                                                                                     UUID entityId)
        Gets information about the Pattern.Any model in a version of the application.
        Specified by:
        getPatternAnyEntityInfoAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity extractor ID.
        Returns:
        the observable to the PatternAnyEntityExtractor object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getPatternAnyEntityInfoWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<PatternAnyEntityExtractor>> getPatternAnyEntityInfoWithServiceResponseAsync​(UUID appId,
                                                                                                                                            String versionId,
                                                                                                                                            UUID entityId)
        Gets information about the Pattern.Any model in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity extractor ID.
        Returns:
        the observable to the PatternAnyEntityExtractor object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • 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.
        Specified by:
        updatePatternAnyEntityModel in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The Pattern.Any entity extractor ID.
        patternAnyUpdateObject - An object containing the explicit list of the Pattern.Any entity.
        Returns:
        the OperationStatus object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • updatePatternAnyEntityModelAsync

        public com.microsoft.rest.ServiceFuture<OperationStatus> updatePatternAnyEntityModelAsync​(UUID appId,
                                                                                                  String versionId,
                                                                                                  UUID entityId,
                                                                                                  PatternAnyModelUpdateObject patternAnyUpdateObject,
                                                                                                  com.microsoft.rest.ServiceCallback<OperationStatus> serviceCallback)
        Updates the name and explicit (exception) list of a Pattern.Any entity model in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The Pattern.Any entity extractor ID.
        patternAnyUpdateObject - An object containing the explicit list of the Pattern.Any entity.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • updatePatternAnyEntityModelAsync

        public rx.Observable<OperationStatus> updatePatternAnyEntityModelAsync​(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.
        Specified by:
        updatePatternAnyEntityModelAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The Pattern.Any entity extractor ID.
        patternAnyUpdateObject - An object containing the explicit list of the Pattern.Any entity.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • updatePatternAnyEntityModelWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> updatePatternAnyEntityModelWithServiceResponseAsync​(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:
        appId - The application ID.
        versionId - The version ID.
        entityId - The Pattern.Any entity extractor ID.
        patternAnyUpdateObject - An object containing the explicit list of the Pattern.Any entity.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • deletePatternAnyEntityModel

        public OperationStatus deletePatternAnyEntityModel​(UUID appId,
                                                           String versionId,
                                                           UUID entityId)
        Deletes a Pattern.Any entity extractor from a version of the application.
        Specified by:
        deletePatternAnyEntityModel in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The Pattern.Any entity extractor ID.
        Returns:
        the OperationStatus object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • deletePatternAnyEntityModelAsync

        public com.microsoft.rest.ServiceFuture<OperationStatus> deletePatternAnyEntityModelAsync​(UUID appId,
                                                                                                  String versionId,
                                                                                                  UUID entityId,
                                                                                                  com.microsoft.rest.ServiceCallback<OperationStatus> serviceCallback)
        Deletes a Pattern.Any entity extractor from a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The Pattern.Any entity extractor ID.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • deletePatternAnyEntityModelAsync

        public rx.Observable<OperationStatus> deletePatternAnyEntityModelAsync​(UUID appId,
                                                                               String versionId,
                                                                               UUID entityId)
        Deletes a Pattern.Any entity extractor from a version of the application.
        Specified by:
        deletePatternAnyEntityModelAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The Pattern.Any entity extractor ID.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • deletePatternAnyEntityModelWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> deletePatternAnyEntityModelWithServiceResponseAsync​(UUID appId,
                                                                                                                                      String versionId,
                                                                                                                                      UUID entityId)
        Deletes a Pattern.Any entity extractor from a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The Pattern.Any entity extractor ID.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • 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.
        Specified by:
        getEntityRole in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - entity ID.
        roleId - entity role ID.
        Returns:
        the EntityRole object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • getEntityRoleAsync

        public com.microsoft.rest.ServiceFuture<EntityRole> getEntityRoleAsync​(UUID appId,
                                                                               String versionId,
                                                                               UUID entityId,
                                                                               UUID roleId,
                                                                               com.microsoft.rest.ServiceCallback<EntityRole> serviceCallback)
        Get one role for a given entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - entity ID.
        roleId - entity role ID.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getEntityRoleAsync

        public rx.Observable<EntityRole> getEntityRoleAsync​(UUID appId,
                                                            String versionId,
                                                            UUID entityId,
                                                            UUID roleId)
        Get one role for a given entity in a version of the application.
        Specified by:
        getEntityRoleAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - entity ID.
        roleId - entity role ID.
        Returns:
        the observable to the EntityRole object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getEntityRoleWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<EntityRole>> getEntityRoleWithServiceResponseAsync​(UUID appId,
                                                                                                                   String versionId,
                                                                                                                   UUID entityId,
                                                                                                                   UUID roleId)
        Get one role for a given entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - entity ID.
        roleId - entity role ID.
        Returns:
        the observable to the EntityRole object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • 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.
        Specified by:
        updateEntityRole in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity ID.
        roleId - The entity role ID.
        updateEntityRoleOptionalParameter - 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 validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • updateEntityRoleAsync

        public com.microsoft.rest.ServiceFuture<OperationStatus> updateEntityRoleAsync​(UUID appId,
                                                                                       String versionId,
                                                                                       UUID entityId,
                                                                                       UUID roleId,
                                                                                       UpdateEntityRoleOptionalParameter updateEntityRoleOptionalParameter,
                                                                                       com.microsoft.rest.ServiceCallback<OperationStatus> serviceCallback)
        Update a role for a given entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity ID.
        roleId - The entity role ID.
        updateEntityRoleOptionalParameter - the object representing the optional parameters to be set before calling this API
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • updateEntityRoleAsync

        public rx.Observable<OperationStatus> updateEntityRoleAsync​(UUID appId,
                                                                    String versionId,
                                                                    UUID entityId,
                                                                    UUID roleId,
                                                                    UpdateEntityRoleOptionalParameter updateEntityRoleOptionalParameter)
        Update a role for a given entity in a version of the application.
        Specified by:
        updateEntityRoleAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity ID.
        roleId - The entity role ID.
        updateEntityRoleOptionalParameter - 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
      • updateEntityRoleWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> updateEntityRoleWithServiceResponseAsync​(UUID appId,
                                                                                                                           String versionId,
                                                                                                                           UUID entityId,
                                                                                                                           UUID roleId,
                                                                                                                           UpdateEntityRoleOptionalParameter updateEntityRoleOptionalParameter)
        Update a role for a given entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity ID.
        roleId - The entity role ID.
        updateEntityRoleOptionalParameter - 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
      • updateEntityRoleWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> updateEntityRoleWithServiceResponseAsync​(UUID appId,
                                                                                                                           String versionId,
                                                                                                                           UUID entityId,
                                                                                                                           UUID roleId,
                                                                                                                           String name)
        Update a role for a given entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity ID.
        roleId - The entity role ID.
        name - The entity role name.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • updateEntityRole

        public com.microsoft.azure.cognitiveservices.language.luis.authoring.implementation.ModelsImpl.ModelsUpdateEntityRoleParameters updateEntityRole()
        Description copied from interface: Models
        Update a role for a given entity in a version of the application.
        Specified by:
        updateEntityRole in interface Models
        Returns:
        the first stage of the updateEntityRole call
      • deleteEntityRole

        public OperationStatus deleteEntityRole​(UUID appId,
                                                String versionId,
                                                UUID entityId,
                                                UUID roleId)
        Delete an entity role in a version of the application.
        Specified by:
        deleteEntityRole in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity ID.
        roleId - The entity role Id.
        Returns:
        the OperationStatus object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • deleteEntityRoleAsync

        public com.microsoft.rest.ServiceFuture<OperationStatus> deleteEntityRoleAsync​(UUID appId,
                                                                                       String versionId,
                                                                                       UUID entityId,
                                                                                       UUID roleId,
                                                                                       com.microsoft.rest.ServiceCallback<OperationStatus> serviceCallback)
        Delete an entity role in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity ID.
        roleId - The entity role Id.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • deleteEntityRoleAsync

        public rx.Observable<OperationStatus> deleteEntityRoleAsync​(UUID appId,
                                                                    String versionId,
                                                                    UUID entityId,
                                                                    UUID roleId)
        Delete an entity role in a version of the application.
        Specified by:
        deleteEntityRoleAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity ID.
        roleId - The entity role Id.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • deleteEntityRoleWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> deleteEntityRoleWithServiceResponseAsync​(UUID appId,
                                                                                                                           String versionId,
                                                                                                                           UUID entityId,
                                                                                                                           UUID roleId)
        Delete an entity role in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity ID.
        roleId - The entity role Id.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • 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.
        Specified by:
        getPrebuiltEntityRole in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - entity ID.
        roleId - entity role ID.
        Returns:
        the EntityRole object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • getPrebuiltEntityRoleAsync

        public com.microsoft.rest.ServiceFuture<EntityRole> getPrebuiltEntityRoleAsync​(UUID appId,
                                                                                       String versionId,
                                                                                       UUID entityId,
                                                                                       UUID roleId,
                                                                                       com.microsoft.rest.ServiceCallback<EntityRole> serviceCallback)
        Get one role for a given prebuilt entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - entity ID.
        roleId - entity role ID.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getPrebuiltEntityRoleAsync

        public rx.Observable<EntityRole> getPrebuiltEntityRoleAsync​(UUID appId,
                                                                    String versionId,
                                                                    UUID entityId,
                                                                    UUID roleId)
        Get one role for a given prebuilt entity in a version of the application.
        Specified by:
        getPrebuiltEntityRoleAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - entity ID.
        roleId - entity role ID.
        Returns:
        the observable to the EntityRole object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getPrebuiltEntityRoleWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<EntityRole>> getPrebuiltEntityRoleWithServiceResponseAsync​(UUID appId,
                                                                                                                           String versionId,
                                                                                                                           UUID entityId,
                                                                                                                           UUID roleId)
        Get one role for a given prebuilt entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - entity ID.
        roleId - entity role ID.
        Returns:
        the observable to the EntityRole object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • 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.
        Specified by:
        updatePrebuiltEntityRole in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity ID.
        roleId - The entity role ID.
        updatePrebuiltEntityRoleOptionalParameter - 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 validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • updatePrebuiltEntityRoleAsync

        public com.microsoft.rest.ServiceFuture<OperationStatus> updatePrebuiltEntityRoleAsync​(UUID appId,
                                                                                               String versionId,
                                                                                               UUID entityId,
                                                                                               UUID roleId,
                                                                                               UpdatePrebuiltEntityRoleOptionalParameter updatePrebuiltEntityRoleOptionalParameter,
                                                                                               com.microsoft.rest.ServiceCallback<OperationStatus> serviceCallback)
        Update a role for a given prebuilt entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity ID.
        roleId - The entity role ID.
        updatePrebuiltEntityRoleOptionalParameter - the object representing the optional parameters to be set before calling this API
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • updatePrebuiltEntityRoleAsync

        public rx.Observable<OperationStatus> updatePrebuiltEntityRoleAsync​(UUID appId,
                                                                            String versionId,
                                                                            UUID entityId,
                                                                            UUID roleId,
                                                                            UpdatePrebuiltEntityRoleOptionalParameter updatePrebuiltEntityRoleOptionalParameter)
        Update a role for a given prebuilt entity in a version of the application.
        Specified by:
        updatePrebuiltEntityRoleAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity ID.
        roleId - The entity role ID.
        updatePrebuiltEntityRoleOptionalParameter - 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
      • updatePrebuiltEntityRoleWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> updatePrebuiltEntityRoleWithServiceResponseAsync​(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:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity ID.
        roleId - The entity role ID.
        updatePrebuiltEntityRoleOptionalParameter - 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
      • updatePrebuiltEntityRoleWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> updatePrebuiltEntityRoleWithServiceResponseAsync​(UUID appId,
                                                                                                                                   String versionId,
                                                                                                                                   UUID entityId,
                                                                                                                                   UUID roleId,
                                                                                                                                   String name)
        Update a role for a given prebuilt entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity ID.
        roleId - The entity role ID.
        name - The entity role name.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • updatePrebuiltEntityRole

        public com.microsoft.azure.cognitiveservices.language.luis.authoring.implementation.ModelsImpl.ModelsUpdatePrebuiltEntityRoleParameters updatePrebuiltEntityRole()
        Description copied from interface: Models
        Update a role for a given prebuilt entity in a version of the application.
        Specified by:
        updatePrebuiltEntityRole in interface Models
        Returns:
        the first stage of the updatePrebuiltEntityRole call
      • 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.
        Specified by:
        deletePrebuiltEntityRole in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity ID.
        roleId - The entity role Id.
        Returns:
        the OperationStatus object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • deletePrebuiltEntityRoleAsync

        public com.microsoft.rest.ServiceFuture<OperationStatus> deletePrebuiltEntityRoleAsync​(UUID appId,
                                                                                               String versionId,
                                                                                               UUID entityId,
                                                                                               UUID roleId,
                                                                                               com.microsoft.rest.ServiceCallback<OperationStatus> serviceCallback)
        Delete a role in a prebuilt entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity ID.
        roleId - The entity role Id.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • deletePrebuiltEntityRoleAsync

        public rx.Observable<OperationStatus> deletePrebuiltEntityRoleAsync​(UUID appId,
                                                                            String versionId,
                                                                            UUID entityId,
                                                                            UUID roleId)
        Delete a role in a prebuilt entity in a version of the application.
        Specified by:
        deletePrebuiltEntityRoleAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity ID.
        roleId - The entity role Id.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • deletePrebuiltEntityRoleWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> deletePrebuiltEntityRoleWithServiceResponseAsync​(UUID appId,
                                                                                                                                   String versionId,
                                                                                                                                   UUID entityId,
                                                                                                                                   UUID roleId)
        Delete a role in a prebuilt entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity ID.
        roleId - The entity role Id.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • 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.
        Specified by:
        getClosedListEntityRole in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - entity ID.
        roleId - entity role ID.
        Returns:
        the EntityRole object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • getClosedListEntityRoleAsync

        public com.microsoft.rest.ServiceFuture<EntityRole> getClosedListEntityRoleAsync​(UUID appId,
                                                                                         String versionId,
                                                                                         UUID entityId,
                                                                                         UUID roleId,
                                                                                         com.microsoft.rest.ServiceCallback<EntityRole> serviceCallback)
        Get one role for a given list entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - entity ID.
        roleId - entity role ID.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getClosedListEntityRoleAsync

        public rx.Observable<EntityRole> getClosedListEntityRoleAsync​(UUID appId,
                                                                      String versionId,
                                                                      UUID entityId,
                                                                      UUID roleId)
        Get one role for a given list entity in a version of the application.
        Specified by:
        getClosedListEntityRoleAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - entity ID.
        roleId - entity role ID.
        Returns:
        the observable to the EntityRole object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getClosedListEntityRoleWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<EntityRole>> getClosedListEntityRoleWithServiceResponseAsync​(UUID appId,
                                                                                                                             String versionId,
                                                                                                                             UUID entityId,
                                                                                                                             UUID roleId)
        Get one role for a given list entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - entity ID.
        roleId - entity role ID.
        Returns:
        the observable to the EntityRole object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • 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.
        Specified by:
        updateClosedListEntityRole in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity ID.
        roleId - The entity role ID.
        updateClosedListEntityRoleOptionalParameter - 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 validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • updateClosedListEntityRoleAsync

        public com.microsoft.rest.ServiceFuture<OperationStatus> updateClosedListEntityRoleAsync​(UUID appId,
                                                                                                 String versionId,
                                                                                                 UUID entityId,
                                                                                                 UUID roleId,
                                                                                                 UpdateClosedListEntityRoleOptionalParameter updateClosedListEntityRoleOptionalParameter,
                                                                                                 com.microsoft.rest.ServiceCallback<OperationStatus> serviceCallback)
        Update a role for a given list entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity ID.
        roleId - The entity role ID.
        updateClosedListEntityRoleOptionalParameter - the object representing the optional parameters to be set before calling this API
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • updateClosedListEntityRoleAsync

        public rx.Observable<OperationStatus> updateClosedListEntityRoleAsync​(UUID appId,
                                                                              String versionId,
                                                                              UUID entityId,
                                                                              UUID roleId,
                                                                              UpdateClosedListEntityRoleOptionalParameter updateClosedListEntityRoleOptionalParameter)
        Update a role for a given list entity in a version of the application.
        Specified by:
        updateClosedListEntityRoleAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity ID.
        roleId - The entity role ID.
        updateClosedListEntityRoleOptionalParameter - 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
      • updateClosedListEntityRoleWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> updateClosedListEntityRoleWithServiceResponseAsync​(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:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity ID.
        roleId - The entity role ID.
        updateClosedListEntityRoleOptionalParameter - 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
      • updateClosedListEntityRoleWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> updateClosedListEntityRoleWithServiceResponseAsync​(UUID appId,
                                                                                                                                     String versionId,
                                                                                                                                     UUID entityId,
                                                                                                                                     UUID roleId,
                                                                                                                                     String name)
        Update a role for a given list entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity ID.
        roleId - The entity role ID.
        name - The entity role name.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • updateClosedListEntityRole

        public com.microsoft.azure.cognitiveservices.language.luis.authoring.implementation.ModelsImpl.ModelsUpdateClosedListEntityRoleParameters updateClosedListEntityRole()
        Description copied from interface: Models
        Update a role for a given list entity in a version of the application.
        Specified by:
        updateClosedListEntityRole in interface Models
        Returns:
        the first stage of the updateClosedListEntityRole call
      • 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.
        Specified by:
        deleteClosedListEntityRole in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity ID.
        roleId - The entity role Id.
        Returns:
        the OperationStatus object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • deleteClosedListEntityRoleAsync

        public com.microsoft.rest.ServiceFuture<OperationStatus> deleteClosedListEntityRoleAsync​(UUID appId,
                                                                                                 String versionId,
                                                                                                 UUID entityId,
                                                                                                 UUID roleId,
                                                                                                 com.microsoft.rest.ServiceCallback<OperationStatus> serviceCallback)
        Delete a role for a given list entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity ID.
        roleId - The entity role Id.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • deleteClosedListEntityRoleAsync

        public rx.Observable<OperationStatus> deleteClosedListEntityRoleAsync​(UUID appId,
                                                                              String versionId,
                                                                              UUID entityId,
                                                                              UUID roleId)
        Delete a role for a given list entity in a version of the application.
        Specified by:
        deleteClosedListEntityRoleAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity ID.
        roleId - The entity role Id.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • deleteClosedListEntityRoleWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> deleteClosedListEntityRoleWithServiceResponseAsync​(UUID appId,
                                                                                                                                     String versionId,
                                                                                                                                     UUID entityId,
                                                                                                                                     UUID roleId)
        Delete a role for a given list entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity ID.
        roleId - The entity role Id.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • 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.
        Specified by:
        getRegexEntityRole in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - entity ID.
        roleId - entity role ID.
        Returns:
        the EntityRole object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • getRegexEntityRoleAsync

        public com.microsoft.rest.ServiceFuture<EntityRole> getRegexEntityRoleAsync​(UUID appId,
                                                                                    String versionId,
                                                                                    UUID entityId,
                                                                                    UUID roleId,
                                                                                    com.microsoft.rest.ServiceCallback<EntityRole> serviceCallback)
        Get one role for a given regular expression entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - entity ID.
        roleId - entity role ID.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getRegexEntityRoleAsync

        public rx.Observable<EntityRole> getRegexEntityRoleAsync​(UUID appId,
                                                                 String versionId,
                                                                 UUID entityId,
                                                                 UUID roleId)
        Get one role for a given regular expression entity in a version of the application.
        Specified by:
        getRegexEntityRoleAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - entity ID.
        roleId - entity role ID.
        Returns:
        the observable to the EntityRole object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getRegexEntityRoleWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<EntityRole>> getRegexEntityRoleWithServiceResponseAsync​(UUID appId,
                                                                                                                        String versionId,
                                                                                                                        UUID entityId,
                                                                                                                        UUID roleId)
        Get one role for a given regular expression entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - entity ID.
        roleId - entity role ID.
        Returns:
        the observable to the EntityRole object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • 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.
        Specified by:
        updateRegexEntityRole in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity ID.
        roleId - The entity role ID.
        updateRegexEntityRoleOptionalParameter - 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 validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • updateRegexEntityRoleAsync

        public com.microsoft.rest.ServiceFuture<OperationStatus> updateRegexEntityRoleAsync​(UUID appId,
                                                                                            String versionId,
                                                                                            UUID entityId,
                                                                                            UUID roleId,
                                                                                            UpdateRegexEntityRoleOptionalParameter updateRegexEntityRoleOptionalParameter,
                                                                                            com.microsoft.rest.ServiceCallback<OperationStatus> serviceCallback)
        Update a role for a given regular expression entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity ID.
        roleId - The entity role ID.
        updateRegexEntityRoleOptionalParameter - the object representing the optional parameters to be set before calling this API
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • updateRegexEntityRoleAsync

        public rx.Observable<OperationStatus> updateRegexEntityRoleAsync​(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.
        Specified by:
        updateRegexEntityRoleAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity ID.
        roleId - The entity role ID.
        updateRegexEntityRoleOptionalParameter - 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
      • updateRegexEntityRoleWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> updateRegexEntityRoleWithServiceResponseAsync​(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:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity ID.
        roleId - The entity role ID.
        updateRegexEntityRoleOptionalParameter - 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
      • updateRegexEntityRoleWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> updateRegexEntityRoleWithServiceResponseAsync​(UUID appId,
                                                                                                                                String versionId,
                                                                                                                                UUID entityId,
                                                                                                                                UUID roleId,
                                                                                                                                String name)
        Update a role for a given regular expression entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity ID.
        roleId - The entity role ID.
        name - The entity role name.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • updateRegexEntityRole

        public com.microsoft.azure.cognitiveservices.language.luis.authoring.implementation.ModelsImpl.ModelsUpdateRegexEntityRoleParameters updateRegexEntityRole()
        Description copied from interface: Models
        Update a role for a given regular expression entity in a version of the application.
        Specified by:
        updateRegexEntityRole in interface Models
        Returns:
        the first stage of the updateRegexEntityRole call
      • 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.
        Specified by:
        deleteRegexEntityRole in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity ID.
        roleId - The entity role Id.
        Returns:
        the OperationStatus object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • deleteRegexEntityRoleAsync

        public com.microsoft.rest.ServiceFuture<OperationStatus> deleteRegexEntityRoleAsync​(UUID appId,
                                                                                            String versionId,
                                                                                            UUID entityId,
                                                                                            UUID roleId,
                                                                                            com.microsoft.rest.ServiceCallback<OperationStatus> serviceCallback)
        Delete a role for a given regular expression in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity ID.
        roleId - The entity role Id.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • deleteRegexEntityRoleAsync

        public rx.Observable<OperationStatus> deleteRegexEntityRoleAsync​(UUID appId,
                                                                         String versionId,
                                                                         UUID entityId,
                                                                         UUID roleId)
        Delete a role for a given regular expression in a version of the application.
        Specified by:
        deleteRegexEntityRoleAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity ID.
        roleId - The entity role Id.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • deleteRegexEntityRoleWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> deleteRegexEntityRoleWithServiceResponseAsync​(UUID appId,
                                                                                                                                String versionId,
                                                                                                                                UUID entityId,
                                                                                                                                UUID roleId)
        Delete a role for a given regular expression in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity ID.
        roleId - The entity role Id.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • 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.
        Specified by:
        getCompositeEntityRole in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        cEntityId - The composite entity extractor ID.
        roleId - entity role ID.
        Returns:
        the EntityRole object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • getCompositeEntityRoleAsync

        public com.microsoft.rest.ServiceFuture<EntityRole> getCompositeEntityRoleAsync​(UUID appId,
                                                                                        String versionId,
                                                                                        UUID cEntityId,
                                                                                        UUID roleId,
                                                                                        com.microsoft.rest.ServiceCallback<EntityRole> serviceCallback)
        Get one role for a given composite entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        cEntityId - The composite entity extractor ID.
        roleId - entity role ID.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getCompositeEntityRoleAsync

        public rx.Observable<EntityRole> getCompositeEntityRoleAsync​(UUID appId,
                                                                     String versionId,
                                                                     UUID cEntityId,
                                                                     UUID roleId)
        Get one role for a given composite entity in a version of the application.
        Specified by:
        getCompositeEntityRoleAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        cEntityId - The composite entity extractor ID.
        roleId - entity role ID.
        Returns:
        the observable to the EntityRole object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getCompositeEntityRoleWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<EntityRole>> getCompositeEntityRoleWithServiceResponseAsync​(UUID appId,
                                                                                                                            String versionId,
                                                                                                                            UUID cEntityId,
                                                                                                                            UUID roleId)
        Get one role for a given composite entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        cEntityId - The composite entity extractor ID.
        roleId - entity role ID.
        Returns:
        the observable to the EntityRole object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • 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.
        Specified by:
        updateCompositeEntityRole in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        cEntityId - The composite entity extractor ID.
        roleId - The entity role ID.
        updateCompositeEntityRoleOptionalParameter - 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 validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • updateCompositeEntityRoleAsync

        public com.microsoft.rest.ServiceFuture<OperationStatus> updateCompositeEntityRoleAsync​(UUID appId,
                                                                                                String versionId,
                                                                                                UUID cEntityId,
                                                                                                UUID roleId,
                                                                                                UpdateCompositeEntityRoleOptionalParameter updateCompositeEntityRoleOptionalParameter,
                                                                                                com.microsoft.rest.ServiceCallback<OperationStatus> serviceCallback)
        Update a role for a given composite entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        cEntityId - The composite entity extractor ID.
        roleId - The entity role ID.
        updateCompositeEntityRoleOptionalParameter - the object representing the optional parameters to be set before calling this API
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • updateCompositeEntityRoleAsync

        public rx.Observable<OperationStatus> updateCompositeEntityRoleAsync​(UUID appId,
                                                                             String versionId,
                                                                             UUID cEntityId,
                                                                             UUID roleId,
                                                                             UpdateCompositeEntityRoleOptionalParameter updateCompositeEntityRoleOptionalParameter)
        Update a role for a given composite entity in a version of the application.
        Specified by:
        updateCompositeEntityRoleAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        cEntityId - The composite entity extractor ID.
        roleId - The entity role ID.
        updateCompositeEntityRoleOptionalParameter - 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
      • updateCompositeEntityRoleWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> updateCompositeEntityRoleWithServiceResponseAsync​(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:
        appId - The application ID.
        versionId - The version ID.
        cEntityId - The composite entity extractor ID.
        roleId - The entity role ID.
        updateCompositeEntityRoleOptionalParameter - 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
      • updateCompositeEntityRoleWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> updateCompositeEntityRoleWithServiceResponseAsync​(UUID appId,
                                                                                                                                    String versionId,
                                                                                                                                    UUID cEntityId,
                                                                                                                                    UUID roleId,
                                                                                                                                    String name)
        Update a role for a given composite entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        cEntityId - The composite entity extractor ID.
        roleId - The entity role ID.
        name - The entity role name.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • updateCompositeEntityRole

        public com.microsoft.azure.cognitiveservices.language.luis.authoring.implementation.ModelsImpl.ModelsUpdateCompositeEntityRoleParameters updateCompositeEntityRole()
        Description copied from interface: Models
        Update a role for a given composite entity in a version of the application.
        Specified by:
        updateCompositeEntityRole in interface Models
        Returns:
        the first stage of the updateCompositeEntityRole call
      • 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.
        Specified by:
        deleteCompositeEntityRole in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        cEntityId - The composite entity extractor ID.
        roleId - The entity role Id.
        Returns:
        the OperationStatus object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • deleteCompositeEntityRoleAsync

        public com.microsoft.rest.ServiceFuture<OperationStatus> deleteCompositeEntityRoleAsync​(UUID appId,
                                                                                                String versionId,
                                                                                                UUID cEntityId,
                                                                                                UUID roleId,
                                                                                                com.microsoft.rest.ServiceCallback<OperationStatus> serviceCallback)
        Delete a role for a given composite entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        cEntityId - The composite entity extractor ID.
        roleId - The entity role Id.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • deleteCompositeEntityRoleAsync

        public rx.Observable<OperationStatus> deleteCompositeEntityRoleAsync​(UUID appId,
                                                                             String versionId,
                                                                             UUID cEntityId,
                                                                             UUID roleId)
        Delete a role for a given composite entity in a version of the application.
        Specified by:
        deleteCompositeEntityRoleAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        cEntityId - The composite entity extractor ID.
        roleId - The entity role Id.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • deleteCompositeEntityRoleWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> deleteCompositeEntityRoleWithServiceResponseAsync​(UUID appId,
                                                                                                                                    String versionId,
                                                                                                                                    UUID cEntityId,
                                                                                                                                    UUID roleId)
        Delete a role for a given composite entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        cEntityId - The composite entity extractor ID.
        roleId - The entity role Id.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • 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.
        Specified by:
        getPatternAnyEntityRole in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - entity ID.
        roleId - entity role ID.
        Returns:
        the EntityRole object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • getPatternAnyEntityRoleAsync

        public com.microsoft.rest.ServiceFuture<EntityRole> getPatternAnyEntityRoleAsync​(UUID appId,
                                                                                         String versionId,
                                                                                         UUID entityId,
                                                                                         UUID roleId,
                                                                                         com.microsoft.rest.ServiceCallback<EntityRole> serviceCallback)
        Get one role for a given Pattern.any entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - entity ID.
        roleId - entity role ID.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getPatternAnyEntityRoleAsync

        public rx.Observable<EntityRole> getPatternAnyEntityRoleAsync​(UUID appId,
                                                                      String versionId,
                                                                      UUID entityId,
                                                                      UUID roleId)
        Get one role for a given Pattern.any entity in a version of the application.
        Specified by:
        getPatternAnyEntityRoleAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - entity ID.
        roleId - entity role ID.
        Returns:
        the observable to the EntityRole object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getPatternAnyEntityRoleWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<EntityRole>> getPatternAnyEntityRoleWithServiceResponseAsync​(UUID appId,
                                                                                                                             String versionId,
                                                                                                                             UUID entityId,
                                                                                                                             UUID roleId)
        Get one role for a given Pattern.any entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - entity ID.
        roleId - entity role ID.
        Returns:
        the observable to the EntityRole object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • 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.
        Specified by:
        updatePatternAnyEntityRole in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity ID.
        roleId - The entity role ID.
        updatePatternAnyEntityRoleOptionalParameter - 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 validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • updatePatternAnyEntityRoleAsync

        public com.microsoft.rest.ServiceFuture<OperationStatus> updatePatternAnyEntityRoleAsync​(UUID appId,
                                                                                                 String versionId,
                                                                                                 UUID entityId,
                                                                                                 UUID roleId,
                                                                                                 UpdatePatternAnyEntityRoleOptionalParameter updatePatternAnyEntityRoleOptionalParameter,
                                                                                                 com.microsoft.rest.ServiceCallback<OperationStatus> serviceCallback)
        Update a role for a given Pattern.any entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity ID.
        roleId - The entity role ID.
        updatePatternAnyEntityRoleOptionalParameter - the object representing the optional parameters to be set before calling this API
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • updatePatternAnyEntityRoleAsync

        public rx.Observable<OperationStatus> updatePatternAnyEntityRoleAsync​(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.
        Specified by:
        updatePatternAnyEntityRoleAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity ID.
        roleId - The entity role ID.
        updatePatternAnyEntityRoleOptionalParameter - 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
      • updatePatternAnyEntityRoleWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> updatePatternAnyEntityRoleWithServiceResponseAsync​(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:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity ID.
        roleId - The entity role ID.
        updatePatternAnyEntityRoleOptionalParameter - 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
      • updatePatternAnyEntityRoleWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> updatePatternAnyEntityRoleWithServiceResponseAsync​(UUID appId,
                                                                                                                                     String versionId,
                                                                                                                                     UUID entityId,
                                                                                                                                     UUID roleId,
                                                                                                                                     String name)
        Update a role for a given Pattern.any entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity ID.
        roleId - The entity role ID.
        name - The entity role name.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • updatePatternAnyEntityRole

        public com.microsoft.azure.cognitiveservices.language.luis.authoring.implementation.ModelsImpl.ModelsUpdatePatternAnyEntityRoleParameters updatePatternAnyEntityRole()
        Description copied from interface: Models
        Update a role for a given Pattern.any entity in a version of the application.
        Specified by:
        updatePatternAnyEntityRole in interface Models
        Returns:
        the first stage of the updatePatternAnyEntityRole call
      • 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.
        Specified by:
        deletePatternAnyEntityRole in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity ID.
        roleId - The entity role Id.
        Returns:
        the OperationStatus object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • deletePatternAnyEntityRoleAsync

        public com.microsoft.rest.ServiceFuture<OperationStatus> deletePatternAnyEntityRoleAsync​(UUID appId,
                                                                                                 String versionId,
                                                                                                 UUID entityId,
                                                                                                 UUID roleId,
                                                                                                 com.microsoft.rest.ServiceCallback<OperationStatus> serviceCallback)
        Delete a role for a given Pattern.any entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity ID.
        roleId - The entity role Id.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • deletePatternAnyEntityRoleAsync

        public rx.Observable<OperationStatus> deletePatternAnyEntityRoleAsync​(UUID appId,
                                                                              String versionId,
                                                                              UUID entityId,
                                                                              UUID roleId)
        Delete a role for a given Pattern.any entity in a version of the application.
        Specified by:
        deletePatternAnyEntityRoleAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity ID.
        roleId - The entity role Id.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • deletePatternAnyEntityRoleWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> deletePatternAnyEntityRoleWithServiceResponseAsync​(UUID appId,
                                                                                                                                     String versionId,
                                                                                                                                     UUID entityId,
                                                                                                                                     UUID roleId)
        Delete a role for a given Pattern.any entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity ID.
        roleId - The entity role Id.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • 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.
        Specified by:
        getHierarchicalEntityRole in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        hEntityId - The hierarchical entity extractor ID.
        roleId - entity role ID.
        Returns:
        the EntityRole object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • getHierarchicalEntityRoleAsync

        public com.microsoft.rest.ServiceFuture<EntityRole> getHierarchicalEntityRoleAsync​(UUID appId,
                                                                                           String versionId,
                                                                                           UUID hEntityId,
                                                                                           UUID roleId,
                                                                                           com.microsoft.rest.ServiceCallback<EntityRole> serviceCallback)
        Get one role for a given hierarchical entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        hEntityId - The hierarchical entity extractor ID.
        roleId - entity role ID.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getHierarchicalEntityRoleAsync

        public rx.Observable<EntityRole> getHierarchicalEntityRoleAsync​(UUID appId,
                                                                        String versionId,
                                                                        UUID hEntityId,
                                                                        UUID roleId)
        Get one role for a given hierarchical entity in a version of the application.
        Specified by:
        getHierarchicalEntityRoleAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        hEntityId - The hierarchical entity extractor ID.
        roleId - entity role ID.
        Returns:
        the observable to the EntityRole object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getHierarchicalEntityRoleWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<EntityRole>> getHierarchicalEntityRoleWithServiceResponseAsync​(UUID appId,
                                                                                                                               String versionId,
                                                                                                                               UUID hEntityId,
                                                                                                                               UUID roleId)
        Get one role for a given hierarchical entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        hEntityId - The hierarchical entity extractor ID.
        roleId - entity role ID.
        Returns:
        the observable to the EntityRole object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • 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.
        Specified by:
        updateHierarchicalEntityRole in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        hEntityId - The hierarchical entity extractor ID.
        roleId - The entity role ID.
        updateHierarchicalEntityRoleOptionalParameter - 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 validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • updateHierarchicalEntityRoleAsync

        public com.microsoft.rest.ServiceFuture<OperationStatus> updateHierarchicalEntityRoleAsync​(UUID appId,
                                                                                                   String versionId,
                                                                                                   UUID hEntityId,
                                                                                                   UUID roleId,
                                                                                                   UpdateHierarchicalEntityRoleOptionalParameter updateHierarchicalEntityRoleOptionalParameter,
                                                                                                   com.microsoft.rest.ServiceCallback<OperationStatus> serviceCallback)
        Update a role for a given hierarchical entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        hEntityId - The hierarchical entity extractor ID.
        roleId - The entity role ID.
        updateHierarchicalEntityRoleOptionalParameter - the object representing the optional parameters to be set before calling this API
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • updateHierarchicalEntityRoleAsync

        public rx.Observable<OperationStatus> updateHierarchicalEntityRoleAsync​(UUID appId,
                                                                                String versionId,
                                                                                UUID hEntityId,
                                                                                UUID roleId,
                                                                                UpdateHierarchicalEntityRoleOptionalParameter updateHierarchicalEntityRoleOptionalParameter)
        Update a role for a given hierarchical entity in a version of the application.
        Specified by:
        updateHierarchicalEntityRoleAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        hEntityId - The hierarchical entity extractor ID.
        roleId - The entity role ID.
        updateHierarchicalEntityRoleOptionalParameter - 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
      • updateHierarchicalEntityRoleWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> updateHierarchicalEntityRoleWithServiceResponseAsync​(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:
        appId - The application ID.
        versionId - The version ID.
        hEntityId - The hierarchical entity extractor ID.
        roleId - The entity role ID.
        updateHierarchicalEntityRoleOptionalParameter - 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
      • updateHierarchicalEntityRoleWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> updateHierarchicalEntityRoleWithServiceResponseAsync​(UUID appId,
                                                                                                                                       String versionId,
                                                                                                                                       UUID hEntityId,
                                                                                                                                       UUID roleId,
                                                                                                                                       String name)
        Update a role for a given hierarchical entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        hEntityId - The hierarchical entity extractor ID.
        roleId - The entity role ID.
        name - The entity role name.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • updateHierarchicalEntityRole

        public com.microsoft.azure.cognitiveservices.language.luis.authoring.implementation.ModelsImpl.ModelsUpdateHierarchicalEntityRoleParameters updateHierarchicalEntityRole()
        Description copied from interface: Models
        Update a role for a given hierarchical entity in a version of the application.
        Specified by:
        updateHierarchicalEntityRole in interface Models
        Returns:
        the first stage of the updateHierarchicalEntityRole call
      • 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.
        Specified by:
        deleteHierarchicalEntityRole in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        hEntityId - The hierarchical entity extractor ID.
        roleId - The entity role Id.
        Returns:
        the OperationStatus object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • deleteHierarchicalEntityRoleAsync

        public com.microsoft.rest.ServiceFuture<OperationStatus> deleteHierarchicalEntityRoleAsync​(UUID appId,
                                                                                                   String versionId,
                                                                                                   UUID hEntityId,
                                                                                                   UUID roleId,
                                                                                                   com.microsoft.rest.ServiceCallback<OperationStatus> serviceCallback)
        Delete a role for a given hierarchical role in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        hEntityId - The hierarchical entity extractor ID.
        roleId - The entity role Id.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • deleteHierarchicalEntityRoleAsync

        public rx.Observable<OperationStatus> deleteHierarchicalEntityRoleAsync​(UUID appId,
                                                                                String versionId,
                                                                                UUID hEntityId,
                                                                                UUID roleId)
        Delete a role for a given hierarchical role in a version of the application.
        Specified by:
        deleteHierarchicalEntityRoleAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        hEntityId - The hierarchical entity extractor ID.
        roleId - The entity role Id.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • deleteHierarchicalEntityRoleWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> deleteHierarchicalEntityRoleWithServiceResponseAsync​(UUID appId,
                                                                                                                                       String versionId,
                                                                                                                                       UUID hEntityId,
                                                                                                                                       UUID roleId)
        Delete a role for a given hierarchical role in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        hEntityId - The hierarchical entity extractor ID.
        roleId - The entity role Id.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • 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.
        Specified by:
        getCustomEntityRole in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - entity ID.
        roleId - entity role ID.
        Returns:
        the EntityRole object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • getCustomEntityRoleAsync

        public com.microsoft.rest.ServiceFuture<EntityRole> getCustomEntityRoleAsync​(UUID appId,
                                                                                     String versionId,
                                                                                     UUID entityId,
                                                                                     UUID roleId,
                                                                                     com.microsoft.rest.ServiceCallback<EntityRole> serviceCallback)
        Get one role for a given prebuilt entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - entity ID.
        roleId - entity role ID.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getCustomEntityRoleAsync

        public rx.Observable<EntityRole> getCustomEntityRoleAsync​(UUID appId,
                                                                  String versionId,
                                                                  UUID entityId,
                                                                  UUID roleId)
        Get one role for a given prebuilt entity in a version of the application.
        Specified by:
        getCustomEntityRoleAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - entity ID.
        roleId - entity role ID.
        Returns:
        the observable to the EntityRole object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getCustomEntityRoleWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<EntityRole>> getCustomEntityRoleWithServiceResponseAsync​(UUID appId,
                                                                                                                         String versionId,
                                                                                                                         UUID entityId,
                                                                                                                         UUID roleId)
        Get one role for a given prebuilt entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - entity ID.
        roleId - entity role ID.
        Returns:
        the observable to the EntityRole object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • 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.
        Specified by:
        updateCustomPrebuiltEntityRole in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity ID.
        roleId - The entity role ID.
        updateCustomPrebuiltEntityRoleOptionalParameter - 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 validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • updateCustomPrebuiltEntityRoleAsync

        public com.microsoft.rest.ServiceFuture<OperationStatus> updateCustomPrebuiltEntityRoleAsync​(UUID appId,
                                                                                                     String versionId,
                                                                                                     UUID entityId,
                                                                                                     UUID roleId,
                                                                                                     UpdateCustomPrebuiltEntityRoleOptionalParameter updateCustomPrebuiltEntityRoleOptionalParameter,
                                                                                                     com.microsoft.rest.ServiceCallback<OperationStatus> serviceCallback)
        Update a role for a given prebuilt entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity ID.
        roleId - The entity role ID.
        updateCustomPrebuiltEntityRoleOptionalParameter - the object representing the optional parameters to be set before calling this API
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • updateCustomPrebuiltEntityRoleAsync

        public rx.Observable<OperationStatus> updateCustomPrebuiltEntityRoleAsync​(UUID appId,
                                                                                  String versionId,
                                                                                  UUID entityId,
                                                                                  UUID roleId,
                                                                                  UpdateCustomPrebuiltEntityRoleOptionalParameter updateCustomPrebuiltEntityRoleOptionalParameter)
        Update a role for a given prebuilt entity in a version of the application.
        Specified by:
        updateCustomPrebuiltEntityRoleAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity ID.
        roleId - The entity role ID.
        updateCustomPrebuiltEntityRoleOptionalParameter - 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
      • updateCustomPrebuiltEntityRoleWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> updateCustomPrebuiltEntityRoleWithServiceResponseAsync​(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:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity ID.
        roleId - The entity role ID.
        updateCustomPrebuiltEntityRoleOptionalParameter - 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
      • updateCustomPrebuiltEntityRoleWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> updateCustomPrebuiltEntityRoleWithServiceResponseAsync​(UUID appId,
                                                                                                                                         String versionId,
                                                                                                                                         UUID entityId,
                                                                                                                                         UUID roleId,
                                                                                                                                         String name)
        Update a role for a given prebuilt entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity ID.
        roleId - The entity role ID.
        name - The entity role name.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • updateCustomPrebuiltEntityRole

        public com.microsoft.azure.cognitiveservices.language.luis.authoring.implementation.ModelsImpl.ModelsUpdateCustomPrebuiltEntityRoleParameters updateCustomPrebuiltEntityRole()
        Description copied from interface: Models
        Update a role for a given prebuilt entity in a version of the application.
        Specified by:
        updateCustomPrebuiltEntityRole in interface Models
        Returns:
        the first stage of the updateCustomPrebuiltEntityRole call
      • 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.
        Specified by:
        deleteCustomEntityRole in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity ID.
        roleId - The entity role Id.
        Returns:
        the OperationStatus object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • deleteCustomEntityRoleAsync

        public com.microsoft.rest.ServiceFuture<OperationStatus> deleteCustomEntityRoleAsync​(UUID appId,
                                                                                             String versionId,
                                                                                             UUID entityId,
                                                                                             UUID roleId,
                                                                                             com.microsoft.rest.ServiceCallback<OperationStatus> serviceCallback)
        Delete a role for a given prebuilt entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity ID.
        roleId - The entity role Id.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • deleteCustomEntityRoleAsync

        public rx.Observable<OperationStatus> deleteCustomEntityRoleAsync​(UUID appId,
                                                                          String versionId,
                                                                          UUID entityId,
                                                                          UUID roleId)
        Delete a role for a given prebuilt entity in a version of the application.
        Specified by:
        deleteCustomEntityRoleAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity ID.
        roleId - The entity role Id.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • deleteCustomEntityRoleWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> deleteCustomEntityRoleWithServiceResponseAsync​(UUID appId,
                                                                                                                                 String versionId,
                                                                                                                                 UUID entityId,
                                                                                                                                 UUID roleId)
        Delete a role for a given prebuilt entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The entity ID.
        roleId - The entity role Id.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • 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.
        Specified by:
        getExplicitListItem in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The Pattern.Any entity Id.
        itemId - The explicit list item Id.
        Returns:
        the ExplicitListItem object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • getExplicitListItemAsync

        public com.microsoft.rest.ServiceFuture<ExplicitListItem> getExplicitListItemAsync​(UUID appId,
                                                                                           String versionId,
                                                                                           UUID entityId,
                                                                                           long itemId,
                                                                                           com.microsoft.rest.ServiceCallback<ExplicitListItem> serviceCallback)
        Get the explicit (exception) list of the pattern.any entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The Pattern.Any entity Id.
        itemId - The explicit list item Id.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getExplicitListItemAsync

        public rx.Observable<ExplicitListItem> getExplicitListItemAsync​(UUID appId,
                                                                        String versionId,
                                                                        UUID entityId,
                                                                        long itemId)
        Get the explicit (exception) list of the pattern.any entity in a version of the application.
        Specified by:
        getExplicitListItemAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The Pattern.Any entity Id.
        itemId - The explicit list item Id.
        Returns:
        the observable to the ExplicitListItem object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getExplicitListItemWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<ExplicitListItem>> getExplicitListItemWithServiceResponseAsync​(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:
        appId - The application ID.
        versionId - The version ID.
        entityId - The Pattern.Any entity Id.
        itemId - The explicit list item Id.
        Returns:
        the observable to the ExplicitListItem object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • 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.
        Specified by:
        updateExplicitListItem in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The Pattern.Any entity extractor ID.
        itemId - The explicit list item ID.
        updateExplicitListItemOptionalParameter - 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 validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • updateExplicitListItemAsync

        public com.microsoft.rest.ServiceFuture<OperationStatus> updateExplicitListItemAsync​(UUID appId,
                                                                                             String versionId,
                                                                                             UUID entityId,
                                                                                             long itemId,
                                                                                             UpdateExplicitListItemOptionalParameter updateExplicitListItemOptionalParameter,
                                                                                             com.microsoft.rest.ServiceCallback<OperationStatus> serviceCallback)
        Updates an explicit (exception) list item for a Pattern.Any entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The Pattern.Any entity extractor ID.
        itemId - The explicit list item ID.
        updateExplicitListItemOptionalParameter - the object representing the optional parameters to be set before calling this API
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • updateExplicitListItemAsync

        public rx.Observable<OperationStatus> updateExplicitListItemAsync​(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.
        Specified by:
        updateExplicitListItemAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The Pattern.Any entity extractor ID.
        itemId - The explicit list item ID.
        updateExplicitListItemOptionalParameter - 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
      • updateExplicitListItemWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> updateExplicitListItemWithServiceResponseAsync​(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:
        appId - The application ID.
        versionId - The version ID.
        entityId - The Pattern.Any entity extractor ID.
        itemId - The explicit list item ID.
        updateExplicitListItemOptionalParameter - 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
      • updateExplicitListItemWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> updateExplicitListItemWithServiceResponseAsync​(UUID appId,
                                                                                                                                 String versionId,
                                                                                                                                 UUID entityId,
                                                                                                                                 long itemId,
                                                                                                                                 String explicitListItem)
        Updates an explicit (exception) list item for a Pattern.Any entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The Pattern.Any entity extractor ID.
        itemId - The explicit list item ID.
        explicitListItem - The explicit list item.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • updateExplicitListItem

        public com.microsoft.azure.cognitiveservices.language.luis.authoring.implementation.ModelsImpl.ModelsUpdateExplicitListItemParameters updateExplicitListItem()
        Description copied from interface: Models
        Updates an explicit (exception) list item for a Pattern.Any entity in a version of the application.
        Specified by:
        updateExplicitListItem in interface Models
        Returns:
        the first stage of the updateExplicitListItem call
      • 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.
        Specified by:
        deleteExplicitListItem in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The pattern.any entity id.
        itemId - The explicit list item which will be deleted.
        Returns:
        the OperationStatus object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • deleteExplicitListItemAsync

        public com.microsoft.rest.ServiceFuture<OperationStatus> deleteExplicitListItemAsync​(UUID appId,
                                                                                             String versionId,
                                                                                             UUID entityId,
                                                                                             long itemId,
                                                                                             com.microsoft.rest.ServiceCallback<OperationStatus> serviceCallback)
        Delete an item from the explicit (exception) list for a Pattern.any entity in a version of the application.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The pattern.any entity id.
        itemId - The explicit list item which will be deleted.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • deleteExplicitListItemAsync

        public rx.Observable<OperationStatus> deleteExplicitListItemAsync​(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.
        Specified by:
        deleteExplicitListItemAsync in interface Models
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        entityId - The pattern.any entity id.
        itemId - The explicit list item which will be deleted.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • deleteExplicitListItemWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> deleteExplicitListItemWithServiceResponseAsync​(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:
        appId - The application ID.
        versionId - The version ID.
        entityId - The pattern.any entity id.
        itemId - The explicit list item which will be deleted.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation