Class TagsApi


  • public class TagsApi
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      TagModel createTag​(java.util.UUID productId, CreateTagModel createTagModel)
      Create Tag This endpoint creates a new Tag in a specified Product identified by the `productId` parameter, which can be obtained from the [List Products](#operation/get-products) endpoint.
      okhttp3.Call createTagAsync​(java.util.UUID productId, CreateTagModel createTagModel, ApiCallback<TagModel> _callback)
      Create Tag (asynchronously) This endpoint creates a new Tag in a specified Product identified by the `productId` parameter, which can be obtained from the [List Products](#operation/get-products) endpoint.
      okhttp3.Call createTagCall​(java.util.UUID productId, CreateTagModel createTagModel, ApiCallback _callback)
      Build call for createTag
      ApiResponse<TagModel> createTagWithHttpInfo​(java.util.UUID productId, CreateTagModel createTagModel)
      Create Tag This endpoint creates a new Tag in a specified Product identified by the `productId` parameter, which can be obtained from the [List Products](#operation/get-products) endpoint.
      void deleteTag​(java.lang.Long tagId)
      Delete Tag This endpoint deletes a Tag identified by the `tagId` parameter.
      okhttp3.Call deleteTagAsync​(java.lang.Long tagId, ApiCallback<java.lang.Void> _callback)
      Delete Tag (asynchronously) This endpoint deletes a Tag identified by the `tagId` parameter.
      okhttp3.Call deleteTagCall​(java.lang.Long tagId, ApiCallback _callback)
      Build call for deleteTag
      ApiResponse<java.lang.Void> deleteTagWithHttpInfo​(java.lang.Long tagId)
      Delete Tag This endpoint deletes a Tag identified by the `tagId` parameter.
      ApiClient getApiClient()  
      java.lang.String getCustomBaseUrl()  
      int getHostIndex()  
      java.util.List<SettingModel> getSettingsByTag​(java.lang.Long tagId)
      List Settings by Tag This endpoint returns the list of the Settings that has the specified Tag, identified by the `tagId` parameter.
      okhttp3.Call getSettingsByTagAsync​(java.lang.Long tagId, ApiCallback<java.util.List<SettingModel>> _callback)
      List Settings by Tag (asynchronously) This endpoint returns the list of the Settings that has the specified Tag, identified by the `tagId` parameter.
      okhttp3.Call getSettingsByTagCall​(java.lang.Long tagId, ApiCallback _callback)
      Build call for getSettingsByTag
      ApiResponse<java.util.List<SettingModel>> getSettingsByTagWithHttpInfo​(java.lang.Long tagId)
      List Settings by Tag This endpoint returns the list of the Settings that has the specified Tag, identified by the `tagId` parameter.
      TagModel getTag​(java.lang.Long tagId)
      Get Tag This endpoint returns the metadata of a Tag identified by the `tagId`.
      okhttp3.Call getTagAsync​(java.lang.Long tagId, ApiCallback<TagModel> _callback)
      Get Tag (asynchronously) This endpoint returns the metadata of a Tag identified by the `tagId`.
      okhttp3.Call getTagCall​(java.lang.Long tagId, ApiCallback _callback)
      Build call for getTag
      java.util.List<TagModel> getTags​(java.util.UUID productId)
      List Tags This endpoint returns the list of the Tags in a specified Product, identified by the `productId` parameter.
      okhttp3.Call getTagsAsync​(java.util.UUID productId, ApiCallback<java.util.List<TagModel>> _callback)
      List Tags (asynchronously) This endpoint returns the list of the Tags in a specified Product, identified by the `productId` parameter.
      okhttp3.Call getTagsCall​(java.util.UUID productId, ApiCallback _callback)
      Build call for getTags
      ApiResponse<java.util.List<TagModel>> getTagsWithHttpInfo​(java.util.UUID productId)
      List Tags This endpoint returns the list of the Tags in a specified Product, identified by the `productId` parameter.
      ApiResponse<TagModel> getTagWithHttpInfo​(java.lang.Long tagId)
      Get Tag This endpoint returns the metadata of a Tag identified by the `tagId`.
      void setApiClient​(ApiClient apiClient)  
      void setCustomBaseUrl​(java.lang.String customBaseUrl)  
      void setHostIndex​(int hostIndex)  
      TagModel updateTag​(java.lang.Long tagId, UpdateTagModel updateTagModel)
      Update Tag This endpoint updates a Tag identified by the `tagId` parameter.
      okhttp3.Call updateTagAsync​(java.lang.Long tagId, UpdateTagModel updateTagModel, ApiCallback<TagModel> _callback)
      Update Tag (asynchronously) This endpoint updates a Tag identified by the `tagId` parameter.
      okhttp3.Call updateTagCall​(java.lang.Long tagId, UpdateTagModel updateTagModel, ApiCallback _callback)
      Build call for updateTag
      ApiResponse<TagModel> updateTagWithHttpInfo​(java.lang.Long tagId, UpdateTagModel updateTagModel)
      Update Tag This endpoint updates a Tag identified by the `tagId` parameter.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TagsApi

        public TagsApi()
      • TagsApi

        public TagsApi​(ApiClient apiClient)
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
      • getHostIndex

        public int getHostIndex()
      • setHostIndex

        public void setHostIndex​(int hostIndex)
      • getCustomBaseUrl

        public java.lang.String getCustomBaseUrl()
      • setCustomBaseUrl

        public void setCustomBaseUrl​(java.lang.String customBaseUrl)
      • createTagCall

        public okhttp3.Call createTagCall​(java.util.UUID productId,
                                          CreateTagModel createTagModel,
                                          ApiCallback _callback)
                                   throws ApiException
        Build call for createTag
        Parameters:
        productId - The identifier of the Organization. (required)
        createTagModel - (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
        Http Response Details
        Status Code Description Response Headers
        201 When the creation was successful. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • createTag

        public TagModel createTag​(java.util.UUID productId,
                                  CreateTagModel createTagModel)
                           throws ApiException
        Create Tag This endpoint creates a new Tag in a specified Product identified by the `productId` parameter, which can be obtained from the [List Products](#operation/get-products) endpoint.
        Parameters:
        productId - The identifier of the Organization. (required)
        createTagModel - (required)
        Returns:
        TagModel
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details
        Status Code Description Response Headers
        201 When the creation was successful. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • createTagWithHttpInfo

        public ApiResponse<TagModel> createTagWithHttpInfo​(java.util.UUID productId,
                                                           CreateTagModel createTagModel)
                                                    throws ApiException
        Create Tag This endpoint creates a new Tag in a specified Product identified by the `productId` parameter, which can be obtained from the [List Products](#operation/get-products) endpoint.
        Parameters:
        productId - The identifier of the Organization. (required)
        createTagModel - (required)
        Returns:
        ApiResponse<TagModel>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details
        Status Code Description Response Headers
        201 When the creation was successful. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • createTagAsync

        public okhttp3.Call createTagAsync​(java.util.UUID productId,
                                           CreateTagModel createTagModel,
                                           ApiCallback<TagModel> _callback)
                                    throws ApiException
        Create Tag (asynchronously) This endpoint creates a new Tag in a specified Product identified by the `productId` parameter, which can be obtained from the [List Products](#operation/get-products) endpoint.
        Parameters:
        productId - The identifier of the Organization. (required)
        createTagModel - (required)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
        Http Response Details
        Status Code Description Response Headers
        201 When the creation was successful. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • deleteTagCall

        public okhttp3.Call deleteTagCall​(java.lang.Long tagId,
                                          ApiCallback _callback)
                                   throws ApiException
        Build call for deleteTag
        Parameters:
        tagId - The identifier of the Tag. (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
        Http Response Details
        Status Code Description Response Headers
        204 When the delete was successful. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • deleteTag

        public void deleteTag​(java.lang.Long tagId)
                       throws ApiException
        Delete Tag This endpoint deletes a Tag identified by the `tagId` parameter. To remove a Tag from a Feature Flag or Setting use the [Update Flag](#operation/update-setting) endpoint.
        Parameters:
        tagId - The identifier of the Tag. (required)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details
        Status Code Description Response Headers
        204 When the delete was successful. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • deleteTagWithHttpInfo

        public ApiResponse<java.lang.Void> deleteTagWithHttpInfo​(java.lang.Long tagId)
                                                          throws ApiException
        Delete Tag This endpoint deletes a Tag identified by the `tagId` parameter. To remove a Tag from a Feature Flag or Setting use the [Update Flag](#operation/update-setting) endpoint.
        Parameters:
        tagId - The identifier of the Tag. (required)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details
        Status Code Description Response Headers
        204 When the delete was successful. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • deleteTagAsync

        public okhttp3.Call deleteTagAsync​(java.lang.Long tagId,
                                           ApiCallback<java.lang.Void> _callback)
                                    throws ApiException
        Delete Tag (asynchronously) This endpoint deletes a Tag identified by the `tagId` parameter. To remove a Tag from a Feature Flag or Setting use the [Update Flag](#operation/update-setting) endpoint.
        Parameters:
        tagId - The identifier of the Tag. (required)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
        Http Response Details
        Status Code Description Response Headers
        204 When the delete was successful. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • getSettingsByTagCall

        public okhttp3.Call getSettingsByTagCall​(java.lang.Long tagId,
                                                 ApiCallback _callback)
                                          throws ApiException
        Build call for getSettingsByTag
        Parameters:
        tagId - The identifier of the Tag. (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
        Http Response Details
        Status Code Description Response Headers
        200 When everything is ok, the settings data returned. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • getSettingsByTag

        public java.util.List<SettingModel> getSettingsByTag​(java.lang.Long tagId)
                                                      throws ApiException
        List Settings by Tag This endpoint returns the list of the Settings that has the specified Tag, identified by the `tagId` parameter.
        Parameters:
        tagId - The identifier of the Tag. (required)
        Returns:
        List<SettingModel>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details
        Status Code Description Response Headers
        200 When everything is ok, the settings data returned. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • getSettingsByTagWithHttpInfo

        public ApiResponse<java.util.List<SettingModel>> getSettingsByTagWithHttpInfo​(java.lang.Long tagId)
                                                                               throws ApiException
        List Settings by Tag This endpoint returns the list of the Settings that has the specified Tag, identified by the `tagId` parameter.
        Parameters:
        tagId - The identifier of the Tag. (required)
        Returns:
        ApiResponse<List<SettingModel>>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details
        Status Code Description Response Headers
        200 When everything is ok, the settings data returned. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • getSettingsByTagAsync

        public okhttp3.Call getSettingsByTagAsync​(java.lang.Long tagId,
                                                  ApiCallback<java.util.List<SettingModel>> _callback)
                                           throws ApiException
        List Settings by Tag (asynchronously) This endpoint returns the list of the Settings that has the specified Tag, identified by the `tagId` parameter.
        Parameters:
        tagId - The identifier of the Tag. (required)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
        Http Response Details
        Status Code Description Response Headers
        200 When everything is ok, the settings data returned. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • getTagCall

        public okhttp3.Call getTagCall​(java.lang.Long tagId,
                                       ApiCallback _callback)
                                throws ApiException
        Build call for getTag
        Parameters:
        tagId - The identifier of the Tag. (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
        Http Response Details
        Status Code Description Response Headers
        200 When everything is ok, the tag data returned. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • getTag

        public TagModel getTag​(java.lang.Long tagId)
                        throws ApiException
        Get Tag This endpoint returns the metadata of a Tag identified by the `tagId`.
        Parameters:
        tagId - The identifier of the Tag. (required)
        Returns:
        TagModel
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details
        Status Code Description Response Headers
        200 When everything is ok, the tag data returned. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • getTagWithHttpInfo

        public ApiResponse<TagModel> getTagWithHttpInfo​(java.lang.Long tagId)
                                                 throws ApiException
        Get Tag This endpoint returns the metadata of a Tag identified by the `tagId`.
        Parameters:
        tagId - The identifier of the Tag. (required)
        Returns:
        ApiResponse<TagModel>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details
        Status Code Description Response Headers
        200 When everything is ok, the tag data returned. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • getTagAsync

        public okhttp3.Call getTagAsync​(java.lang.Long tagId,
                                        ApiCallback<TagModel> _callback)
                                 throws ApiException
        Get Tag (asynchronously) This endpoint returns the metadata of a Tag identified by the `tagId`.
        Parameters:
        tagId - The identifier of the Tag. (required)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
        Http Response Details
        Status Code Description Response Headers
        200 When everything is ok, the tag data returned. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • getTagsCall

        public okhttp3.Call getTagsCall​(java.util.UUID productId,
                                        ApiCallback _callback)
                                 throws ApiException
        Build call for getTags
        Parameters:
        productId - The identifier of the Product. (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
        Http Response Details
        Status Code Description Response Headers
        200 -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • getTags

        public java.util.List<TagModel> getTags​(java.util.UUID productId)
                                         throws ApiException
        List Tags This endpoint returns the list of the Tags in a specified Product, identified by the `productId` parameter.
        Parameters:
        productId - The identifier of the Product. (required)
        Returns:
        List<TagModel>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details
        Status Code Description Response Headers
        200 -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • getTagsWithHttpInfo

        public ApiResponse<java.util.List<TagModel>> getTagsWithHttpInfo​(java.util.UUID productId)
                                                                  throws ApiException
        List Tags This endpoint returns the list of the Tags in a specified Product, identified by the `productId` parameter.
        Parameters:
        productId - The identifier of the Product. (required)
        Returns:
        ApiResponse<List<TagModel>>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details
        Status Code Description Response Headers
        200 -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • getTagsAsync

        public okhttp3.Call getTagsAsync​(java.util.UUID productId,
                                         ApiCallback<java.util.List<TagModel>> _callback)
                                  throws ApiException
        List Tags (asynchronously) This endpoint returns the list of the Tags in a specified Product, identified by the `productId` parameter.
        Parameters:
        productId - The identifier of the Product. (required)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
        Http Response Details
        Status Code Description Response Headers
        200 -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • updateTagCall

        public okhttp3.Call updateTagCall​(java.lang.Long tagId,
                                          UpdateTagModel updateTagModel,
                                          ApiCallback _callback)
                                   throws ApiException
        Build call for updateTag
        Parameters:
        tagId - The identifier of the Tag. (required)
        updateTagModel - (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
        Http Response Details
        Status Code Description Response Headers
        200 -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • updateTag

        public TagModel updateTag​(java.lang.Long tagId,
                                  UpdateTagModel updateTagModel)
                           throws ApiException
        Update Tag This endpoint updates a Tag identified by the `tagId` parameter.
        Parameters:
        tagId - The identifier of the Tag. (required)
        updateTagModel - (required)
        Returns:
        TagModel
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details
        Status Code Description Response Headers
        200 -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • updateTagWithHttpInfo

        public ApiResponse<TagModel> updateTagWithHttpInfo​(java.lang.Long tagId,
                                                           UpdateTagModel updateTagModel)
                                                    throws ApiException
        Update Tag This endpoint updates a Tag identified by the `tagId` parameter.
        Parameters:
        tagId - The identifier of the Tag. (required)
        updateTagModel - (required)
        Returns:
        ApiResponse<TagModel>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details
        Status Code Description Response Headers
        200 -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • updateTagAsync

        public okhttp3.Call updateTagAsync​(java.lang.Long tagId,
                                           UpdateTagModel updateTagModel,
                                           ApiCallback<TagModel> _callback)
                                    throws ApiException
        Update Tag (asynchronously) This endpoint updates a Tag identified by the `tagId` parameter.
        Parameters:
        tagId - The identifier of the Tag. (required)
        updateTagModel - (required)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
        Http Response Details
        Status Code Description Response Headers
        200 -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -