Class ApplicationsBetaApi


  • public class ApplicationsBetaApi
    extends java.lang.Object
    • Constructor Detail

      • ApplicationsBetaApi

        public ApplicationsBetaApi()
      • ApplicationsBetaApi

        public ApplicationsBetaApi​(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)
      • deleteApplicationCall

        public okhttp3.Call deleteApplicationCall​(@Nonnull
                                                  java.lang.String applicationKey,
                                                  ApiCallback _callback)
                                           throws ApiException
        Build call for deleteApplication
        Parameters:
        applicationKey - The application key (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • deleteApplication

        public void deleteApplication​(@Nonnull
                                      java.lang.String applicationKey)
                               throws ApiException
        Delete application Delete an application.
        Parameters:
        applicationKey - The application key (required)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • deleteApplicationWithHttpInfo

        public ApiResponse<java.lang.Void> deleteApplicationWithHttpInfo​(@Nonnull
                                                                         java.lang.String applicationKey)
                                                                  throws ApiException
        Delete application Delete an application.
        Parameters:
        applicationKey - The application key (required)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • deleteApplicationAsync

        public okhttp3.Call deleteApplicationAsync​(@Nonnull
                                                   java.lang.String applicationKey,
                                                   ApiCallback<java.lang.Void> _callback)
                                            throws ApiException
        Delete application (asynchronously) Delete an application.
        Parameters:
        applicationKey - The application key (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
      • deleteApplicationVersionCall

        public okhttp3.Call deleteApplicationVersionCall​(@Nonnull
                                                         java.lang.String applicationKey,
                                                         @Nonnull
                                                         java.lang.String versionKey,
                                                         ApiCallback _callback)
                                                  throws ApiException
        Build call for deleteApplicationVersion
        Parameters:
        applicationKey - The application key (required)
        versionKey - The application version key (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • deleteApplicationVersion

        public void deleteApplicationVersion​(@Nonnull
                                             java.lang.String applicationKey,
                                             @Nonnull
                                             java.lang.String versionKey)
                                      throws ApiException
        Delete application version Delete an application version.
        Parameters:
        applicationKey - The application key (required)
        versionKey - The application version key (required)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • deleteApplicationVersionWithHttpInfo

        public ApiResponse<java.lang.Void> deleteApplicationVersionWithHttpInfo​(@Nonnull
                                                                                java.lang.String applicationKey,
                                                                                @Nonnull
                                                                                java.lang.String versionKey)
                                                                         throws ApiException
        Delete application version Delete an application version.
        Parameters:
        applicationKey - The application key (required)
        versionKey - The application version key (required)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • deleteApplicationVersionAsync

        public okhttp3.Call deleteApplicationVersionAsync​(@Nonnull
                                                          java.lang.String applicationKey,
                                                          @Nonnull
                                                          java.lang.String versionKey,
                                                          ApiCallback<java.lang.Void> _callback)
                                                   throws ApiException
        Delete application version (asynchronously) Delete an application version.
        Parameters:
        applicationKey - The application key (required)
        versionKey - The application version key (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
      • getApplicationCall

        public okhttp3.Call getApplicationCall​(@Nonnull
                                               java.lang.String applicationKey,
                                               @Nullable
                                               java.lang.String expand,
                                               ApiCallback _callback)
                                        throws ApiException
        Build call for getApplication
        Parameters:
        applicationKey - The application key (required)
        expand - A comma-separated list of properties that can reveal additional information in the response. Options: `flags`. (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getApplication

        public ApplicationRep getApplication​(@Nonnull
                                             java.lang.String applicationKey,
                                             @Nullable
                                             java.lang.String expand)
                                      throws ApiException
        Get application by key Retrieve an application by the application key. ### Expanding the application response LaunchDarkly supports expanding the \"Get application\" response to include additional fields. To expand the response, append the `expand` query parameter and include the following: * `flags` includes details on the flags that have been evaluated by the application For example, use `?expand=flags` to include the `flags` field in the response. By default, this field is **not** included in the response.
        Parameters:
        applicationKey - The application key (required)
        expand - A comma-separated list of properties that can reveal additional information in the response. Options: `flags`. (optional)
        Returns:
        ApplicationRep
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getApplicationWithHttpInfo

        public ApiResponse<ApplicationRep> getApplicationWithHttpInfo​(@Nonnull
                                                                      java.lang.String applicationKey,
                                                                      @Nullable
                                                                      java.lang.String expand)
                                                               throws ApiException
        Get application by key Retrieve an application by the application key. ### Expanding the application response LaunchDarkly supports expanding the \"Get application\" response to include additional fields. To expand the response, append the `expand` query parameter and include the following: * `flags` includes details on the flags that have been evaluated by the application For example, use `?expand=flags` to include the `flags` field in the response. By default, this field is **not** included in the response.
        Parameters:
        applicationKey - The application key (required)
        expand - A comma-separated list of properties that can reveal additional information in the response. Options: `flags`. (optional)
        Returns:
        ApiResponse<ApplicationRep>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getApplicationAsync

        public okhttp3.Call getApplicationAsync​(@Nonnull
                                                java.lang.String applicationKey,
                                                @Nullable
                                                java.lang.String expand,
                                                ApiCallback<ApplicationRep> _callback)
                                         throws ApiException
        Get application by key (asynchronously) Retrieve an application by the application key. ### Expanding the application response LaunchDarkly supports expanding the \"Get application\" response to include additional fields. To expand the response, append the `expand` query parameter and include the following: * `flags` includes details on the flags that have been evaluated by the application For example, use `?expand=flags` to include the `flags` field in the response. By default, this field is **not** included in the response.
        Parameters:
        applicationKey - The application key (required)
        expand - A comma-separated list of properties that can reveal additional information in the response. Options: `flags`. (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
      • getApplicationVersionsCall

        public okhttp3.Call getApplicationVersionsCall​(@Nonnull
                                                       java.lang.String applicationKey,
                                                       @Nullable
                                                       java.lang.String filter,
                                                       @Nullable
                                                       java.lang.Long limit,
                                                       @Nullable
                                                       java.lang.Long offset,
                                                       @Nullable
                                                       java.lang.String sort,
                                                       ApiCallback _callback)
                                                throws ApiException
        Build call for getApplicationVersions
        Parameters:
        applicationKey - The application key (required)
        filter - Accepts filter by `key`, `name`, `supported`, and `autoAdded`. To learn more about the filter syntax, read [Filtering applications and application versions](https://launchdarkly.com/docs/api/applications-beta#filtering-applications-and-application-versions). (optional)
        limit - The number of versions to return. Defaults to 50. (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 - Accepts sorting order and fields. Fields can be comma separated. Possible fields are `creationDate`, `name`. Examples: `sort=name` sort by names ascending, `sort=-name,creationDate` sort by names descending and creationDate ascending. (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getApplicationVersions

        public ApplicationVersionsCollectionRep getApplicationVersions​(@Nonnull
                                                                       java.lang.String applicationKey,
                                                                       @Nullable
                                                                       java.lang.String filter,
                                                                       @Nullable
                                                                       java.lang.Long limit,
                                                                       @Nullable
                                                                       java.lang.Long offset,
                                                                       @Nullable
                                                                       java.lang.String sort)
                                                                throws ApiException
        Get application versions by application key Get a list of versions for a specific application in an account.
        Parameters:
        applicationKey - The application key (required)
        filter - Accepts filter by `key`, `name`, `supported`, and `autoAdded`. To learn more about the filter syntax, read [Filtering applications and application versions](https://launchdarkly.com/docs/api/applications-beta#filtering-applications-and-application-versions). (optional)
        limit - The number of versions to return. Defaults to 50. (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 - Accepts sorting order and fields. Fields can be comma separated. Possible fields are `creationDate`, `name`. Examples: `sort=name` sort by names ascending, `sort=-name,creationDate` sort by names descending and creationDate ascending. (optional)
        Returns:
        ApplicationVersionsCollectionRep
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getApplicationVersionsWithHttpInfo

        public ApiResponse<ApplicationVersionsCollectionRep> getApplicationVersionsWithHttpInfo​(@Nonnull
                                                                                                java.lang.String applicationKey,
                                                                                                @Nullable
                                                                                                java.lang.String filter,
                                                                                                @Nullable
                                                                                                java.lang.Long limit,
                                                                                                @Nullable
                                                                                                java.lang.Long offset,
                                                                                                @Nullable
                                                                                                java.lang.String sort)
                                                                                         throws ApiException
        Get application versions by application key Get a list of versions for a specific application in an account.
        Parameters:
        applicationKey - The application key (required)
        filter - Accepts filter by `key`, `name`, `supported`, and `autoAdded`. To learn more about the filter syntax, read [Filtering applications and application versions](https://launchdarkly.com/docs/api/applications-beta#filtering-applications-and-application-versions). (optional)
        limit - The number of versions to return. Defaults to 50. (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 - Accepts sorting order and fields. Fields can be comma separated. Possible fields are `creationDate`, `name`. Examples: `sort=name` sort by names ascending, `sort=-name,creationDate` sort by names descending and creationDate ascending. (optional)
        Returns:
        ApiResponse<ApplicationVersionsCollectionRep>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getApplicationVersionsAsync

        public okhttp3.Call getApplicationVersionsAsync​(@Nonnull
                                                        java.lang.String applicationKey,
                                                        @Nullable
                                                        java.lang.String filter,
                                                        @Nullable
                                                        java.lang.Long limit,
                                                        @Nullable
                                                        java.lang.Long offset,
                                                        @Nullable
                                                        java.lang.String sort,
                                                        ApiCallback<ApplicationVersionsCollectionRep> _callback)
                                                 throws ApiException
        Get application versions by application key (asynchronously) Get a list of versions for a specific application in an account.
        Parameters:
        applicationKey - The application key (required)
        filter - Accepts filter by `key`, `name`, `supported`, and `autoAdded`. To learn more about the filter syntax, read [Filtering applications and application versions](https://launchdarkly.com/docs/api/applications-beta#filtering-applications-and-application-versions). (optional)
        limit - The number of versions to return. Defaults to 50. (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 - Accepts sorting order and fields. Fields can be comma separated. Possible fields are `creationDate`, `name`. Examples: `sort=name` sort by names ascending, `sort=-name,creationDate` sort by names descending and creationDate ascending. (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
      • getApplicationsCall

        public okhttp3.Call getApplicationsCall​(@Nullable
                                                java.lang.String filter,
                                                @Nullable
                                                java.lang.Long limit,
                                                @Nullable
                                                java.lang.Long offset,
                                                @Nullable
                                                java.lang.String sort,
                                                @Nullable
                                                java.lang.String expand,
                                                ApiCallback _callback)
                                         throws ApiException
        Build call for getApplications
        Parameters:
        filter - Accepts filter by `key`, `name`, `kind`, and `autoAdded`. To learn more about the filter syntax, read [Filtering applications and application versions](https://launchdarkly.com/docs/api/applications-beta#filtering-applications-and-application-versions). (optional)
        limit - The number of applications to return. Defaults to 10. (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 - Accepts sorting order and fields. Fields can be comma separated. Possible fields are `creationDate`, `name`. Examples: `sort=name` sort by names ascending, `sort=-name,creationDate` sort by names descending and creationDate ascending. (optional)
        expand - A comma-separated list of properties that can reveal additional information in the response. Options: `flags`. (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getApplications

        public ApplicationCollectionRep getApplications​(@Nullable
                                                        java.lang.String filter,
                                                        @Nullable
                                                        java.lang.Long limit,
                                                        @Nullable
                                                        java.lang.Long offset,
                                                        @Nullable
                                                        java.lang.String sort,
                                                        @Nullable
                                                        java.lang.String expand)
                                                 throws ApiException
        Get applications Get a list of applications. ### Expanding the applications response LaunchDarkly supports expanding the \"Get applications\" response to include additional fields. To expand the response, append the `expand` query parameter and include the following: * `flags` includes details on the flags that have been evaluated by the application For example, use `?expand=flags` to include the `flags` field in the response. By default, this field is **not** included in the response.
        Parameters:
        filter - Accepts filter by `key`, `name`, `kind`, and `autoAdded`. To learn more about the filter syntax, read [Filtering applications and application versions](https://launchdarkly.com/docs/api/applications-beta#filtering-applications-and-application-versions). (optional)
        limit - The number of applications to return. Defaults to 10. (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 - Accepts sorting order and fields. Fields can be comma separated. Possible fields are `creationDate`, `name`. Examples: `sort=name` sort by names ascending, `sort=-name,creationDate` sort by names descending and creationDate ascending. (optional)
        expand - A comma-separated list of properties that can reveal additional information in the response. Options: `flags`. (optional)
        Returns:
        ApplicationCollectionRep
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getApplicationsWithHttpInfo

        public ApiResponse<ApplicationCollectionRep> getApplicationsWithHttpInfo​(@Nullable
                                                                                 java.lang.String filter,
                                                                                 @Nullable
                                                                                 java.lang.Long limit,
                                                                                 @Nullable
                                                                                 java.lang.Long offset,
                                                                                 @Nullable
                                                                                 java.lang.String sort,
                                                                                 @Nullable
                                                                                 java.lang.String expand)
                                                                          throws ApiException
        Get applications Get a list of applications. ### Expanding the applications response LaunchDarkly supports expanding the \"Get applications\" response to include additional fields. To expand the response, append the `expand` query parameter and include the following: * `flags` includes details on the flags that have been evaluated by the application For example, use `?expand=flags` to include the `flags` field in the response. By default, this field is **not** included in the response.
        Parameters:
        filter - Accepts filter by `key`, `name`, `kind`, and `autoAdded`. To learn more about the filter syntax, read [Filtering applications and application versions](https://launchdarkly.com/docs/api/applications-beta#filtering-applications-and-application-versions). (optional)
        limit - The number of applications to return. Defaults to 10. (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 - Accepts sorting order and fields. Fields can be comma separated. Possible fields are `creationDate`, `name`. Examples: `sort=name` sort by names ascending, `sort=-name,creationDate` sort by names descending and creationDate ascending. (optional)
        expand - A comma-separated list of properties that can reveal additional information in the response. Options: `flags`. (optional)
        Returns:
        ApiResponse<ApplicationCollectionRep>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getApplicationsAsync

        public okhttp3.Call getApplicationsAsync​(@Nullable
                                                 java.lang.String filter,
                                                 @Nullable
                                                 java.lang.Long limit,
                                                 @Nullable
                                                 java.lang.Long offset,
                                                 @Nullable
                                                 java.lang.String sort,
                                                 @Nullable
                                                 java.lang.String expand,
                                                 ApiCallback<ApplicationCollectionRep> _callback)
                                          throws ApiException
        Get applications (asynchronously) Get a list of applications. ### Expanding the applications response LaunchDarkly supports expanding the \"Get applications\" response to include additional fields. To expand the response, append the `expand` query parameter and include the following: * `flags` includes details on the flags that have been evaluated by the application For example, use `?expand=flags` to include the `flags` field in the response. By default, this field is **not** included in the response.
        Parameters:
        filter - Accepts filter by `key`, `name`, `kind`, and `autoAdded`. To learn more about the filter syntax, read [Filtering applications and application versions](https://launchdarkly.com/docs/api/applications-beta#filtering-applications-and-application-versions). (optional)
        limit - The number of applications to return. Defaults to 10. (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 - Accepts sorting order and fields. Fields can be comma separated. Possible fields are `creationDate`, `name`. Examples: `sort=name` sort by names ascending, `sort=-name,creationDate` sort by names descending and creationDate ascending. (optional)
        expand - A comma-separated list of properties that can reveal additional information in the response. Options: `flags`. (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
      • patchApplicationCall

        public okhttp3.Call patchApplicationCall​(@Nonnull
                                                 java.lang.String applicationKey,
                                                 @Nonnull
                                                 java.util.List<PatchOperation> patchOperation,
                                                 ApiCallback _callback)
                                          throws ApiException
        Build call for patchApplication
        Parameters:
        applicationKey - The application key (required)
        patchOperation - (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • patchApplication

        public ApplicationRep patchApplication​(@Nonnull
                                               java.lang.String applicationKey,
                                               @Nonnull
                                               java.util.List<PatchOperation> patchOperation)
                                        throws ApiException
        Update application Update an application. You can update the `description` and `kind` fields. Requires a [JSON patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes to the application. To learn more, read [Updates](https://launchdarkly.com/docs/api#updates).
        Parameters:
        applicationKey - The application key (required)
        patchOperation - (required)
        Returns:
        ApplicationRep
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • patchApplicationWithHttpInfo

        public ApiResponse<ApplicationRep> patchApplicationWithHttpInfo​(@Nonnull
                                                                        java.lang.String applicationKey,
                                                                        @Nonnull
                                                                        java.util.List<PatchOperation> patchOperation)
                                                                 throws ApiException
        Update application Update an application. You can update the `description` and `kind` fields. Requires a [JSON patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes to the application. To learn more, read [Updates](https://launchdarkly.com/docs/api#updates).
        Parameters:
        applicationKey - The application key (required)
        patchOperation - (required)
        Returns:
        ApiResponse<ApplicationRep>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • patchApplicationAsync

        public okhttp3.Call patchApplicationAsync​(@Nonnull
                                                  java.lang.String applicationKey,
                                                  @Nonnull
                                                  java.util.List<PatchOperation> patchOperation,
                                                  ApiCallback<ApplicationRep> _callback)
                                           throws ApiException
        Update application (asynchronously) Update an application. You can update the `description` and `kind` fields. Requires a [JSON patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes to the application. To learn more, read [Updates](https://launchdarkly.com/docs/api#updates).
        Parameters:
        applicationKey - The application key (required)
        patchOperation - (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
      • patchApplicationVersionCall

        public okhttp3.Call patchApplicationVersionCall​(@Nonnull
                                                        java.lang.String applicationKey,
                                                        @Nonnull
                                                        java.lang.String versionKey,
                                                        @Nonnull
                                                        java.util.List<PatchOperation> patchOperation,
                                                        ApiCallback _callback)
                                                 throws ApiException
        Build call for patchApplicationVersion
        Parameters:
        applicationKey - The application key (required)
        versionKey - The application version key (required)
        patchOperation - (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • patchApplicationVersion

        public ApplicationVersionRep patchApplicationVersion​(@Nonnull
                                                             java.lang.String applicationKey,
                                                             @Nonnull
                                                             java.lang.String versionKey,
                                                             @Nonnull
                                                             java.util.List<PatchOperation> patchOperation)
                                                      throws ApiException
        Update application version Update an application version. You can update the `supported` field. Requires a [JSON patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes to the application version. To learn more, read [Updates](https://launchdarkly.com/docs/api#updates).
        Parameters:
        applicationKey - The application key (required)
        versionKey - The application version key (required)
        patchOperation - (required)
        Returns:
        ApplicationVersionRep
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • patchApplicationVersionWithHttpInfo

        public ApiResponse<ApplicationVersionRep> patchApplicationVersionWithHttpInfo​(@Nonnull
                                                                                      java.lang.String applicationKey,
                                                                                      @Nonnull
                                                                                      java.lang.String versionKey,
                                                                                      @Nonnull
                                                                                      java.util.List<PatchOperation> patchOperation)
                                                                               throws ApiException
        Update application version Update an application version. You can update the `supported` field. Requires a [JSON patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes to the application version. To learn more, read [Updates](https://launchdarkly.com/docs/api#updates).
        Parameters:
        applicationKey - The application key (required)
        versionKey - The application version key (required)
        patchOperation - (required)
        Returns:
        ApiResponse<ApplicationVersionRep>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • patchApplicationVersionAsync

        public okhttp3.Call patchApplicationVersionAsync​(@Nonnull
                                                         java.lang.String applicationKey,
                                                         @Nonnull
                                                         java.lang.String versionKey,
                                                         @Nonnull
                                                         java.util.List<PatchOperation> patchOperation,
                                                         ApiCallback<ApplicationVersionRep> _callback)
                                                  throws ApiException
        Update application version (asynchronously) Update an application version. You can update the `supported` field. Requires a [JSON patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes to the application version. To learn more, read [Updates](https://launchdarkly.com/docs/api#updates).
        Parameters:
        applicationKey - The application key (required)
        versionKey - The application version key (required)
        patchOperation - (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