Package com.launchdarkly.api.api
Class ApprovalsApi
- java.lang.Object
-
- com.launchdarkly.api.api.ApprovalsApi
-
public class ApprovalsApi extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ApprovalsApi()
ApprovalsApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deleteApprovalRequest(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String id)
Delete approval request Delete an approval request for a feature flagokhttp3.Call
deleteApprovalRequestAsync(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String id, ApiCallback<java.lang.Void> _callback)
Delete approval request (asynchronously) Delete an approval request for a feature flagokhttp3.Call
deleteApprovalRequestCall(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String id, ApiCallback _callback)
Build call for deleteApprovalRequestApiResponse<java.lang.Void>
deleteApprovalRequestWithHttpInfo(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String id)
Delete approval request Delete an approval request for a feature flagApiClient
getApiClient()
FlagConfigApprovalRequestResponse
getApproval(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String id)
Get approval request Get a single approval request for a feature flagokhttp3.Call
getApprovalAsync(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String id, ApiCallback<FlagConfigApprovalRequestResponse> _callback)
Get approval request (asynchronously) Get a single approval request for a feature flagokhttp3.Call
getApprovalCall(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String id, ApiCallback _callback)
Build call for getApprovalFlagConfigApprovalRequestsResponse
getApprovals(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey)
List all approval requests Get all approval requests for a feature flagokhttp3.Call
getApprovalsAsync(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, ApiCallback<FlagConfigApprovalRequestsResponse> _callback)
List all approval requests (asynchronously) Get all approval requests for a feature flagokhttp3.Call
getApprovalsCall(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, ApiCallback _callback)
Build call for getApprovalsApiResponse<FlagConfigApprovalRequestsResponse>
getApprovalsWithHttpInfo(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey)
List all approval requests Get all approval requests for a feature flagApiResponse<FlagConfigApprovalRequestResponse>
getApprovalWithHttpInfo(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String id)
Get approval request Get a single approval request for a feature flagFlagConfigApprovalRequestResponse
postApprovalRequest(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, CreateFlagConfigApprovalRequestRequest createFlagConfigApprovalRequestRequest)
Create approval request Create an approval request for a feature flagFlagConfigApprovalRequestResponse
postApprovalRequestApplyRequest(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String id, PostApprovalRequestApplyRequest postApprovalRequestApplyRequest)
Apply approval request Apply approval request by either approving or declining changes.okhttp3.Call
postApprovalRequestApplyRequestAsync(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String id, PostApprovalRequestApplyRequest postApprovalRequestApplyRequest, ApiCallback<FlagConfigApprovalRequestResponse> _callback)
Apply approval request (asynchronously) Apply approval request by either approving or declining changes.okhttp3.Call
postApprovalRequestApplyRequestCall(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String id, PostApprovalRequestApplyRequest postApprovalRequestApplyRequest, ApiCallback _callback)
Build call for postApprovalRequestApplyRequestApiResponse<FlagConfigApprovalRequestResponse>
postApprovalRequestApplyRequestWithHttpInfo(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String id, PostApprovalRequestApplyRequest postApprovalRequestApplyRequest)
Apply approval request Apply approval request by either approving or declining changes.okhttp3.Call
postApprovalRequestAsync(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, CreateFlagConfigApprovalRequestRequest createFlagConfigApprovalRequestRequest, ApiCallback<FlagConfigApprovalRequestResponse> _callback)
Create approval request (asynchronously) Create an approval request for a feature flagokhttp3.Call
postApprovalRequestCall(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, CreateFlagConfigApprovalRequestRequest createFlagConfigApprovalRequestRequest, ApiCallback _callback)
Build call for postApprovalRequestFlagConfigApprovalRequestResponse
postApprovalRequestReview(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String id, PostApprovalRequestReviewRequest postApprovalRequestReviewRequest)
Review approval request Review approval request by either approving or declining changes.okhttp3.Call
postApprovalRequestReviewAsync(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String id, PostApprovalRequestReviewRequest postApprovalRequestReviewRequest, ApiCallback<FlagConfigApprovalRequestResponse> _callback)
Review approval request (asynchronously) Review approval request by either approving or declining changes.okhttp3.Call
postApprovalRequestReviewCall(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String id, PostApprovalRequestReviewRequest postApprovalRequestReviewRequest, ApiCallback _callback)
Build call for postApprovalRequestReviewApiResponse<FlagConfigApprovalRequestResponse>
postApprovalRequestReviewWithHttpInfo(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String id, PostApprovalRequestReviewRequest postApprovalRequestReviewRequest)
Review approval request Review approval request by either approving or declining changes.ApiResponse<FlagConfigApprovalRequestResponse>
postApprovalRequestWithHttpInfo(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, CreateFlagConfigApprovalRequestRequest createFlagConfigApprovalRequestRequest)
Create approval request Create an approval request for a feature flagFlagConfigApprovalRequestResponse
postFlagCopyConfigApprovalRequest(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, CreateCopyFlagConfigApprovalRequestRequest createCopyFlagConfigApprovalRequestRequest)
Create approval request to copy flag configurations across environments Create an approval request to copy a feature flag's configuration across environments.okhttp3.Call
postFlagCopyConfigApprovalRequestAsync(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, CreateCopyFlagConfigApprovalRequestRequest createCopyFlagConfigApprovalRequestRequest, ApiCallback<FlagConfigApprovalRequestResponse> _callback)
Create approval request to copy flag configurations across environments (asynchronously) Create an approval request to copy a feature flag's configuration across environments.okhttp3.Call
postFlagCopyConfigApprovalRequestCall(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, CreateCopyFlagConfigApprovalRequestRequest createCopyFlagConfigApprovalRequestRequest, ApiCallback _callback)
Build call for postFlagCopyConfigApprovalRequestApiResponse<FlagConfigApprovalRequestResponse>
postFlagCopyConfigApprovalRequestWithHttpInfo(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, CreateCopyFlagConfigApprovalRequestRequest createCopyFlagConfigApprovalRequestRequest)
Create approval request to copy flag configurations across environments Create an approval request to copy a feature flag's configuration across environments.void
setApiClient(ApiClient apiClient)
-
-
-
Constructor Detail
-
ApprovalsApi
public ApprovalsApi()
-
ApprovalsApi
public ApprovalsApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
deleteApprovalRequestCall
public okhttp3.Call deleteApprovalRequestCall(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String id, ApiCallback _callback) throws ApiException
Build call for deleteApprovalRequest- Parameters:
projectKey
- The project key (required)featureFlagKey
- The feature flag's key (required)environmentKey
- The environment key (required)id
- The feature flag approval request ID (required)_callback
- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
deleteApprovalRequest
public void deleteApprovalRequest(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String id) throws ApiException
Delete approval request Delete an approval request for a feature flag- Parameters:
projectKey
- The project key (required)featureFlagKey
- The feature flag's key (required)environmentKey
- The environment key (required)id
- The feature flag approval request ID (required)- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
deleteApprovalRequestWithHttpInfo
public ApiResponse<java.lang.Void> deleteApprovalRequestWithHttpInfo(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String id) throws ApiException
Delete approval request Delete an approval request for a feature flag- Parameters:
projectKey
- The project key (required)featureFlagKey
- The feature flag's key (required)environmentKey
- The environment key (required)id
- The feature flag approval request ID (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
deleteApprovalRequestAsync
public okhttp3.Call deleteApprovalRequestAsync(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String id, ApiCallback<java.lang.Void> _callback) throws ApiException
Delete approval request (asynchronously) Delete an approval request for a feature flag- Parameters:
projectKey
- The project key (required)featureFlagKey
- The feature flag's key (required)environmentKey
- The environment key (required)id
- The feature flag approval request 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
-
getApprovalCall
public okhttp3.Call getApprovalCall(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String id, ApiCallback _callback) throws ApiException
Build call for getApproval- Parameters:
projectKey
- The project key (required)featureFlagKey
- The feature flag's key (required)environmentKey
- The environment key (required)id
- The feature flag approval request ID (required)_callback
- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
getApproval
public FlagConfigApprovalRequestResponse getApproval(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String id) throws ApiException
Get approval request Get a single approval request for a feature flag- Parameters:
projectKey
- The project key (required)featureFlagKey
- The feature flag's key (required)environmentKey
- The environment key (required)id
- The feature flag approval request ID (required)- Returns:
- FlagConfigApprovalRequestResponse
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getApprovalWithHttpInfo
public ApiResponse<FlagConfigApprovalRequestResponse> getApprovalWithHttpInfo(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String id) throws ApiException
Get approval request Get a single approval request for a feature flag- Parameters:
projectKey
- The project key (required)featureFlagKey
- The feature flag's key (required)environmentKey
- The environment key (required)id
- The feature flag approval request ID (required)- Returns:
- ApiResponse<FlagConfigApprovalRequestResponse>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getApprovalAsync
public okhttp3.Call getApprovalAsync(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String id, ApiCallback<FlagConfigApprovalRequestResponse> _callback) throws ApiException
Get approval request (asynchronously) Get a single approval request for a feature flag- Parameters:
projectKey
- The project key (required)featureFlagKey
- The feature flag's key (required)environmentKey
- The environment key (required)id
- The feature flag approval request 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
-
getApprovalsCall
public okhttp3.Call getApprovalsCall(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, ApiCallback _callback) throws ApiException
Build call for getApprovals- Parameters:
projectKey
- The project key (required)featureFlagKey
- The feature flag's key (required)environmentKey
- The environment key (required)_callback
- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
getApprovals
public FlagConfigApprovalRequestsResponse getApprovals(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey) throws ApiException
List all approval requests Get all approval requests for a feature flag- Parameters:
projectKey
- The project key (required)featureFlagKey
- The feature flag's key (required)environmentKey
- The environment key (required)- Returns:
- FlagConfigApprovalRequestsResponse
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getApprovalsWithHttpInfo
public ApiResponse<FlagConfigApprovalRequestsResponse> getApprovalsWithHttpInfo(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey) throws ApiException
List all approval requests Get all approval requests for a feature flag- Parameters:
projectKey
- The project key (required)featureFlagKey
- The feature flag's key (required)environmentKey
- The environment key (required)- Returns:
- ApiResponse<FlagConfigApprovalRequestsResponse>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getApprovalsAsync
public okhttp3.Call getApprovalsAsync(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, ApiCallback<FlagConfigApprovalRequestsResponse> _callback) throws ApiException
List all approval requests (asynchronously) Get all approval requests for a feature flag- Parameters:
projectKey
- The project key (required)featureFlagKey
- The feature flag's key (required)environmentKey
- The environment 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
-
postApprovalRequestCall
public okhttp3.Call postApprovalRequestCall(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, CreateFlagConfigApprovalRequestRequest createFlagConfigApprovalRequestRequest, ApiCallback _callback) throws ApiException
Build call for postApprovalRequest- Parameters:
projectKey
- The project key (required)featureFlagKey
- The feature flag's key (required)environmentKey
- The environment key (required)createFlagConfigApprovalRequestRequest
- (required)_callback
- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
postApprovalRequest
public FlagConfigApprovalRequestResponse postApprovalRequest(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, CreateFlagConfigApprovalRequestRequest createFlagConfigApprovalRequestRequest) throws ApiException
Create approval request Create an approval request for a feature flag- Parameters:
projectKey
- The project key (required)featureFlagKey
- The feature flag's key (required)environmentKey
- The environment key (required)createFlagConfigApprovalRequestRequest
- (required)- Returns:
- FlagConfigApprovalRequestResponse
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
postApprovalRequestWithHttpInfo
public ApiResponse<FlagConfigApprovalRequestResponse> postApprovalRequestWithHttpInfo(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, CreateFlagConfigApprovalRequestRequest createFlagConfigApprovalRequestRequest) throws ApiException
Create approval request Create an approval request for a feature flag- Parameters:
projectKey
- The project key (required)featureFlagKey
- The feature flag's key (required)environmentKey
- The environment key (required)createFlagConfigApprovalRequestRequest
- (required)- Returns:
- ApiResponse<FlagConfigApprovalRequestResponse>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
postApprovalRequestAsync
public okhttp3.Call postApprovalRequestAsync(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, CreateFlagConfigApprovalRequestRequest createFlagConfigApprovalRequestRequest, ApiCallback<FlagConfigApprovalRequestResponse> _callback) throws ApiException
Create approval request (asynchronously) Create an approval request for a feature flag- Parameters:
projectKey
- The project key (required)featureFlagKey
- The feature flag's key (required)environmentKey
- The environment key (required)createFlagConfigApprovalRequestRequest
- (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
-
postApprovalRequestApplyRequestCall
public okhttp3.Call postApprovalRequestApplyRequestCall(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String id, PostApprovalRequestApplyRequest postApprovalRequestApplyRequest, ApiCallback _callback) throws ApiException
Build call for postApprovalRequestApplyRequest- Parameters:
projectKey
- The project key (required)featureFlagKey
- The feature flag's key (required)environmentKey
- The environment key (required)id
- The feature flag approval request ID (required)postApprovalRequestApplyRequest
- (required)_callback
- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
postApprovalRequestApplyRequest
public FlagConfigApprovalRequestResponse postApprovalRequestApplyRequest(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String id, PostApprovalRequestApplyRequest postApprovalRequestApplyRequest) throws ApiException
Apply approval request Apply approval request by either approving or declining changes.- Parameters:
projectKey
- The project key (required)featureFlagKey
- The feature flag's key (required)environmentKey
- The environment key (required)id
- The feature flag approval request ID (required)postApprovalRequestApplyRequest
- (required)- Returns:
- FlagConfigApprovalRequestResponse
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
postApprovalRequestApplyRequestWithHttpInfo
public ApiResponse<FlagConfigApprovalRequestResponse> postApprovalRequestApplyRequestWithHttpInfo(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String id, PostApprovalRequestApplyRequest postApprovalRequestApplyRequest) throws ApiException
Apply approval request Apply approval request by either approving or declining changes.- Parameters:
projectKey
- The project key (required)featureFlagKey
- The feature flag's key (required)environmentKey
- The environment key (required)id
- The feature flag approval request ID (required)postApprovalRequestApplyRequest
- (required)- Returns:
- ApiResponse<FlagConfigApprovalRequestResponse>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
postApprovalRequestApplyRequestAsync
public okhttp3.Call postApprovalRequestApplyRequestAsync(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String id, PostApprovalRequestApplyRequest postApprovalRequestApplyRequest, ApiCallback<FlagConfigApprovalRequestResponse> _callback) throws ApiException
Apply approval request (asynchronously) Apply approval request by either approving or declining changes.- Parameters:
projectKey
- The project key (required)featureFlagKey
- The feature flag's key (required)environmentKey
- The environment key (required)id
- The feature flag approval request ID (required)postApprovalRequestApplyRequest
- (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
-
postApprovalRequestReviewCall
public okhttp3.Call postApprovalRequestReviewCall(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String id, PostApprovalRequestReviewRequest postApprovalRequestReviewRequest, ApiCallback _callback) throws ApiException
Build call for postApprovalRequestReview- Parameters:
projectKey
- The project key (required)featureFlagKey
- The feature flag's key (required)environmentKey
- The environment key (required)id
- The feature flag approval request ID (required)postApprovalRequestReviewRequest
- (required)_callback
- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
postApprovalRequestReview
public FlagConfigApprovalRequestResponse postApprovalRequestReview(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String id, PostApprovalRequestReviewRequest postApprovalRequestReviewRequest) throws ApiException
Review approval request Review approval request by either approving or declining changes.- Parameters:
projectKey
- The project key (required)featureFlagKey
- The feature flag's key (required)environmentKey
- The environment key (required)id
- The feature flag approval request ID (required)postApprovalRequestReviewRequest
- (required)- Returns:
- FlagConfigApprovalRequestResponse
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
postApprovalRequestReviewWithHttpInfo
public ApiResponse<FlagConfigApprovalRequestResponse> postApprovalRequestReviewWithHttpInfo(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String id, PostApprovalRequestReviewRequest postApprovalRequestReviewRequest) throws ApiException
Review approval request Review approval request by either approving or declining changes.- Parameters:
projectKey
- The project key (required)featureFlagKey
- The feature flag's key (required)environmentKey
- The environment key (required)id
- The feature flag approval request ID (required)postApprovalRequestReviewRequest
- (required)- Returns:
- ApiResponse<FlagConfigApprovalRequestResponse>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
postApprovalRequestReviewAsync
public okhttp3.Call postApprovalRequestReviewAsync(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String id, PostApprovalRequestReviewRequest postApprovalRequestReviewRequest, ApiCallback<FlagConfigApprovalRequestResponse> _callback) throws ApiException
Review approval request (asynchronously) Review approval request by either approving or declining changes.- Parameters:
projectKey
- The project key (required)featureFlagKey
- The feature flag's key (required)environmentKey
- The environment key (required)id
- The feature flag approval request ID (required)postApprovalRequestReviewRequest
- (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
-
postFlagCopyConfigApprovalRequestCall
public okhttp3.Call postFlagCopyConfigApprovalRequestCall(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, CreateCopyFlagConfigApprovalRequestRequest createCopyFlagConfigApprovalRequestRequest, ApiCallback _callback) throws ApiException
Build call for postFlagCopyConfigApprovalRequest- Parameters:
projectKey
- The project key (required)featureFlagKey
- The feature flag's key (required)environmentKey
- The environment key (required)createCopyFlagConfigApprovalRequestRequest
- (required)_callback
- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
postFlagCopyConfigApprovalRequest
public FlagConfigApprovalRequestResponse postFlagCopyConfigApprovalRequest(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, CreateCopyFlagConfigApprovalRequestRequest createCopyFlagConfigApprovalRequestRequest) throws ApiException
Create approval request to copy flag configurations across environments Create an approval request to copy a feature flag's configuration across environments.- Parameters:
projectKey
- The project key (required)featureFlagKey
- The feature flag's key (required)environmentKey
- The environment key (required)createCopyFlagConfigApprovalRequestRequest
- (required)- Returns:
- FlagConfigApprovalRequestResponse
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
postFlagCopyConfigApprovalRequestWithHttpInfo
public ApiResponse<FlagConfigApprovalRequestResponse> postFlagCopyConfigApprovalRequestWithHttpInfo(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, CreateCopyFlagConfigApprovalRequestRequest createCopyFlagConfigApprovalRequestRequest) throws ApiException
Create approval request to copy flag configurations across environments Create an approval request to copy a feature flag's configuration across environments.- Parameters:
projectKey
- The project key (required)featureFlagKey
- The feature flag's key (required)environmentKey
- The environment key (required)createCopyFlagConfigApprovalRequestRequest
- (required)- Returns:
- ApiResponse<FlagConfigApprovalRequestResponse>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
postFlagCopyConfigApprovalRequestAsync
public okhttp3.Call postFlagCopyConfigApprovalRequestAsync(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, CreateCopyFlagConfigApprovalRequestRequest createCopyFlagConfigApprovalRequestRequest, ApiCallback<FlagConfigApprovalRequestResponse> _callback) throws ApiException
Create approval request to copy flag configurations across environments (asynchronously) Create an approval request to copy a feature flag's configuration across environments.- Parameters:
projectKey
- The project key (required)featureFlagKey
- The feature flag's key (required)environmentKey
- The environment key (required)createCopyFlagConfigApprovalRequestRequest
- (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
-
-