Class ExperimentsBetaApi


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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ApiClient getApiClient()  
      ExperimentResultsRep getExperiment​(java.lang.String projKey, java.lang.String flagKey, java.lang.String envKey, java.lang.String metricKey, java.lang.Long from, java.lang.Long to)
      Get experiment results Get detailed experiment result data
      okhttp3.Call getExperimentAsync​(java.lang.String projKey, java.lang.String flagKey, java.lang.String envKey, java.lang.String metricKey, java.lang.Long from, java.lang.Long to, ApiCallback<ExperimentResultsRep> _callback)
      Get experiment results (asynchronously) Get detailed experiment result data
      okhttp3.Call getExperimentCall​(java.lang.String projKey, java.lang.String flagKey, java.lang.String envKey, java.lang.String metricKey, java.lang.Long from, java.lang.Long to, ApiCallback _callback)
      Build call for getExperiment
      ApiResponse<ExperimentResultsRep> getExperimentWithHttpInfo​(java.lang.String projKey, java.lang.String flagKey, java.lang.String envKey, java.lang.String metricKey, java.lang.Long from, java.lang.Long to)
      Get experiment results Get detailed experiment result data
      void resetExperiment​(java.lang.String projKey, java.lang.String flagKey, java.lang.String envKey, java.lang.String metricKey)
      Reset experiment results Reset all experiment results by deleting all existing data for an experiment
      okhttp3.Call resetExperimentAsync​(java.lang.String projKey, java.lang.String flagKey, java.lang.String envKey, java.lang.String metricKey, ApiCallback<java.lang.Void> _callback)
      Reset experiment results (asynchronously) Reset all experiment results by deleting all existing data for an experiment
      okhttp3.Call resetExperimentCall​(java.lang.String projKey, java.lang.String flagKey, java.lang.String envKey, java.lang.String metricKey, ApiCallback _callback)
      Build call for resetExperiment
      ApiResponse<java.lang.Void> resetExperimentWithHttpInfo​(java.lang.String projKey, java.lang.String flagKey, java.lang.String envKey, java.lang.String metricKey)
      Reset experiment results Reset all experiment results by deleting all existing data for an experiment
      void setApiClient​(ApiClient apiClient)  
      • Methods inherited from class java.lang.Object

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

      • ExperimentsBetaApi

        public ExperimentsBetaApi()
      • ExperimentsBetaApi

        public ExperimentsBetaApi​(ApiClient apiClient)
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
      • getExperimentCall

        public okhttp3.Call getExperimentCall​(java.lang.String projKey,
                                              java.lang.String flagKey,
                                              java.lang.String envKey,
                                              java.lang.String metricKey,
                                              java.lang.Long from,
                                              java.lang.Long to,
                                              ApiCallback _callback)
                                       throws ApiException
        Build call for getExperiment
        Parameters:
        projKey - The project key (required)
        flagKey - The flag key (required)
        envKey - The environment key (required)
        metricKey - The metric key (required)
        from - A timestamp denoting the start of the data collection period, expressed as a Unix epoch time in milliseconds. (optional)
        to - A timestamp denoting the end of the data collection period, expressed as a Unix epoch time in milliseconds. (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getExperiment

        public ExperimentResultsRep getExperiment​(java.lang.String projKey,
                                                  java.lang.String flagKey,
                                                  java.lang.String envKey,
                                                  java.lang.String metricKey,
                                                  java.lang.Long from,
                                                  java.lang.Long to)
                                           throws ApiException
        Get experiment results Get detailed experiment result data
        Parameters:
        projKey - The project key (required)
        flagKey - The flag key (required)
        envKey - The environment key (required)
        metricKey - The metric key (required)
        from - A timestamp denoting the start of the data collection period, expressed as a Unix epoch time in milliseconds. (optional)
        to - A timestamp denoting the end of the data collection period, expressed as a Unix epoch time in milliseconds. (optional)
        Returns:
        ExperimentResultsRep
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getExperimentWithHttpInfo

        public ApiResponse<ExperimentResultsRep> getExperimentWithHttpInfo​(java.lang.String projKey,
                                                                           java.lang.String flagKey,
                                                                           java.lang.String envKey,
                                                                           java.lang.String metricKey,
                                                                           java.lang.Long from,
                                                                           java.lang.Long to)
                                                                    throws ApiException
        Get experiment results Get detailed experiment result data
        Parameters:
        projKey - The project key (required)
        flagKey - The flag key (required)
        envKey - The environment key (required)
        metricKey - The metric key (required)
        from - A timestamp denoting the start of the data collection period, expressed as a Unix epoch time in milliseconds. (optional)
        to - A timestamp denoting the end of the data collection period, expressed as a Unix epoch time in milliseconds. (optional)
        Returns:
        ApiResponse<ExperimentResultsRep>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getExperimentAsync

        public okhttp3.Call getExperimentAsync​(java.lang.String projKey,
                                               java.lang.String flagKey,
                                               java.lang.String envKey,
                                               java.lang.String metricKey,
                                               java.lang.Long from,
                                               java.lang.Long to,
                                               ApiCallback<ExperimentResultsRep> _callback)
                                        throws ApiException
        Get experiment results (asynchronously) Get detailed experiment result data
        Parameters:
        projKey - The project key (required)
        flagKey - The flag key (required)
        envKey - The environment key (required)
        metricKey - The metric key (required)
        from - A timestamp denoting the start of the data collection period, expressed as a Unix epoch time in milliseconds. (optional)
        to - A timestamp denoting the end of the data collection period, expressed as a Unix epoch time in milliseconds. (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
      • resetExperimentCall

        public okhttp3.Call resetExperimentCall​(java.lang.String projKey,
                                                java.lang.String flagKey,
                                                java.lang.String envKey,
                                                java.lang.String metricKey,
                                                ApiCallback _callback)
                                         throws ApiException
        Build call for resetExperiment
        Parameters:
        projKey - The project key (required)
        flagKey - The feature flag's key (required)
        envKey - The environment key (required)
        metricKey - The metric's key (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • resetExperiment

        public void resetExperiment​(java.lang.String projKey,
                                    java.lang.String flagKey,
                                    java.lang.String envKey,
                                    java.lang.String metricKey)
                             throws ApiException
        Reset experiment results Reset all experiment results by deleting all existing data for an experiment
        Parameters:
        projKey - The project key (required)
        flagKey - The feature flag's key (required)
        envKey - The environment key (required)
        metricKey - The metric's key (required)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • resetExperimentWithHttpInfo

        public ApiResponse<java.lang.Void> resetExperimentWithHttpInfo​(java.lang.String projKey,
                                                                       java.lang.String flagKey,
                                                                       java.lang.String envKey,
                                                                       java.lang.String metricKey)
                                                                throws ApiException
        Reset experiment results Reset all experiment results by deleting all existing data for an experiment
        Parameters:
        projKey - The project key (required)
        flagKey - The feature flag's key (required)
        envKey - The environment key (required)
        metricKey - The metric's key (required)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • resetExperimentAsync

        public okhttp3.Call resetExperimentAsync​(java.lang.String projKey,
                                                 java.lang.String flagKey,
                                                 java.lang.String envKey,
                                                 java.lang.String metricKey,
                                                 ApiCallback<java.lang.Void> _callback)
                                          throws ApiException
        Reset experiment results (asynchronously) Reset all experiment results by deleting all existing data for an experiment
        Parameters:
        projKey - The project key (required)
        flagKey - The feature flag's key (required)
        envKey - The environment key (required)
        metricKey - The metric's 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