Class ViewsBetaApi


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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      View createView​(java.lang.String ldAPIVersion, java.lang.String projectKey, ViewPost viewPost)
      Create view Create a new view in the given project.
      okhttp3.Call createViewAsync​(java.lang.String ldAPIVersion, java.lang.String projectKey, ViewPost viewPost, ApiCallback<View> _callback)
      Create view (asynchronously) Create a new view in the given project.
      okhttp3.Call createViewCall​(java.lang.String ldAPIVersion, java.lang.String projectKey, ViewPost viewPost, ApiCallback _callback)
      Build call for createView
      ApiResponse<View> createViewWithHttpInfo​(java.lang.String ldAPIVersion, java.lang.String projectKey, ViewPost viewPost)
      Create view Create a new view in the given project.
      void deleteView​(java.lang.String ldAPIVersion, java.lang.String projectKey, java.lang.String viewKey)
      Delete view Delete a specific view by its key.
      okhttp3.Call deleteViewAsync​(java.lang.String ldAPIVersion, java.lang.String projectKey, java.lang.String viewKey, ApiCallback<java.lang.Void> _callback)
      Delete view (asynchronously) Delete a specific view by its key.
      okhttp3.Call deleteViewCall​(java.lang.String ldAPIVersion, java.lang.String projectKey, java.lang.String viewKey, ApiCallback _callback)
      Build call for deleteView
      ApiResponse<java.lang.Void> deleteViewWithHttpInfo​(java.lang.String ldAPIVersion, java.lang.String projectKey, java.lang.String viewKey)
      Delete view Delete a specific view by its key.
      ApiClient getApiClient()  
      java.lang.String getCustomBaseUrl()  
      int getHostIndex()  
      ViewLinkedResources getLinkedResources​(java.lang.String ldAPIVersion, java.lang.String projectKey, java.lang.String viewKey, java.lang.String resourceType, java.lang.Integer limit, java.lang.Integer offset, java.lang.String sort, java.lang.String query, java.lang.String filter, java.util.List<java.lang.String> expand)
      Get linked resources Get a list of all linked resources for a given view.
      okhttp3.Call getLinkedResourcesAsync​(java.lang.String ldAPIVersion, java.lang.String projectKey, java.lang.String viewKey, java.lang.String resourceType, java.lang.Integer limit, java.lang.Integer offset, java.lang.String sort, java.lang.String query, java.lang.String filter, java.util.List<java.lang.String> expand, ApiCallback<ViewLinkedResources> _callback)
      Get linked resources (asynchronously) Get a list of all linked resources for a given view.
      okhttp3.Call getLinkedResourcesCall​(java.lang.String ldAPIVersion, java.lang.String projectKey, java.lang.String viewKey, java.lang.String resourceType, java.lang.Integer limit, java.lang.Integer offset, java.lang.String sort, java.lang.String query, java.lang.String filter, java.util.List<java.lang.String> expand, ApiCallback _callback)
      Build call for getLinkedResources
      ApiResponse<ViewLinkedResources> getLinkedResourcesWithHttpInfo​(java.lang.String ldAPIVersion, java.lang.String projectKey, java.lang.String viewKey, java.lang.String resourceType, java.lang.Integer limit, java.lang.Integer offset, java.lang.String sort, java.lang.String query, java.lang.String filter, java.util.List<java.lang.String> expand)
      Get linked resources Get a list of all linked resources for a given view.
      Views getLinkedViews​(java.lang.String ldAPIVersion, java.lang.String projectKey, java.lang.String resourceType, java.lang.String resourceKey, java.lang.String environmentId, java.lang.Integer limit, java.lang.Integer offset)
      Get linked views for a given resource Get a list of all linked views for a resource.
      okhttp3.Call getLinkedViewsAsync​(java.lang.String ldAPIVersion, java.lang.String projectKey, java.lang.String resourceType, java.lang.String resourceKey, java.lang.String environmentId, java.lang.Integer limit, java.lang.Integer offset, ApiCallback<Views> _callback)
      Get linked views for a given resource (asynchronously) Get a list of all linked views for a resource.
      okhttp3.Call getLinkedViewsCall​(java.lang.String ldAPIVersion, java.lang.String projectKey, java.lang.String resourceType, java.lang.String resourceKey, java.lang.String environmentId, java.lang.Integer limit, java.lang.Integer offset, ApiCallback _callback)
      Build call for getLinkedViews
      ApiResponse<Views> getLinkedViewsWithHttpInfo​(java.lang.String ldAPIVersion, java.lang.String projectKey, java.lang.String resourceType, java.lang.String resourceKey, java.lang.String environmentId, java.lang.Integer limit, java.lang.Integer offset)
      Get linked views for a given resource Get a list of all linked views for a resource.
      View getView​(java.lang.String ldAPIVersion, java.lang.String projectKey, java.lang.String viewKey, java.lang.String sort, java.lang.Integer limit, java.lang.Integer offset, java.lang.String filter, java.util.List<java.lang.String> expand)
      Get view Retrieve a specific view by its key.
      okhttp3.Call getViewAsync​(java.lang.String ldAPIVersion, java.lang.String projectKey, java.lang.String viewKey, java.lang.String sort, java.lang.Integer limit, java.lang.Integer offset, java.lang.String filter, java.util.List<java.lang.String> expand, ApiCallback<View> _callback)
      Get view (asynchronously) Retrieve a specific view by its key.
      okhttp3.Call getViewCall​(java.lang.String ldAPIVersion, java.lang.String projectKey, java.lang.String viewKey, java.lang.String sort, java.lang.Integer limit, java.lang.Integer offset, java.lang.String filter, java.util.List<java.lang.String> expand, ApiCallback _callback)
      Build call for getView
      Views getViews​(java.lang.String ldAPIVersion, java.lang.String projectKey, java.lang.String sort, java.lang.Integer limit, java.lang.Integer offset, java.lang.String filter, java.util.List<java.lang.String> expand)
      List views Get a list of all views in the given project.
      okhttp3.Call getViewsAsync​(java.lang.String ldAPIVersion, java.lang.String projectKey, java.lang.String sort, java.lang.Integer limit, java.lang.Integer offset, java.lang.String filter, java.util.List<java.lang.String> expand, ApiCallback<Views> _callback)
      List views (asynchronously) Get a list of all views in the given project.
      okhttp3.Call getViewsCall​(java.lang.String ldAPIVersion, java.lang.String projectKey, java.lang.String sort, java.lang.Integer limit, java.lang.Integer offset, java.lang.String filter, java.util.List<java.lang.String> expand, ApiCallback _callback)
      Build call for getViews
      ApiResponse<Views> getViewsWithHttpInfo​(java.lang.String ldAPIVersion, java.lang.String projectKey, java.lang.String sort, java.lang.Integer limit, java.lang.Integer offset, java.lang.String filter, java.util.List<java.lang.String> expand)
      List views Get a list of all views in the given project.
      ApiResponse<View> getViewWithHttpInfo​(java.lang.String ldAPIVersion, java.lang.String projectKey, java.lang.String viewKey, java.lang.String sort, java.lang.Integer limit, java.lang.Integer offset, java.lang.String filter, java.util.List<java.lang.String> expand)
      Get view Retrieve a specific view by its key.
      LinkResourceSuccessResponse linkResource​(java.lang.String ldAPIVersion, java.lang.String projectKey, java.lang.String viewKey, java.lang.String resourceType, ViewLinkRequest viewLinkRequest)
      Link resource Link one or multiple resources to a view by keys, filters, or both: - Link flags using flag keys or filters (maintainerId, maintainerTeamKey, tags, state, query) - Link segments using segment IDs or filters (tags, query, unbounded) When both keys and filters are provided, resources matching either condition are linked (union).
      okhttp3.Call linkResourceAsync​(java.lang.String ldAPIVersion, java.lang.String projectKey, java.lang.String viewKey, java.lang.String resourceType, ViewLinkRequest viewLinkRequest, ApiCallback<LinkResourceSuccessResponse> _callback)
      Link resource (asynchronously) Link one or multiple resources to a view by keys, filters, or both: - Link flags using flag keys or filters (maintainerId, maintainerTeamKey, tags, state, query) - Link segments using segment IDs or filters (tags, query, unbounded) When both keys and filters are provided, resources matching either condition are linked (union).
      okhttp3.Call linkResourceCall​(java.lang.String ldAPIVersion, java.lang.String projectKey, java.lang.String viewKey, java.lang.String resourceType, ViewLinkRequest viewLinkRequest, ApiCallback _callback)
      Build call for linkResource
      ApiResponse<LinkResourceSuccessResponse> linkResourceWithHttpInfo​(java.lang.String ldAPIVersion, java.lang.String projectKey, java.lang.String viewKey, java.lang.String resourceType, ViewLinkRequest viewLinkRequest)
      Link resource Link one or multiple resources to a view by keys, filters, or both: - Link flags using flag keys or filters (maintainerId, maintainerTeamKey, tags, state, query) - Link segments using segment IDs or filters (tags, query, unbounded) When both keys and filters are provided, resources matching either condition are linked (union).
      void setApiClient​(ApiClient apiClient)  
      void setCustomBaseUrl​(java.lang.String customBaseUrl)  
      void setHostIndex​(int hostIndex)  
      UnlinkResourceSuccessResponse unlinkResource​(java.lang.String ldAPIVersion, java.lang.String projectKey, java.lang.String viewKey, java.lang.String resourceType, ViewLinkRequest viewLinkRequest)
      Unlink resource Unlink one or multiple resources from a view: - Unlink flags using flag keys - Unlink segments using segment IDs
      okhttp3.Call unlinkResourceAsync​(java.lang.String ldAPIVersion, java.lang.String projectKey, java.lang.String viewKey, java.lang.String resourceType, ViewLinkRequest viewLinkRequest, ApiCallback<UnlinkResourceSuccessResponse> _callback)
      Unlink resource (asynchronously) Unlink one or multiple resources from a view: - Unlink flags using flag keys - Unlink segments using segment IDs
      okhttp3.Call unlinkResourceCall​(java.lang.String ldAPIVersion, java.lang.String projectKey, java.lang.String viewKey, java.lang.String resourceType, ViewLinkRequest viewLinkRequest, ApiCallback _callback)
      Build call for unlinkResource
      ApiResponse<UnlinkResourceSuccessResponse> unlinkResourceWithHttpInfo​(java.lang.String ldAPIVersion, java.lang.String projectKey, java.lang.String viewKey, java.lang.String resourceType, ViewLinkRequest viewLinkRequest)
      Unlink resource Unlink one or multiple resources from a view: - Unlink flags using flag keys - Unlink segments using segment IDs
      View updateView​(java.lang.String ldAPIVersion, java.lang.String projectKey, java.lang.String viewKey, ViewPatch viewPatch)
      Update view Edit an existing view.
      okhttp3.Call updateViewAsync​(java.lang.String ldAPIVersion, java.lang.String projectKey, java.lang.String viewKey, ViewPatch viewPatch, ApiCallback<View> _callback)
      Update view (asynchronously) Edit an existing view.
      okhttp3.Call updateViewCall​(java.lang.String ldAPIVersion, java.lang.String projectKey, java.lang.String viewKey, ViewPatch viewPatch, ApiCallback _callback)
      Build call for updateView
      ApiResponse<View> updateViewWithHttpInfo​(java.lang.String ldAPIVersion, java.lang.String projectKey, java.lang.String viewKey, ViewPatch viewPatch)
      Update view Edit an existing view.
      • Methods inherited from class java.lang.Object

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

      • ViewsBetaApi

        public ViewsBetaApi()
      • ViewsBetaApi

        public ViewsBetaApi​(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)
      • createViewCall

        public okhttp3.Call createViewCall​(@Nonnull
                                           java.lang.String ldAPIVersion,
                                           @Nonnull
                                           java.lang.String projectKey,
                                           @Nonnull
                                           ViewPost viewPost,
                                           ApiCallback _callback)
                                    throws ApiException
        Build call for createView
        Parameters:
        ldAPIVersion - Version of the endpoint. (required)
        projectKey - (required)
        viewPost - View object to create (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • createView

        public View createView​(@Nonnull
                               java.lang.String ldAPIVersion,
                               @Nonnull
                               java.lang.String projectKey,
                               @Nonnull
                               ViewPost viewPost)
                        throws ApiException
        Create view Create a new view in the given project.
        Parameters:
        ldAPIVersion - Version of the endpoint. (required)
        projectKey - (required)
        viewPost - View object to create (required)
        Returns:
        View
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • createViewWithHttpInfo

        public ApiResponse<View> createViewWithHttpInfo​(@Nonnull
                                                        java.lang.String ldAPIVersion,
                                                        @Nonnull
                                                        java.lang.String projectKey,
                                                        @Nonnull
                                                        ViewPost viewPost)
                                                 throws ApiException
        Create view Create a new view in the given project.
        Parameters:
        ldAPIVersion - Version of the endpoint. (required)
        projectKey - (required)
        viewPost - View object to create (required)
        Returns:
        ApiResponse<View>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • createViewAsync

        public okhttp3.Call createViewAsync​(@Nonnull
                                            java.lang.String ldAPIVersion,
                                            @Nonnull
                                            java.lang.String projectKey,
                                            @Nonnull
                                            ViewPost viewPost,
                                            ApiCallback<View> _callback)
                                     throws ApiException
        Create view (asynchronously) Create a new view in the given project.
        Parameters:
        ldAPIVersion - Version of the endpoint. (required)
        projectKey - (required)
        viewPost - View object to create (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
      • deleteViewCall

        public okhttp3.Call deleteViewCall​(@Nonnull
                                           java.lang.String ldAPIVersion,
                                           @Nonnull
                                           java.lang.String projectKey,
                                           @Nonnull
                                           java.lang.String viewKey,
                                           ApiCallback _callback)
                                    throws ApiException
        Build call for deleteView
        Parameters:
        ldAPIVersion - Version of the endpoint. (required)
        projectKey - (required)
        viewKey - (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • deleteView

        public void deleteView​(@Nonnull
                               java.lang.String ldAPIVersion,
                               @Nonnull
                               java.lang.String projectKey,
                               @Nonnull
                               java.lang.String viewKey)
                        throws ApiException
        Delete view Delete a specific view by its key.
        Parameters:
        ldAPIVersion - Version of the endpoint. (required)
        projectKey - (required)
        viewKey - (required)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • deleteViewWithHttpInfo

        public ApiResponse<java.lang.Void> deleteViewWithHttpInfo​(@Nonnull
                                                                  java.lang.String ldAPIVersion,
                                                                  @Nonnull
                                                                  java.lang.String projectKey,
                                                                  @Nonnull
                                                                  java.lang.String viewKey)
                                                           throws ApiException
        Delete view Delete a specific view by its key.
        Parameters:
        ldAPIVersion - Version of the endpoint. (required)
        projectKey - (required)
        viewKey - (required)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • deleteViewAsync

        public okhttp3.Call deleteViewAsync​(@Nonnull
                                            java.lang.String ldAPIVersion,
                                            @Nonnull
                                            java.lang.String projectKey,
                                            @Nonnull
                                            java.lang.String viewKey,
                                            ApiCallback<java.lang.Void> _callback)
                                     throws ApiException
        Delete view (asynchronously) Delete a specific view by its key.
        Parameters:
        ldAPIVersion - Version of the endpoint. (required)
        projectKey - (required)
        viewKey - (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
      • getLinkedResourcesCall

        public okhttp3.Call getLinkedResourcesCall​(@Nonnull
                                                   java.lang.String ldAPIVersion,
                                                   @Nonnull
                                                   java.lang.String projectKey,
                                                   @Nonnull
                                                   java.lang.String viewKey,
                                                   @Nonnull
                                                   java.lang.String resourceType,
                                                   @Nullable
                                                   java.lang.Integer limit,
                                                   @Nullable
                                                   java.lang.Integer offset,
                                                   @Nullable
                                                   java.lang.String sort,
                                                   @Nullable
                                                   java.lang.String query,
                                                   @Nullable
                                                   java.lang.String filter,
                                                   @Nullable
                                                   java.util.List<java.lang.String> expand,
                                                   ApiCallback _callback)
                                            throws ApiException
        Build call for getLinkedResources
        Parameters:
        ldAPIVersion - Version of the endpoint. (required)
        projectKey - (required)
        viewKey - (required)
        resourceType - (required)
        limit - The number of views to return. (optional)
        offset - Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query `limit`. (optional)
        sort - Field to sort by. Default field is `linkedAt`, default order is ascending. (optional, default to linkedAt)
        query - Case-insensitive search query for linked resources. Matches resource key and, when expanded, resource name. (optional)
        filter - Optional resource filter expression for linked resources. - Supported for `flags` and `segments` resource types. - Uses the same syntax as link/unlink and list endpoints. - For `segments`, `environmentId` is required when `filter` is provided. (optional)
        expand - A comma-separated list of fields to expand. (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getLinkedResources

        public ViewLinkedResources getLinkedResources​(@Nonnull
                                                      java.lang.String ldAPIVersion,
                                                      @Nonnull
                                                      java.lang.String projectKey,
                                                      @Nonnull
                                                      java.lang.String viewKey,
                                                      @Nonnull
                                                      java.lang.String resourceType,
                                                      @Nullable
                                                      java.lang.Integer limit,
                                                      @Nullable
                                                      java.lang.Integer offset,
                                                      @Nullable
                                                      java.lang.String sort,
                                                      @Nullable
                                                      java.lang.String query,
                                                      @Nullable
                                                      java.lang.String filter,
                                                      @Nullable
                                                      java.util.List<java.lang.String> expand)
                                               throws ApiException
        Get linked resources Get a list of all linked resources for a given view.
        Parameters:
        ldAPIVersion - Version of the endpoint. (required)
        projectKey - (required)
        viewKey - (required)
        resourceType - (required)
        limit - The number of views to return. (optional)
        offset - Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query `limit`. (optional)
        sort - Field to sort by. Default field is `linkedAt`, default order is ascending. (optional, default to linkedAt)
        query - Case-insensitive search query for linked resources. Matches resource key and, when expanded, resource name. (optional)
        filter - Optional resource filter expression for linked resources. - Supported for `flags` and `segments` resource types. - Uses the same syntax as link/unlink and list endpoints. - For `segments`, `environmentId` is required when `filter` is provided. (optional)
        expand - A comma-separated list of fields to expand. (optional)
        Returns:
        ViewLinkedResources
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getLinkedResourcesWithHttpInfo

        public ApiResponse<ViewLinkedResources> getLinkedResourcesWithHttpInfo​(@Nonnull
                                                                               java.lang.String ldAPIVersion,
                                                                               @Nonnull
                                                                               java.lang.String projectKey,
                                                                               @Nonnull
                                                                               java.lang.String viewKey,
                                                                               @Nonnull
                                                                               java.lang.String resourceType,
                                                                               @Nullable
                                                                               java.lang.Integer limit,
                                                                               @Nullable
                                                                               java.lang.Integer offset,
                                                                               @Nullable
                                                                               java.lang.String sort,
                                                                               @Nullable
                                                                               java.lang.String query,
                                                                               @Nullable
                                                                               java.lang.String filter,
                                                                               @Nullable
                                                                               java.util.List<java.lang.String> expand)
                                                                        throws ApiException
        Get linked resources Get a list of all linked resources for a given view.
        Parameters:
        ldAPIVersion - Version of the endpoint. (required)
        projectKey - (required)
        viewKey - (required)
        resourceType - (required)
        limit - The number of views to return. (optional)
        offset - Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query `limit`. (optional)
        sort - Field to sort by. Default field is `linkedAt`, default order is ascending. (optional, default to linkedAt)
        query - Case-insensitive search query for linked resources. Matches resource key and, when expanded, resource name. (optional)
        filter - Optional resource filter expression for linked resources. - Supported for `flags` and `segments` resource types. - Uses the same syntax as link/unlink and list endpoints. - For `segments`, `environmentId` is required when `filter` is provided. (optional)
        expand - A comma-separated list of fields to expand. (optional)
        Returns:
        ApiResponse<ViewLinkedResources>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getLinkedResourcesAsync

        public okhttp3.Call getLinkedResourcesAsync​(@Nonnull
                                                    java.lang.String ldAPIVersion,
                                                    @Nonnull
                                                    java.lang.String projectKey,
                                                    @Nonnull
                                                    java.lang.String viewKey,
                                                    @Nonnull
                                                    java.lang.String resourceType,
                                                    @Nullable
                                                    java.lang.Integer limit,
                                                    @Nullable
                                                    java.lang.Integer offset,
                                                    @Nullable
                                                    java.lang.String sort,
                                                    @Nullable
                                                    java.lang.String query,
                                                    @Nullable
                                                    java.lang.String filter,
                                                    @Nullable
                                                    java.util.List<java.lang.String> expand,
                                                    ApiCallback<ViewLinkedResources> _callback)
                                             throws ApiException
        Get linked resources (asynchronously) Get a list of all linked resources for a given view.
        Parameters:
        ldAPIVersion - Version of the endpoint. (required)
        projectKey - (required)
        viewKey - (required)
        resourceType - (required)
        limit - The number of views to return. (optional)
        offset - Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query `limit`. (optional)
        sort - Field to sort by. Default field is `linkedAt`, default order is ascending. (optional, default to linkedAt)
        query - Case-insensitive search query for linked resources. Matches resource key and, when expanded, resource name. (optional)
        filter - Optional resource filter expression for linked resources. - Supported for `flags` and `segments` resource types. - Uses the same syntax as link/unlink and list endpoints. - For `segments`, `environmentId` is required when `filter` is provided. (optional)
        expand - A comma-separated list of fields to expand. (optional)
        _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
      • getLinkedViewsCall

        public okhttp3.Call getLinkedViewsCall​(@Nonnull
                                               java.lang.String ldAPIVersion,
                                               @Nonnull
                                               java.lang.String projectKey,
                                               @Nonnull
                                               java.lang.String resourceType,
                                               @Nonnull
                                               java.lang.String resourceKey,
                                               @Nullable
                                               java.lang.String environmentId,
                                               @Nullable
                                               java.lang.Integer limit,
                                               @Nullable
                                               java.lang.Integer offset,
                                               ApiCallback _callback)
                                        throws ApiException
        Build call for getLinkedViews
        Parameters:
        ldAPIVersion - Version of the endpoint. (required)
        projectKey - (required)
        resourceType - (required)
        resourceKey - (required)
        environmentId - Environment ID. Required when resourceType is 'segments' (optional)
        limit - The number of views to return. (optional)
        offset - Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query `limit`. (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getLinkedViews

        public Views getLinkedViews​(@Nonnull
                                    java.lang.String ldAPIVersion,
                                    @Nonnull
                                    java.lang.String projectKey,
                                    @Nonnull
                                    java.lang.String resourceType,
                                    @Nonnull
                                    java.lang.String resourceKey,
                                    @Nullable
                                    java.lang.String environmentId,
                                    @Nullable
                                    java.lang.Integer limit,
                                    @Nullable
                                    java.lang.Integer offset)
                             throws ApiException
        Get linked views for a given resource Get a list of all linked views for a resource. Flags are identified by key. Segments are identified by segment ID.
        Parameters:
        ldAPIVersion - Version of the endpoint. (required)
        projectKey - (required)
        resourceType - (required)
        resourceKey - (required)
        environmentId - Environment ID. Required when resourceType is 'segments' (optional)
        limit - The number of views to return. (optional)
        offset - Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query `limit`. (optional)
        Returns:
        Views
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getLinkedViewsWithHttpInfo

        public ApiResponse<Views> getLinkedViewsWithHttpInfo​(@Nonnull
                                                             java.lang.String ldAPIVersion,
                                                             @Nonnull
                                                             java.lang.String projectKey,
                                                             @Nonnull
                                                             java.lang.String resourceType,
                                                             @Nonnull
                                                             java.lang.String resourceKey,
                                                             @Nullable
                                                             java.lang.String environmentId,
                                                             @Nullable
                                                             java.lang.Integer limit,
                                                             @Nullable
                                                             java.lang.Integer offset)
                                                      throws ApiException
        Get linked views for a given resource Get a list of all linked views for a resource. Flags are identified by key. Segments are identified by segment ID.
        Parameters:
        ldAPIVersion - Version of the endpoint. (required)
        projectKey - (required)
        resourceType - (required)
        resourceKey - (required)
        environmentId - Environment ID. Required when resourceType is 'segments' (optional)
        limit - The number of views to return. (optional)
        offset - Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query `limit`. (optional)
        Returns:
        ApiResponse<Views>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getLinkedViewsAsync

        public okhttp3.Call getLinkedViewsAsync​(@Nonnull
                                                java.lang.String ldAPIVersion,
                                                @Nonnull
                                                java.lang.String projectKey,
                                                @Nonnull
                                                java.lang.String resourceType,
                                                @Nonnull
                                                java.lang.String resourceKey,
                                                @Nullable
                                                java.lang.String environmentId,
                                                @Nullable
                                                java.lang.Integer limit,
                                                @Nullable
                                                java.lang.Integer offset,
                                                ApiCallback<Views> _callback)
                                         throws ApiException
        Get linked views for a given resource (asynchronously) Get a list of all linked views for a resource. Flags are identified by key. Segments are identified by segment ID.
        Parameters:
        ldAPIVersion - Version of the endpoint. (required)
        projectKey - (required)
        resourceType - (required)
        resourceKey - (required)
        environmentId - Environment ID. Required when resourceType is 'segments' (optional)
        limit - The number of views to return. (optional)
        offset - Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query `limit`. (optional)
        _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
      • getViewCall

        public okhttp3.Call getViewCall​(@Nonnull
                                        java.lang.String ldAPIVersion,
                                        @Nonnull
                                        java.lang.String projectKey,
                                        @Nonnull
                                        java.lang.String viewKey,
                                        @Nullable
                                        java.lang.String sort,
                                        @Nullable
                                        java.lang.Integer limit,
                                        @Nullable
                                        java.lang.Integer offset,
                                        @Nullable
                                        java.lang.String filter,
                                        @Nullable
                                        java.util.List<java.lang.String> expand,
                                        ApiCallback _callback)
                                 throws ApiException
        Build call for getView
        Parameters:
        ldAPIVersion - Version of the endpoint. (required)
        projectKey - (required)
        viewKey - (required)
        sort - A sort to apply to the list of views. (optional)
        limit - The number of views to return. (optional)
        offset - Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query `limit`. (optional)
        filter - A filter to apply to the list of views. Supports the following fields and operators: `name` (equals, notEquals, startsWith, contains, anyOf), `key` (equals, notEquals, startsWith, contains, anyOf), `tag` (equals, anyOf), `maintainerId` (equals, anyOf), `isPayloadView` (equals). (optional)
        expand - A comma-separated list of fields to expand. (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getView

        public View getView​(@Nonnull
                            java.lang.String ldAPIVersion,
                            @Nonnull
                            java.lang.String projectKey,
                            @Nonnull
                            java.lang.String viewKey,
                            @Nullable
                            java.lang.String sort,
                            @Nullable
                            java.lang.Integer limit,
                            @Nullable
                            java.lang.Integer offset,
                            @Nullable
                            java.lang.String filter,
                            @Nullable
                            java.util.List<java.lang.String> expand)
                     throws ApiException
        Get view Retrieve a specific view by its key.
        Parameters:
        ldAPIVersion - Version of the endpoint. (required)
        projectKey - (required)
        viewKey - (required)
        sort - A sort to apply to the list of views. (optional)
        limit - The number of views to return. (optional)
        offset - Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query `limit`. (optional)
        filter - A filter to apply to the list of views. Supports the following fields and operators: `name` (equals, notEquals, startsWith, contains, anyOf), `key` (equals, notEquals, startsWith, contains, anyOf), `tag` (equals, anyOf), `maintainerId` (equals, anyOf), `isPayloadView` (equals). (optional)
        expand - A comma-separated list of fields to expand. (optional)
        Returns:
        View
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getViewWithHttpInfo

        public ApiResponse<View> getViewWithHttpInfo​(@Nonnull
                                                     java.lang.String ldAPIVersion,
                                                     @Nonnull
                                                     java.lang.String projectKey,
                                                     @Nonnull
                                                     java.lang.String viewKey,
                                                     @Nullable
                                                     java.lang.String sort,
                                                     @Nullable
                                                     java.lang.Integer limit,
                                                     @Nullable
                                                     java.lang.Integer offset,
                                                     @Nullable
                                                     java.lang.String filter,
                                                     @Nullable
                                                     java.util.List<java.lang.String> expand)
                                              throws ApiException
        Get view Retrieve a specific view by its key.
        Parameters:
        ldAPIVersion - Version of the endpoint. (required)
        projectKey - (required)
        viewKey - (required)
        sort - A sort to apply to the list of views. (optional)
        limit - The number of views to return. (optional)
        offset - Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query `limit`. (optional)
        filter - A filter to apply to the list of views. Supports the following fields and operators: `name` (equals, notEquals, startsWith, contains, anyOf), `key` (equals, notEquals, startsWith, contains, anyOf), `tag` (equals, anyOf), `maintainerId` (equals, anyOf), `isPayloadView` (equals). (optional)
        expand - A comma-separated list of fields to expand. (optional)
        Returns:
        ApiResponse<View>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getViewAsync

        public okhttp3.Call getViewAsync​(@Nonnull
                                         java.lang.String ldAPIVersion,
                                         @Nonnull
                                         java.lang.String projectKey,
                                         @Nonnull
                                         java.lang.String viewKey,
                                         @Nullable
                                         java.lang.String sort,
                                         @Nullable
                                         java.lang.Integer limit,
                                         @Nullable
                                         java.lang.Integer offset,
                                         @Nullable
                                         java.lang.String filter,
                                         @Nullable
                                         java.util.List<java.lang.String> expand,
                                         ApiCallback<View> _callback)
                                  throws ApiException
        Get view (asynchronously) Retrieve a specific view by its key.
        Parameters:
        ldAPIVersion - Version of the endpoint. (required)
        projectKey - (required)
        viewKey - (required)
        sort - A sort to apply to the list of views. (optional)
        limit - The number of views to return. (optional)
        offset - Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query `limit`. (optional)
        filter - A filter to apply to the list of views. Supports the following fields and operators: `name` (equals, notEquals, startsWith, contains, anyOf), `key` (equals, notEquals, startsWith, contains, anyOf), `tag` (equals, anyOf), `maintainerId` (equals, anyOf), `isPayloadView` (equals). (optional)
        expand - A comma-separated list of fields to expand. (optional)
        _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
      • getViewsCall

        public okhttp3.Call getViewsCall​(@Nonnull
                                         java.lang.String ldAPIVersion,
                                         @Nonnull
                                         java.lang.String projectKey,
                                         @Nullable
                                         java.lang.String sort,
                                         @Nullable
                                         java.lang.Integer limit,
                                         @Nullable
                                         java.lang.Integer offset,
                                         @Nullable
                                         java.lang.String filter,
                                         @Nullable
                                         java.util.List<java.lang.String> expand,
                                         ApiCallback _callback)
                                  throws ApiException
        Build call for getViews
        Parameters:
        ldAPIVersion - Version of the endpoint. (required)
        projectKey - (required)
        sort - A sort to apply to the list of views. (optional)
        limit - The number of views to return. (optional)
        offset - Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query `limit`. (optional)
        filter - A filter to apply to the list of views. Supports the following fields and operators: `name` (equals, notEquals, startsWith, contains, anyOf), `key` (equals, notEquals, startsWith, contains, anyOf), `tag` (equals, anyOf), `maintainerId` (equals, anyOf), `isPayloadView` (equals). (optional)
        expand - A comma-separated list of fields to expand. (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getViews

        public Views getViews​(@Nonnull
                              java.lang.String ldAPIVersion,
                              @Nonnull
                              java.lang.String projectKey,
                              @Nullable
                              java.lang.String sort,
                              @Nullable
                              java.lang.Integer limit,
                              @Nullable
                              java.lang.Integer offset,
                              @Nullable
                              java.lang.String filter,
                              @Nullable
                              java.util.List<java.lang.String> expand)
                       throws ApiException
        List views Get a list of all views in the given project.
        Parameters:
        ldAPIVersion - Version of the endpoint. (required)
        projectKey - (required)
        sort - A sort to apply to the list of views. (optional)
        limit - The number of views to return. (optional)
        offset - Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query `limit`. (optional)
        filter - A filter to apply to the list of views. Supports the following fields and operators: `name` (equals, notEquals, startsWith, contains, anyOf), `key` (equals, notEquals, startsWith, contains, anyOf), `tag` (equals, anyOf), `maintainerId` (equals, anyOf), `isPayloadView` (equals). (optional)
        expand - A comma-separated list of fields to expand. (optional)
        Returns:
        Views
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getViewsWithHttpInfo

        public ApiResponse<Views> getViewsWithHttpInfo​(@Nonnull
                                                       java.lang.String ldAPIVersion,
                                                       @Nonnull
                                                       java.lang.String projectKey,
                                                       @Nullable
                                                       java.lang.String sort,
                                                       @Nullable
                                                       java.lang.Integer limit,
                                                       @Nullable
                                                       java.lang.Integer offset,
                                                       @Nullable
                                                       java.lang.String filter,
                                                       @Nullable
                                                       java.util.List<java.lang.String> expand)
                                                throws ApiException
        List views Get a list of all views in the given project.
        Parameters:
        ldAPIVersion - Version of the endpoint. (required)
        projectKey - (required)
        sort - A sort to apply to the list of views. (optional)
        limit - The number of views to return. (optional)
        offset - Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query `limit`. (optional)
        filter - A filter to apply to the list of views. Supports the following fields and operators: `name` (equals, notEquals, startsWith, contains, anyOf), `key` (equals, notEquals, startsWith, contains, anyOf), `tag` (equals, anyOf), `maintainerId` (equals, anyOf), `isPayloadView` (equals). (optional)
        expand - A comma-separated list of fields to expand. (optional)
        Returns:
        ApiResponse<Views>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getViewsAsync

        public okhttp3.Call getViewsAsync​(@Nonnull
                                          java.lang.String ldAPIVersion,
                                          @Nonnull
                                          java.lang.String projectKey,
                                          @Nullable
                                          java.lang.String sort,
                                          @Nullable
                                          java.lang.Integer limit,
                                          @Nullable
                                          java.lang.Integer offset,
                                          @Nullable
                                          java.lang.String filter,
                                          @Nullable
                                          java.util.List<java.lang.String> expand,
                                          ApiCallback<Views> _callback)
                                   throws ApiException
        List views (asynchronously) Get a list of all views in the given project.
        Parameters:
        ldAPIVersion - Version of the endpoint. (required)
        projectKey - (required)
        sort - A sort to apply to the list of views. (optional)
        limit - The number of views to return. (optional)
        offset - Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query `limit`. (optional)
        filter - A filter to apply to the list of views. Supports the following fields and operators: `name` (equals, notEquals, startsWith, contains, anyOf), `key` (equals, notEquals, startsWith, contains, anyOf), `tag` (equals, anyOf), `maintainerId` (equals, anyOf), `isPayloadView` (equals). (optional)
        expand - A comma-separated list of fields to expand. (optional)
        _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
      • linkResourceCall

        public okhttp3.Call linkResourceCall​(@Nonnull
                                             java.lang.String ldAPIVersion,
                                             @Nonnull
                                             java.lang.String projectKey,
                                             @Nonnull
                                             java.lang.String viewKey,
                                             @Nonnull
                                             java.lang.String resourceType,
                                             @Nonnull
                                             ViewLinkRequest viewLinkRequest,
                                             ApiCallback _callback)
                                      throws ApiException
        Build call for linkResource
        Parameters:
        ldAPIVersion - Version of the endpoint. (required)
        projectKey - (required)
        viewKey - (required)
        resourceType - (required)
        viewLinkRequest - Resources to link to the view. You can provide explicit keys/IDs, filters, or both. - Flags: identified by key or filtered by maintainerId, maintainerTeamKey, tags, state, query - Segments: identified by segment ID or filtered by tags, query, unbounded (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • linkResource

        public LinkResourceSuccessResponse linkResource​(@Nonnull
                                                        java.lang.String ldAPIVersion,
                                                        @Nonnull
                                                        java.lang.String projectKey,
                                                        @Nonnull
                                                        java.lang.String viewKey,
                                                        @Nonnull
                                                        java.lang.String resourceType,
                                                        @Nonnull
                                                        ViewLinkRequest viewLinkRequest)
                                                 throws ApiException
        Link resource Link one or multiple resources to a view by keys, filters, or both: - Link flags using flag keys or filters (maintainerId, maintainerTeamKey, tags, state, query) - Link segments using segment IDs or filters (tags, query, unbounded) When both keys and filters are provided, resources matching either condition are linked (union).
        Parameters:
        ldAPIVersion - Version of the endpoint. (required)
        projectKey - (required)
        viewKey - (required)
        resourceType - (required)
        viewLinkRequest - Resources to link to the view. You can provide explicit keys/IDs, filters, or both. - Flags: identified by key or filtered by maintainerId, maintainerTeamKey, tags, state, query - Segments: identified by segment ID or filtered by tags, query, unbounded (required)
        Returns:
        LinkResourceSuccessResponse
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • linkResourceWithHttpInfo

        public ApiResponse<LinkResourceSuccessResponse> linkResourceWithHttpInfo​(@Nonnull
                                                                                 java.lang.String ldAPIVersion,
                                                                                 @Nonnull
                                                                                 java.lang.String projectKey,
                                                                                 @Nonnull
                                                                                 java.lang.String viewKey,
                                                                                 @Nonnull
                                                                                 java.lang.String resourceType,
                                                                                 @Nonnull
                                                                                 ViewLinkRequest viewLinkRequest)
                                                                          throws ApiException
        Link resource Link one or multiple resources to a view by keys, filters, or both: - Link flags using flag keys or filters (maintainerId, maintainerTeamKey, tags, state, query) - Link segments using segment IDs or filters (tags, query, unbounded) When both keys and filters are provided, resources matching either condition are linked (union).
        Parameters:
        ldAPIVersion - Version of the endpoint. (required)
        projectKey - (required)
        viewKey - (required)
        resourceType - (required)
        viewLinkRequest - Resources to link to the view. You can provide explicit keys/IDs, filters, or both. - Flags: identified by key or filtered by maintainerId, maintainerTeamKey, tags, state, query - Segments: identified by segment ID or filtered by tags, query, unbounded (required)
        Returns:
        ApiResponse<LinkResourceSuccessResponse>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • linkResourceAsync

        public okhttp3.Call linkResourceAsync​(@Nonnull
                                              java.lang.String ldAPIVersion,
                                              @Nonnull
                                              java.lang.String projectKey,
                                              @Nonnull
                                              java.lang.String viewKey,
                                              @Nonnull
                                              java.lang.String resourceType,
                                              @Nonnull
                                              ViewLinkRequest viewLinkRequest,
                                              ApiCallback<LinkResourceSuccessResponse> _callback)
                                       throws ApiException
        Link resource (asynchronously) Link one or multiple resources to a view by keys, filters, or both: - Link flags using flag keys or filters (maintainerId, maintainerTeamKey, tags, state, query) - Link segments using segment IDs or filters (tags, query, unbounded) When both keys and filters are provided, resources matching either condition are linked (union).
        Parameters:
        ldAPIVersion - Version of the endpoint. (required)
        projectKey - (required)
        viewKey - (required)
        resourceType - (required)
        viewLinkRequest - Resources to link to the view. You can provide explicit keys/IDs, filters, or both. - Flags: identified by key or filtered by maintainerId, maintainerTeamKey, tags, state, query - Segments: identified by segment ID or filtered by tags, query, unbounded (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
      • unlinkResourceCall

        public okhttp3.Call unlinkResourceCall​(@Nonnull
                                               java.lang.String ldAPIVersion,
                                               @Nonnull
                                               java.lang.String projectKey,
                                               @Nonnull
                                               java.lang.String viewKey,
                                               @Nonnull
                                               java.lang.String resourceType,
                                               @Nonnull
                                               ViewLinkRequest viewLinkRequest,
                                               ApiCallback _callback)
                                        throws ApiException
        Build call for unlinkResource
        Parameters:
        ldAPIVersion - Version of the endpoint. (required)
        projectKey - (required)
        viewKey - (required)
        resourceType - (required)
        viewLinkRequest - The resource to link to the view. Flags are identified by key. Segments are identified by segment ID. (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • unlinkResource

        public UnlinkResourceSuccessResponse unlinkResource​(@Nonnull
                                                            java.lang.String ldAPIVersion,
                                                            @Nonnull
                                                            java.lang.String projectKey,
                                                            @Nonnull
                                                            java.lang.String viewKey,
                                                            @Nonnull
                                                            java.lang.String resourceType,
                                                            @Nonnull
                                                            ViewLinkRequest viewLinkRequest)
                                                     throws ApiException
        Unlink resource Unlink one or multiple resources from a view: - Unlink flags using flag keys - Unlink segments using segment IDs
        Parameters:
        ldAPIVersion - Version of the endpoint. (required)
        projectKey - (required)
        viewKey - (required)
        resourceType - (required)
        viewLinkRequest - The resource to link to the view. Flags are identified by key. Segments are identified by segment ID. (required)
        Returns:
        UnlinkResourceSuccessResponse
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • unlinkResourceWithHttpInfo

        public ApiResponse<UnlinkResourceSuccessResponse> unlinkResourceWithHttpInfo​(@Nonnull
                                                                                     java.lang.String ldAPIVersion,
                                                                                     @Nonnull
                                                                                     java.lang.String projectKey,
                                                                                     @Nonnull
                                                                                     java.lang.String viewKey,
                                                                                     @Nonnull
                                                                                     java.lang.String resourceType,
                                                                                     @Nonnull
                                                                                     ViewLinkRequest viewLinkRequest)
                                                                              throws ApiException
        Unlink resource Unlink one or multiple resources from a view: - Unlink flags using flag keys - Unlink segments using segment IDs
        Parameters:
        ldAPIVersion - Version of the endpoint. (required)
        projectKey - (required)
        viewKey - (required)
        resourceType - (required)
        viewLinkRequest - The resource to link to the view. Flags are identified by key. Segments are identified by segment ID. (required)
        Returns:
        ApiResponse<UnlinkResourceSuccessResponse>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • unlinkResourceAsync

        public okhttp3.Call unlinkResourceAsync​(@Nonnull
                                                java.lang.String ldAPIVersion,
                                                @Nonnull
                                                java.lang.String projectKey,
                                                @Nonnull
                                                java.lang.String viewKey,
                                                @Nonnull
                                                java.lang.String resourceType,
                                                @Nonnull
                                                ViewLinkRequest viewLinkRequest,
                                                ApiCallback<UnlinkResourceSuccessResponse> _callback)
                                         throws ApiException
        Unlink resource (asynchronously) Unlink one or multiple resources from a view: - Unlink flags using flag keys - Unlink segments using segment IDs
        Parameters:
        ldAPIVersion - Version of the endpoint. (required)
        projectKey - (required)
        viewKey - (required)
        resourceType - (required)
        viewLinkRequest - The resource to link to the view. Flags are identified by key. Segments are identified by segment ID. (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
      • updateViewCall

        public okhttp3.Call updateViewCall​(@Nonnull
                                           java.lang.String ldAPIVersion,
                                           @Nonnull
                                           java.lang.String projectKey,
                                           @Nonnull
                                           java.lang.String viewKey,
                                           @Nonnull
                                           ViewPatch viewPatch,
                                           ApiCallback _callback)
                                    throws ApiException
        Build call for updateView
        Parameters:
        ldAPIVersion - Version of the endpoint. (required)
        projectKey - (required)
        viewKey - (required)
        viewPatch - A JSON representation of the view including only the fields to update. (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • updateView

        public View updateView​(@Nonnull
                               java.lang.String ldAPIVersion,
                               @Nonnull
                               java.lang.String projectKey,
                               @Nonnull
                               java.lang.String viewKey,
                               @Nonnull
                               ViewPatch viewPatch)
                        throws ApiException
        Update view Edit an existing view. The request body must be a JSON object of the fields to update. The values you include replace the existing values for the fields. Here's an example: ``` { \"description\": \"Example updated description\", \"tags\": [\"new-tag\"] } ```
        Parameters:
        ldAPIVersion - Version of the endpoint. (required)
        projectKey - (required)
        viewKey - (required)
        viewPatch - A JSON representation of the view including only the fields to update. (required)
        Returns:
        View
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • updateViewWithHttpInfo

        public ApiResponse<View> updateViewWithHttpInfo​(@Nonnull
                                                        java.lang.String ldAPIVersion,
                                                        @Nonnull
                                                        java.lang.String projectKey,
                                                        @Nonnull
                                                        java.lang.String viewKey,
                                                        @Nonnull
                                                        ViewPatch viewPatch)
                                                 throws ApiException
        Update view Edit an existing view. The request body must be a JSON object of the fields to update. The values you include replace the existing values for the fields. Here's an example: ``` { \"description\": \"Example updated description\", \"tags\": [\"new-tag\"] } ```
        Parameters:
        ldAPIVersion - Version of the endpoint. (required)
        projectKey - (required)
        viewKey - (required)
        viewPatch - A JSON representation of the view including only the fields to update. (required)
        Returns:
        ApiResponse<View>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • updateViewAsync

        public okhttp3.Call updateViewAsync​(@Nonnull
                                            java.lang.String ldAPIVersion,
                                            @Nonnull
                                            java.lang.String projectKey,
                                            @Nonnull
                                            java.lang.String viewKey,
                                            @Nonnull
                                            ViewPatch viewPatch,
                                            ApiCallback<View> _callback)
                                     throws ApiException
        Update view (asynchronously) Edit an existing view. The request body must be a JSON object of the fields to update. The values you include replace the existing values for the fields. Here's an example: ``` { \"description\": \"Example updated description\", \"tags\": [\"new-tag\"] } ```
        Parameters:
        ldAPIVersion - Version of the endpoint. (required)
        projectKey - (required)
        viewKey - (required)
        viewPatch - A JSON representation of the view including only the fields to update. (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