public class FeatureFlagsApi
extends java.lang.Object
Constructor | Description |
---|---|
FeatureFlagsApi() |
|
FeatureFlagsApi(ApiClient apiClient) |
Modifier and Type | Method | Description |
---|---|---|
FeatureFlag |
copyFeatureFlag(java.lang.String projectKey,
java.lang.String featureFlagKey,
FeatureFlagCopyBody featureFlagCopyBody) |
Copies the feature flag configuration from one environment to the same feature flag in another environment.
|
com.squareup.okhttp.Call |
copyFeatureFlagAsync(java.lang.String projectKey,
java.lang.String featureFlagKey,
FeatureFlagCopyBody featureFlagCopyBody,
ApiCallback<FeatureFlag> callback) |
Copies the feature flag configuration from one environment to the same feature flag in another environment.
|
com.squareup.okhttp.Call |
copyFeatureFlagCall(java.lang.String projectKey,
java.lang.String featureFlagKey,
FeatureFlagCopyBody featureFlagCopyBody,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for copyFeatureFlag
|
ApiResponse<FeatureFlag> |
copyFeatureFlagWithHttpInfo(java.lang.String projectKey,
java.lang.String featureFlagKey,
FeatureFlagCopyBody featureFlagCopyBody) |
Copies the feature flag configuration from one environment to the same feature flag in another environment.
|
void |
deleteApprovalRequest(java.lang.String projectKey,
java.lang.String environmentKey,
java.lang.String featureFlagKey,
java.lang.String approvalRequestId,
ApprovalRequestConfigBody approvalRequestConfigBody) |
Delete an approval request for a feature flag config
|
com.squareup.okhttp.Call |
deleteApprovalRequestAsync(java.lang.String projectKey,
java.lang.String environmentKey,
java.lang.String featureFlagKey,
java.lang.String approvalRequestId,
ApprovalRequestConfigBody approvalRequestConfigBody,
ApiCallback<java.lang.Void> callback) |
Delete an approval request for a feature flag config (asynchronously)
|
com.squareup.okhttp.Call |
deleteApprovalRequestCall(java.lang.String projectKey,
java.lang.String environmentKey,
java.lang.String featureFlagKey,
java.lang.String approvalRequestId,
ApprovalRequestConfigBody approvalRequestConfigBody,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for deleteApprovalRequest
|
ApiResponse<java.lang.Void> |
deleteApprovalRequestWithHttpInfo(java.lang.String projectKey,
java.lang.String environmentKey,
java.lang.String featureFlagKey,
java.lang.String approvalRequestId,
ApprovalRequestConfigBody approvalRequestConfigBody) |
Delete an approval request for a feature flag config
|
void |
deleteFeatureFlag(java.lang.String projectKey,
java.lang.String featureFlagKey) |
Delete a feature flag in all environments.
|
com.squareup.okhttp.Call |
deleteFeatureFlagAsync(java.lang.String projectKey,
java.lang.String featureFlagKey,
ApiCallback<java.lang.Void> callback) |
Delete a feature flag in all environments.
|
com.squareup.okhttp.Call |
deleteFeatureFlagCall(java.lang.String projectKey,
java.lang.String featureFlagKey,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for deleteFeatureFlag
|
ApiResponse<java.lang.Void> |
deleteFeatureFlagWithHttpInfo(java.lang.String projectKey,
java.lang.String featureFlagKey) |
Delete a feature flag in all environments.
|
void |
deleteFlagConfigScheduledChanges(java.lang.String projectKey,
java.lang.String featureFlagKey,
java.lang.String environmentKey,
java.lang.String scheduledChangeId) |
Delete a scheduled change on a feature flag in an environment.
|
com.squareup.okhttp.Call |
deleteFlagConfigScheduledChangesAsync(java.lang.String projectKey,
java.lang.String featureFlagKey,
java.lang.String environmentKey,
java.lang.String scheduledChangeId,
ApiCallback<java.lang.Void> callback) |
Delete a scheduled change on a feature flag in an environment.
|
com.squareup.okhttp.Call |
deleteFlagConfigScheduledChangesCall(java.lang.String projectKey,
java.lang.String featureFlagKey,
java.lang.String environmentKey,
java.lang.String scheduledChangeId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for deleteFlagConfigScheduledChanges
|
ApiResponse<java.lang.Void> |
deleteFlagConfigScheduledChangesWithHttpInfo(java.lang.String projectKey,
java.lang.String featureFlagKey,
java.lang.String environmentKey,
java.lang.String scheduledChangeId) |
Delete a scheduled change on a feature flag in an environment.
|
ApiClient |
getApiClient() |
|
ApprovalRequests |
getApprovalRequest(java.lang.String projectKey,
java.lang.String featureFlagKey,
java.lang.String environmentKey,
java.lang.String approvalRequestId) |
Get a single approval request for a feature flag config
|
com.squareup.okhttp.Call |
getApprovalRequestAsync(java.lang.String projectKey,
java.lang.String featureFlagKey,
java.lang.String environmentKey,
java.lang.String approvalRequestId,
ApiCallback<ApprovalRequests> callback) |
Get a single approval request for a feature flag config (asynchronously)
|
com.squareup.okhttp.Call |
getApprovalRequestCall(java.lang.String projectKey,
java.lang.String featureFlagKey,
java.lang.String environmentKey,
java.lang.String approvalRequestId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for getApprovalRequest
|
ApprovalRequests |
getApprovalRequests(java.lang.String projectKey,
java.lang.String featureFlagKey,
java.lang.String environmentKey) |
Get all approval requests for a feature flag config
|
com.squareup.okhttp.Call |
getApprovalRequestsAsync(java.lang.String projectKey,
java.lang.String featureFlagKey,
java.lang.String environmentKey,
ApiCallback<ApprovalRequests> callback) |
Get all approval requests for a feature flag config (asynchronously)
|
com.squareup.okhttp.Call |
getApprovalRequestsCall(java.lang.String projectKey,
java.lang.String featureFlagKey,
java.lang.String environmentKey,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for getApprovalRequests
|
ApiResponse<ApprovalRequests> |
getApprovalRequestsWithHttpInfo(java.lang.String projectKey,
java.lang.String featureFlagKey,
java.lang.String environmentKey) |
Get all approval requests for a feature flag config
|
ApiResponse<ApprovalRequests> |
getApprovalRequestWithHttpInfo(java.lang.String projectKey,
java.lang.String featureFlagKey,
java.lang.String environmentKey,
java.lang.String approvalRequestId) |
Get a single approval request for a feature flag config
|
UserTargetingExpirationForFlags |
getExpiringUserTargets(java.lang.String projectKey,
java.lang.String environmentKey,
java.lang.String featureFlagKey) |
Get expiring user targets for feature flag
|
com.squareup.okhttp.Call |
getExpiringUserTargetsAsync(java.lang.String projectKey,
java.lang.String environmentKey,
java.lang.String featureFlagKey,
ApiCallback<UserTargetingExpirationForFlags> callback) |
Get expiring user targets for feature flag (asynchronously)
|
com.squareup.okhttp.Call |
getExpiringUserTargetsCall(java.lang.String projectKey,
java.lang.String environmentKey,
java.lang.String featureFlagKey,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for getExpiringUserTargets
|
ApiResponse<UserTargetingExpirationForFlags> |
getExpiringUserTargetsWithHttpInfo(java.lang.String projectKey,
java.lang.String environmentKey,
java.lang.String featureFlagKey) |
Get expiring user targets for feature flag
|
FeatureFlag |
getFeatureFlag(java.lang.String projectKey,
java.lang.String featureFlagKey,
java.util.List<java.lang.String> env) |
Get a single feature flag by key.
|
com.squareup.okhttp.Call |
getFeatureFlagAsync(java.lang.String projectKey,
java.lang.String featureFlagKey,
java.util.List<java.lang.String> env,
ApiCallback<FeatureFlag> callback) |
Get a single feature flag by key.
|
com.squareup.okhttp.Call |
getFeatureFlagCall(java.lang.String projectKey,
java.lang.String featureFlagKey,
java.util.List<java.lang.String> env,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for getFeatureFlag
|
FeatureFlags |
getFeatureFlags(java.lang.String projectKey,
java.util.List<java.lang.String> env,
java.lang.Boolean summary,
java.lang.Boolean archived,
java.math.BigDecimal limit,
java.math.BigDecimal offset,
java.lang.String filter,
java.lang.String sort,
java.lang.String tag) |
Get a list of all features in the given project.
|
com.squareup.okhttp.Call |
getFeatureFlagsAsync(java.lang.String projectKey,
java.util.List<java.lang.String> env,
java.lang.Boolean summary,
java.lang.Boolean archived,
java.math.BigDecimal limit,
java.math.BigDecimal offset,
java.lang.String filter,
java.lang.String sort,
java.lang.String tag,
ApiCallback<FeatureFlags> callback) |
Get a list of all features in the given project.
|
com.squareup.okhttp.Call |
getFeatureFlagsCall(java.lang.String projectKey,
java.util.List<java.lang.String> env,
java.lang.Boolean summary,
java.lang.Boolean archived,
java.math.BigDecimal limit,
java.math.BigDecimal offset,
java.lang.String filter,
java.lang.String sort,
java.lang.String tag,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for getFeatureFlags
|
FeatureFlagStatus |
getFeatureFlagStatus(java.lang.String projectKey,
java.lang.String environmentKey,
java.lang.String featureFlagKey) |
Get the status for a particular feature flag.
|
FeatureFlagStatusAcrossEnvironments |
getFeatureFlagStatusAcrossEnvironments(java.lang.String projectKey,
java.lang.String featureFlagKey) |
Get the status for a particular feature flag across environments
|
com.squareup.okhttp.Call |
getFeatureFlagStatusAcrossEnvironmentsAsync(java.lang.String projectKey,
java.lang.String featureFlagKey,
ApiCallback<FeatureFlagStatusAcrossEnvironments> callback) |
Get the status for a particular feature flag across environments (asynchronously)
|
com.squareup.okhttp.Call |
getFeatureFlagStatusAcrossEnvironmentsCall(java.lang.String projectKey,
java.lang.String featureFlagKey,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for getFeatureFlagStatusAcrossEnvironments
|
ApiResponse<FeatureFlagStatusAcrossEnvironments> |
getFeatureFlagStatusAcrossEnvironmentsWithHttpInfo(java.lang.String projectKey,
java.lang.String featureFlagKey) |
Get the status for a particular feature flag across environments
|
com.squareup.okhttp.Call |
getFeatureFlagStatusAsync(java.lang.String projectKey,
java.lang.String environmentKey,
java.lang.String featureFlagKey,
ApiCallback<FeatureFlagStatus> callback) |
Get the status for a particular feature flag.
|
com.squareup.okhttp.Call |
getFeatureFlagStatusCall(java.lang.String projectKey,
java.lang.String environmentKey,
java.lang.String featureFlagKey,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for getFeatureFlagStatus
|
FeatureFlagStatuses |
getFeatureFlagStatuses(java.lang.String projectKey,
java.lang.String environmentKey) |
Get a list of statuses for all feature flags.
|
com.squareup.okhttp.Call |
getFeatureFlagStatusesAsync(java.lang.String projectKey,
java.lang.String environmentKey,
ApiCallback<FeatureFlagStatuses> callback) |
Get a list of statuses for all feature flags.
|
com.squareup.okhttp.Call |
getFeatureFlagStatusesCall(java.lang.String projectKey,
java.lang.String environmentKey,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for getFeatureFlagStatuses
|
ApiResponse<FeatureFlagStatuses> |
getFeatureFlagStatusesWithHttpInfo(java.lang.String projectKey,
java.lang.String environmentKey) |
Get a list of statuses for all feature flags.
|
ApiResponse<FeatureFlagStatus> |
getFeatureFlagStatusWithHttpInfo(java.lang.String projectKey,
java.lang.String environmentKey,
java.lang.String featureFlagKey) |
Get the status for a particular feature flag.
|
ApiResponse<FeatureFlags> |
getFeatureFlagsWithHttpInfo(java.lang.String projectKey,
java.util.List<java.lang.String> env,
java.lang.Boolean summary,
java.lang.Boolean archived,
java.math.BigDecimal limit,
java.math.BigDecimal offset,
java.lang.String filter,
java.lang.String sort,
java.lang.String tag) |
Get a list of all features in the given project.
|
ApiResponse<FeatureFlag> |
getFeatureFlagWithHttpInfo(java.lang.String projectKey,
java.lang.String featureFlagKey,
java.util.List<java.lang.String> env) |
Get a single feature flag by key.
|
FeatureFlagScheduledChange |
getFlagConfigScheduledChange(java.lang.String projectKey,
java.lang.String featureFlagKey,
java.lang.String environmentKey,
java.lang.String scheduledChangeId) |
Get a scheduled change on a feature flag by id.
|
com.squareup.okhttp.Call |
getFlagConfigScheduledChangeAsync(java.lang.String projectKey,
java.lang.String featureFlagKey,
java.lang.String environmentKey,
java.lang.String scheduledChangeId,
ApiCallback<FeatureFlagScheduledChange> callback) |
Get a scheduled change on a feature flag by id.
|
com.squareup.okhttp.Call |
getFlagConfigScheduledChangeCall(java.lang.String projectKey,
java.lang.String featureFlagKey,
java.lang.String environmentKey,
java.lang.String scheduledChangeId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for getFlagConfigScheduledChange
|
FeatureFlagScheduledChanges |
getFlagConfigScheduledChanges(java.lang.String projectKey,
java.lang.String featureFlagKey,
java.lang.String environmentKey) |
Get all scheduled workflows for a feature flag by key.
|
com.squareup.okhttp.Call |
getFlagConfigScheduledChangesAsync(java.lang.String projectKey,
java.lang.String featureFlagKey,
java.lang.String environmentKey,
ApiCallback<FeatureFlagScheduledChanges> callback) |
Get all scheduled workflows for a feature flag by key.
|
com.squareup.okhttp.Call |
getFlagConfigScheduledChangesCall(java.lang.String projectKey,
java.lang.String featureFlagKey,
java.lang.String environmentKey,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for getFlagConfigScheduledChanges
|
FeatureFlagScheduledChangesConflicts |
getFlagConfigScheduledChangesConflicts(java.lang.String projectKey,
java.lang.String featureFlagKey,
java.lang.String environmentKey,
FlagConfigScheduledChangesConflictsBody flagConfigScheduledChangesConflictsBody) |
Lists conflicts between the given instructions and any existing scheduled changes for the feature flag.
|
com.squareup.okhttp.Call |
getFlagConfigScheduledChangesConflictsAsync(java.lang.String projectKey,
java.lang.String featureFlagKey,
java.lang.String environmentKey,
FlagConfigScheduledChangesConflictsBody flagConfigScheduledChangesConflictsBody,
ApiCallback<FeatureFlagScheduledChangesConflicts> callback) |
Lists conflicts between the given instructions and any existing scheduled changes for the feature flag.
|
com.squareup.okhttp.Call |
getFlagConfigScheduledChangesConflictsCall(java.lang.String projectKey,
java.lang.String featureFlagKey,
java.lang.String environmentKey,
FlagConfigScheduledChangesConflictsBody flagConfigScheduledChangesConflictsBody,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for getFlagConfigScheduledChangesConflicts
|
ApiResponse<FeatureFlagScheduledChangesConflicts> |
getFlagConfigScheduledChangesConflictsWithHttpInfo(java.lang.String projectKey,
java.lang.String featureFlagKey,
java.lang.String environmentKey,
FlagConfigScheduledChangesConflictsBody flagConfigScheduledChangesConflictsBody) |
Lists conflicts between the given instructions and any existing scheduled changes for the feature flag.
|
ApiResponse<FeatureFlagScheduledChanges> |
getFlagConfigScheduledChangesWithHttpInfo(java.lang.String projectKey,
java.lang.String featureFlagKey,
java.lang.String environmentKey) |
Get all scheduled workflows for a feature flag by key.
|
ApiResponse<FeatureFlagScheduledChange> |
getFlagConfigScheduledChangeWithHttpInfo(java.lang.String projectKey,
java.lang.String featureFlagKey,
java.lang.String environmentKey,
java.lang.String scheduledChangeId) |
Get a scheduled change on a feature flag by id.
|
UserTargetingExpirationForFlags |
patchExpiringUserTargets(java.lang.String projectKey,
java.lang.String environmentKey,
java.lang.String featureFlagKey,
java.lang.Object semanticPatchWithComment) |
Update, add, or delete expiring user targets on feature flag
|
com.squareup.okhttp.Call |
patchExpiringUserTargetsAsync(java.lang.String projectKey,
java.lang.String environmentKey,
java.lang.String featureFlagKey,
java.lang.Object semanticPatchWithComment,
ApiCallback<UserTargetingExpirationForFlags> callback) |
Update, add, or delete expiring user targets on feature flag (asynchronously)
|
com.squareup.okhttp.Call |
patchExpiringUserTargetsCall(java.lang.String projectKey,
java.lang.String environmentKey,
java.lang.String featureFlagKey,
java.lang.Object semanticPatchWithComment,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for patchExpiringUserTargets
|
ApiResponse<UserTargetingExpirationForFlags> |
patchExpiringUserTargetsWithHttpInfo(java.lang.String projectKey,
java.lang.String environmentKey,
java.lang.String featureFlagKey,
java.lang.Object semanticPatchWithComment) |
Update, add, or delete expiring user targets on feature flag
|
FeatureFlag |
patchFeatureFlag(java.lang.String projectKey,
java.lang.String featureFlagKey,
PatchComment patchComment) |
Perform a partial update to a feature.
|
com.squareup.okhttp.Call |
patchFeatureFlagAsync(java.lang.String projectKey,
java.lang.String featureFlagKey,
PatchComment patchComment,
ApiCallback<FeatureFlag> callback) |
Perform a partial update to a feature.
|
com.squareup.okhttp.Call |
patchFeatureFlagCall(java.lang.String projectKey,
java.lang.String featureFlagKey,
PatchComment patchComment,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for patchFeatureFlag
|
ApiResponse<FeatureFlag> |
patchFeatureFlagWithHttpInfo(java.lang.String projectKey,
java.lang.String featureFlagKey,
PatchComment patchComment) |
Perform a partial update to a feature.
|
FeatureFlagScheduledChange |
patchFlagConfigScheduledChange(java.lang.String projectKey,
java.lang.String featureFlagKey,
FlagConfigScheduledChangesPatchBody flagConfigScheduledChangesPatchBody,
java.lang.String environmentKey,
java.lang.String scheduledChangeId) |
Updates an existing scheduled-change on a feature flag in an environment.
|
com.squareup.okhttp.Call |
patchFlagConfigScheduledChangeAsync(java.lang.String projectKey,
java.lang.String featureFlagKey,
FlagConfigScheduledChangesPatchBody flagConfigScheduledChangesPatchBody,
java.lang.String environmentKey,
java.lang.String scheduledChangeId,
ApiCallback<FeatureFlagScheduledChange> callback) |
Updates an existing scheduled-change on a feature flag in an environment.
|
com.squareup.okhttp.Call |
patchFlagConfigScheduledChangeCall(java.lang.String projectKey,
java.lang.String featureFlagKey,
FlagConfigScheduledChangesPatchBody flagConfigScheduledChangesPatchBody,
java.lang.String environmentKey,
java.lang.String scheduledChangeId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for patchFlagConfigScheduledChange
|
ApiResponse<FeatureFlagScheduledChange> |
patchFlagConfigScheduledChangeWithHttpInfo(java.lang.String projectKey,
java.lang.String featureFlagKey,
FlagConfigScheduledChangesPatchBody flagConfigScheduledChangesPatchBody,
java.lang.String environmentKey,
java.lang.String scheduledChangeId) |
Updates an existing scheduled-change on a feature flag in an environment.
|
ApprovalRequests |
postApplyApprovalRequest(java.lang.String projectKey,
java.lang.String featureFlagKey,
java.lang.String environmentKey,
java.lang.String approvalRequestId,
ApprovalRequestApplyConfigBody approvalRequestApplyConfigBody) |
Apply approval request for a feature flag config
|
com.squareup.okhttp.Call |
postApplyApprovalRequestAsync(java.lang.String projectKey,
java.lang.String featureFlagKey,
java.lang.String environmentKey,
java.lang.String approvalRequestId,
ApprovalRequestApplyConfigBody approvalRequestApplyConfigBody,
ApiCallback<ApprovalRequests> callback) |
Apply approval request for a feature flag config (asynchronously)
|
com.squareup.okhttp.Call |
postApplyApprovalRequestCall(java.lang.String projectKey,
java.lang.String featureFlagKey,
java.lang.String environmentKey,
java.lang.String approvalRequestId,
ApprovalRequestApplyConfigBody approvalRequestApplyConfigBody,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for postApplyApprovalRequest
|
ApiResponse<ApprovalRequests> |
postApplyApprovalRequestWithHttpInfo(java.lang.String projectKey,
java.lang.String featureFlagKey,
java.lang.String environmentKey,
java.lang.String approvalRequestId,
ApprovalRequestApplyConfigBody approvalRequestApplyConfigBody) |
Apply approval request for a feature flag config
|
ApprovalRequest |
postApprovalRequest(java.lang.String projectKey,
java.lang.String featureFlagKey,
java.lang.String environmentKey,
java.lang.String approvalRequestId,
ApprovalRequestConfigBody approvalRequestConfigBody) |
Create an approval request for a feature flag config
|
com.squareup.okhttp.Call |
postApprovalRequestAsync(java.lang.String projectKey,
java.lang.String featureFlagKey,
java.lang.String environmentKey,
java.lang.String approvalRequestId,
ApprovalRequestConfigBody approvalRequestConfigBody,
ApiCallback<ApprovalRequest> callback) |
Create an approval request for a feature flag config (asynchronously)
|
com.squareup.okhttp.Call |
postApprovalRequestCall(java.lang.String projectKey,
java.lang.String featureFlagKey,
java.lang.String environmentKey,
java.lang.String approvalRequestId,
ApprovalRequestConfigBody approvalRequestConfigBody,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for postApprovalRequest
|
ApiResponse<ApprovalRequest> |
postApprovalRequestWithHttpInfo(java.lang.String projectKey,
java.lang.String featureFlagKey,
java.lang.String environmentKey,
java.lang.String approvalRequestId,
ApprovalRequestConfigBody approvalRequestConfigBody) |
Create an approval request for a feature flag config
|
FeatureFlag |
postFeatureFlag(java.lang.String projectKey,
FeatureFlagBody featureFlagBody,
java.lang.String clone) |
Creates a new feature flag.
|
com.squareup.okhttp.Call |
postFeatureFlagAsync(java.lang.String projectKey,
FeatureFlagBody featureFlagBody,
java.lang.String clone,
ApiCallback<FeatureFlag> callback) |
Creates a new feature flag.
|
com.squareup.okhttp.Call |
postFeatureFlagCall(java.lang.String projectKey,
FeatureFlagBody featureFlagBody,
java.lang.String clone,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for postFeatureFlag
|
ApiResponse<FeatureFlag> |
postFeatureFlagWithHttpInfo(java.lang.String projectKey,
FeatureFlagBody featureFlagBody,
java.lang.String clone) |
Creates a new feature flag.
|
FeatureFlagScheduledChange |
postFlagConfigScheduledChanges(java.lang.String projectKey,
FlagConfigScheduledChangesPostBody flagConfigScheduledChangesPostBody,
java.lang.String featureFlagKey,
java.lang.String environmentKey) |
Creates a new scheduled change for a feature flag.
|
com.squareup.okhttp.Call |
postFlagConfigScheduledChangesAsync(java.lang.String projectKey,
FlagConfigScheduledChangesPostBody flagConfigScheduledChangesPostBody,
java.lang.String featureFlagKey,
java.lang.String environmentKey,
ApiCallback<FeatureFlagScheduledChange> callback) |
Creates a new scheduled change for a feature flag.
|
com.squareup.okhttp.Call |
postFlagConfigScheduledChangesCall(java.lang.String projectKey,
FlagConfigScheduledChangesPostBody flagConfigScheduledChangesPostBody,
java.lang.String featureFlagKey,
java.lang.String environmentKey,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for postFlagConfigScheduledChanges
|
ApiResponse<FeatureFlagScheduledChange> |
postFlagConfigScheduledChangesWithHttpInfo(java.lang.String projectKey,
FlagConfigScheduledChangesPostBody flagConfigScheduledChangesPostBody,
java.lang.String featureFlagKey,
java.lang.String environmentKey) |
Creates a new scheduled change for a feature flag.
|
ApprovalRequests |
postReviewApprovalRequest(java.lang.String projectKey,
java.lang.String featureFlagKey,
java.lang.String environmentKey,
java.lang.String approvalRequestId,
ApprovalRequestReviewConfigBody approvalRequestReviewConfigBody) |
Review approval request for a feature flag config
|
com.squareup.okhttp.Call |
postReviewApprovalRequestAsync(java.lang.String projectKey,
java.lang.String featureFlagKey,
java.lang.String environmentKey,
java.lang.String approvalRequestId,
ApprovalRequestReviewConfigBody approvalRequestReviewConfigBody,
ApiCallback<ApprovalRequests> callback) |
Review approval request for a feature flag config (asynchronously)
|
com.squareup.okhttp.Call |
postReviewApprovalRequestCall(java.lang.String projectKey,
java.lang.String featureFlagKey,
java.lang.String environmentKey,
java.lang.String approvalRequestId,
ApprovalRequestReviewConfigBody approvalRequestReviewConfigBody,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for postReviewApprovalRequest
|
ApiResponse<ApprovalRequests> |
postReviewApprovalRequestWithHttpInfo(java.lang.String projectKey,
java.lang.String featureFlagKey,
java.lang.String environmentKey,
java.lang.String approvalRequestId,
ApprovalRequestReviewConfigBody approvalRequestReviewConfigBody) |
Review approval request for a feature flag config
|
void |
setApiClient(ApiClient apiClient) |
public FeatureFlagsApi()
public FeatureFlagsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call copyFeatureFlagCall(java.lang.String projectKey, java.lang.String featureFlagKey, FeatureFlagCopyBody featureFlagCopyBody, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)featureFlagCopyBody
- Copy feature flag configurations between environments. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic FeatureFlag copyFeatureFlag(java.lang.String projectKey, java.lang.String featureFlagKey, FeatureFlagCopyBody featureFlagCopyBody) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)featureFlagCopyBody
- Copy feature flag configurations between environments. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<FeatureFlag> copyFeatureFlagWithHttpInfo(java.lang.String projectKey, java.lang.String featureFlagKey, FeatureFlagCopyBody featureFlagCopyBody) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)featureFlagCopyBody
- Copy feature flag configurations between environments. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call copyFeatureFlagAsync(java.lang.String projectKey, java.lang.String featureFlagKey, FeatureFlagCopyBody featureFlagCopyBody, ApiCallback<FeatureFlag> callback) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)featureFlagCopyBody
- Copy feature flag configurations between environments. (required)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call deleteApprovalRequestCall(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String featureFlagKey, java.lang.String approvalRequestId, ApprovalRequestConfigBody approvalRequestConfigBody, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)environmentKey
- The environment key, used to tie together flag configuration and users under one environment so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)approvalRequestId
- The approval request ID (required)approvalRequestConfigBody
- Create a new approval request (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic void deleteApprovalRequest(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String featureFlagKey, java.lang.String approvalRequestId, ApprovalRequestConfigBody approvalRequestConfigBody) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)environmentKey
- The environment key, used to tie together flag configuration and users under one environment so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)approvalRequestId
- The approval request ID (required)approvalRequestConfigBody
- Create a new approval request (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<java.lang.Void> deleteApprovalRequestWithHttpInfo(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String featureFlagKey, java.lang.String approvalRequestId, ApprovalRequestConfigBody approvalRequestConfigBody) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)environmentKey
- The environment key, used to tie together flag configuration and users under one environment so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)approvalRequestId
- The approval request ID (required)approvalRequestConfigBody
- Create a new approval request (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deleteApprovalRequestAsync(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String featureFlagKey, java.lang.String approvalRequestId, ApprovalRequestConfigBody approvalRequestConfigBody, ApiCallback<java.lang.Void> callback) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)environmentKey
- The environment key, used to tie together flag configuration and users under one environment so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)approvalRequestId
- The approval request ID (required)approvalRequestConfigBody
- Create a new approval request (optional)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call deleteFeatureFlagCall(java.lang.String projectKey, java.lang.String featureFlagKey, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic void deleteFeatureFlag(java.lang.String projectKey, java.lang.String featureFlagKey) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<java.lang.Void> deleteFeatureFlagWithHttpInfo(java.lang.String projectKey, java.lang.String featureFlagKey) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deleteFeatureFlagAsync(java.lang.String projectKey, java.lang.String featureFlagKey, ApiCallback<java.lang.Void> callback) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call deleteFlagConfigScheduledChangesCall(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String scheduledChangeId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)environmentKey
- The environment key, used to tie together flag configuration and users under one environment so they can be managed together. (required)scheduledChangeId
- The id of the scheduled change (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic void deleteFlagConfigScheduledChanges(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String scheduledChangeId) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)environmentKey
- The environment key, used to tie together flag configuration and users under one environment so they can be managed together. (required)scheduledChangeId
- The id of the scheduled change (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<java.lang.Void> deleteFlagConfigScheduledChangesWithHttpInfo(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String scheduledChangeId) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)environmentKey
- The environment key, used to tie together flag configuration and users under one environment so they can be managed together. (required)scheduledChangeId
- The id of the scheduled change (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deleteFlagConfigScheduledChangesAsync(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String scheduledChangeId, ApiCallback<java.lang.Void> callback) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)environmentKey
- The environment key, used to tie together flag configuration and users under one environment so they can be managed together. (required)scheduledChangeId
- The id of the scheduled change (required)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call getApprovalRequestCall(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String approvalRequestId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)environmentKey
- The environment key, used to tie together flag configuration and users under one environment so they can be managed together. (required)approvalRequestId
- The approval request ID (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApprovalRequests getApprovalRequest(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String approvalRequestId) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)environmentKey
- The environment key, used to tie together flag configuration and users under one environment so they can be managed together. (required)approvalRequestId
- The approval request ID (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApprovalRequests> getApprovalRequestWithHttpInfo(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String approvalRequestId) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)environmentKey
- The environment key, used to tie together flag configuration and users under one environment so they can be managed together. (required)approvalRequestId
- The approval request ID (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getApprovalRequestAsync(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String approvalRequestId, ApiCallback<ApprovalRequests> callback) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)environmentKey
- The environment key, used to tie together flag configuration and users under one environment so they can be managed together. (required)approvalRequestId
- The approval request ID (required)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call getApprovalRequestsCall(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)environmentKey
- The environment key, used to tie together flag configuration and users under one environment so they can be managed together. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApprovalRequests getApprovalRequests(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)environmentKey
- The environment key, used to tie together flag configuration and users under one environment so they can be managed together. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApprovalRequests> getApprovalRequestsWithHttpInfo(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)environmentKey
- The environment key, used to tie together flag configuration and users under one environment so they can be managed together. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getApprovalRequestsAsync(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, ApiCallback<ApprovalRequests> callback) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)environmentKey
- The environment key, used to tie together flag configuration and users under one environment so they can be managed together. (required)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call getExpiringUserTargetsCall(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String featureFlagKey, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)environmentKey
- The environment key, used to tie together flag configuration and users under one environment so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic UserTargetingExpirationForFlags getExpiringUserTargets(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String featureFlagKey) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)environmentKey
- The environment key, used to tie together flag configuration and users under one environment so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<UserTargetingExpirationForFlags> getExpiringUserTargetsWithHttpInfo(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String featureFlagKey) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)environmentKey
- The environment key, used to tie together flag configuration and users under one environment so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getExpiringUserTargetsAsync(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String featureFlagKey, ApiCallback<UserTargetingExpirationForFlags> callback) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)environmentKey
- The environment key, used to tie together flag configuration and users under one environment so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call getFeatureFlagCall(java.lang.String projectKey, java.lang.String featureFlagKey, java.util.List<java.lang.String> env, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)env
- By default, each feature will include configurations for each environment. You can filter environments with the env query parameter. For example, setting env=[\"production\"] will restrict the returned configurations to just your production environment. (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic FeatureFlag getFeatureFlag(java.lang.String projectKey, java.lang.String featureFlagKey, java.util.List<java.lang.String> env) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)env
- By default, each feature will include configurations for each environment. You can filter environments with the env query parameter. For example, setting env=[\"production\"] will restrict the returned configurations to just your production environment. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<FeatureFlag> getFeatureFlagWithHttpInfo(java.lang.String projectKey, java.lang.String featureFlagKey, java.util.List<java.lang.String> env) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)env
- By default, each feature will include configurations for each environment. You can filter environments with the env query parameter. For example, setting env=[\"production\"] will restrict the returned configurations to just your production environment. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getFeatureFlagAsync(java.lang.String projectKey, java.lang.String featureFlagKey, java.util.List<java.lang.String> env, ApiCallback<FeatureFlag> callback) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)env
- By default, each feature will include configurations for each environment. You can filter environments with the env query parameter. For example, setting env=[\"production\"] will restrict the returned configurations to just your production environment. (optional)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call getFeatureFlagStatusCall(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String featureFlagKey, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)environmentKey
- The environment key, used to tie together flag configuration and users under one environment so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic FeatureFlagStatus getFeatureFlagStatus(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String featureFlagKey) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)environmentKey
- The environment key, used to tie together flag configuration and users under one environment so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<FeatureFlagStatus> getFeatureFlagStatusWithHttpInfo(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String featureFlagKey) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)environmentKey
- The environment key, used to tie together flag configuration and users under one environment so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getFeatureFlagStatusAsync(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String featureFlagKey, ApiCallback<FeatureFlagStatus> callback) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)environmentKey
- The environment key, used to tie together flag configuration and users under one environment so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call getFeatureFlagStatusAcrossEnvironmentsCall(java.lang.String projectKey, java.lang.String featureFlagKey, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic FeatureFlagStatusAcrossEnvironments getFeatureFlagStatusAcrossEnvironments(java.lang.String projectKey, java.lang.String featureFlagKey) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<FeatureFlagStatusAcrossEnvironments> getFeatureFlagStatusAcrossEnvironmentsWithHttpInfo(java.lang.String projectKey, java.lang.String featureFlagKey) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getFeatureFlagStatusAcrossEnvironmentsAsync(java.lang.String projectKey, java.lang.String featureFlagKey, ApiCallback<FeatureFlagStatusAcrossEnvironments> callback) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call getFeatureFlagStatusesCall(java.lang.String projectKey, java.lang.String environmentKey, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)environmentKey
- The environment key, used to tie together flag configuration and users under one environment so they can be managed together. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic FeatureFlagStatuses getFeatureFlagStatuses(java.lang.String projectKey, java.lang.String environmentKey) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)environmentKey
- The environment key, used to tie together flag configuration and users under one environment so they can be managed together. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<FeatureFlagStatuses> getFeatureFlagStatusesWithHttpInfo(java.lang.String projectKey, java.lang.String environmentKey) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)environmentKey
- The environment key, used to tie together flag configuration and users under one environment so they can be managed together. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getFeatureFlagStatusesAsync(java.lang.String projectKey, java.lang.String environmentKey, ApiCallback<FeatureFlagStatuses> callback) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)environmentKey
- The environment key, used to tie together flag configuration and users under one environment so they can be managed together. (required)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call getFeatureFlagsCall(java.lang.String projectKey, java.util.List<java.lang.String> env, java.lang.Boolean summary, java.lang.Boolean archived, java.math.BigDecimal limit, java.math.BigDecimal offset, java.lang.String filter, java.lang.String sort, java.lang.String tag, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)env
- By default, each feature will include configurations for each environment. You can filter environments with the env query parameter. For example, setting env=[\"production\"] will restrict the returned configurations to just your production environment. (optional)summary
- By default in api version >= 1, flags will _not_ include their list of prerequisites, targets or rules. Set summary=0 to include these fields for each flag returned. (optional)archived
- When set to 1, only archived flags will be included in the list of flags returned. By default, archived flags are not included in the list of flags. (optional)limit
- The number of objects to return. Defaults to -1, which returns everything. (optional)offset
- Where to start in the list. This is for use with pagination. For example, an offset of 10 would skip the first 10 items and then return the next limit items. (optional)filter
- A comma-separated list of filters. Each filter is of the form field:value. (optional)sort
- A comma-separated list of fields to sort by. A field prefixed by a - will be sorted in descending order. (optional)tag
- Filter by tag. A tag can be used to group flags across projects. (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic FeatureFlags getFeatureFlags(java.lang.String projectKey, java.util.List<java.lang.String> env, java.lang.Boolean summary, java.lang.Boolean archived, java.math.BigDecimal limit, java.math.BigDecimal offset, java.lang.String filter, java.lang.String sort, java.lang.String tag) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)env
- By default, each feature will include configurations for each environment. You can filter environments with the env query parameter. For example, setting env=[\"production\"] will restrict the returned configurations to just your production environment. (optional)summary
- By default in api version >= 1, flags will _not_ include their list of prerequisites, targets or rules. Set summary=0 to include these fields for each flag returned. (optional)archived
- When set to 1, only archived flags will be included in the list of flags returned. By default, archived flags are not included in the list of flags. (optional)limit
- The number of objects to return. Defaults to -1, which returns everything. (optional)offset
- Where to start in the list. This is for use with pagination. For example, an offset of 10 would skip the first 10 items and then return the next limit items. (optional)filter
- A comma-separated list of filters. Each filter is of the form field:value. (optional)sort
- A comma-separated list of fields to sort by. A field prefixed by a - will be sorted in descending order. (optional)tag
- Filter by tag. A tag can be used to group flags across projects. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<FeatureFlags> getFeatureFlagsWithHttpInfo(java.lang.String projectKey, java.util.List<java.lang.String> env, java.lang.Boolean summary, java.lang.Boolean archived, java.math.BigDecimal limit, java.math.BigDecimal offset, java.lang.String filter, java.lang.String sort, java.lang.String tag) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)env
- By default, each feature will include configurations for each environment. You can filter environments with the env query parameter. For example, setting env=[\"production\"] will restrict the returned configurations to just your production environment. (optional)summary
- By default in api version >= 1, flags will _not_ include their list of prerequisites, targets or rules. Set summary=0 to include these fields for each flag returned. (optional)archived
- When set to 1, only archived flags will be included in the list of flags returned. By default, archived flags are not included in the list of flags. (optional)limit
- The number of objects to return. Defaults to -1, which returns everything. (optional)offset
- Where to start in the list. This is for use with pagination. For example, an offset of 10 would skip the first 10 items and then return the next limit items. (optional)filter
- A comma-separated list of filters. Each filter is of the form field:value. (optional)sort
- A comma-separated list of fields to sort by. A field prefixed by a - will be sorted in descending order. (optional)tag
- Filter by tag. A tag can be used to group flags across projects. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getFeatureFlagsAsync(java.lang.String projectKey, java.util.List<java.lang.String> env, java.lang.Boolean summary, java.lang.Boolean archived, java.math.BigDecimal limit, java.math.BigDecimal offset, java.lang.String filter, java.lang.String sort, java.lang.String tag, ApiCallback<FeatureFlags> callback) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)env
- By default, each feature will include configurations for each environment. You can filter environments with the env query parameter. For example, setting env=[\"production\"] will restrict the returned configurations to just your production environment. (optional)summary
- By default in api version >= 1, flags will _not_ include their list of prerequisites, targets or rules. Set summary=0 to include these fields for each flag returned. (optional)archived
- When set to 1, only archived flags will be included in the list of flags returned. By default, archived flags are not included in the list of flags. (optional)limit
- The number of objects to return. Defaults to -1, which returns everything. (optional)offset
- Where to start in the list. This is for use with pagination. For example, an offset of 10 would skip the first 10 items and then return the next limit items. (optional)filter
- A comma-separated list of filters. Each filter is of the form field:value. (optional)sort
- A comma-separated list of fields to sort by. A field prefixed by a - will be sorted in descending order. (optional)tag
- Filter by tag. A tag can be used to group flags across projects. (optional)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call getFlagConfigScheduledChangeCall(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String scheduledChangeId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)environmentKey
- The environment key, used to tie together flag configuration and users under one environment so they can be managed together. (required)scheduledChangeId
- The id of the scheduled change (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic FeatureFlagScheduledChange getFlagConfigScheduledChange(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String scheduledChangeId) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)environmentKey
- The environment key, used to tie together flag configuration and users under one environment so they can be managed together. (required)scheduledChangeId
- The id of the scheduled change (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<FeatureFlagScheduledChange> getFlagConfigScheduledChangeWithHttpInfo(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String scheduledChangeId) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)environmentKey
- The environment key, used to tie together flag configuration and users under one environment so they can be managed together. (required)scheduledChangeId
- The id of the scheduled change (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getFlagConfigScheduledChangeAsync(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String scheduledChangeId, ApiCallback<FeatureFlagScheduledChange> callback) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)environmentKey
- The environment key, used to tie together flag configuration and users under one environment so they can be managed together. (required)scheduledChangeId
- The id of the scheduled change (required)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call getFlagConfigScheduledChangesCall(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)environmentKey
- The environment key, used to tie together flag configuration and users under one environment so they can be managed together. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic FeatureFlagScheduledChanges getFlagConfigScheduledChanges(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)environmentKey
- The environment key, used to tie together flag configuration and users under one environment so they can be managed together. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<FeatureFlagScheduledChanges> getFlagConfigScheduledChangesWithHttpInfo(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)environmentKey
- The environment key, used to tie together flag configuration and users under one environment so they can be managed together. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getFlagConfigScheduledChangesAsync(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, ApiCallback<FeatureFlagScheduledChanges> callback) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)environmentKey
- The environment key, used to tie together flag configuration and users under one environment so they can be managed together. (required)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call getFlagConfigScheduledChangesConflictsCall(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, FlagConfigScheduledChangesConflictsBody flagConfigScheduledChangesConflictsBody, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)environmentKey
- The environment key, used to tie together flag configuration and users under one environment so they can be managed together. (required)flagConfigScheduledChangesConflictsBody
- Used to determine if a semantic patch will result in conflicts with scheduled changes on a feature flag. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic FeatureFlagScheduledChangesConflicts getFlagConfigScheduledChangesConflicts(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, FlagConfigScheduledChangesConflictsBody flagConfigScheduledChangesConflictsBody) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)environmentKey
- The environment key, used to tie together flag configuration and users under one environment so they can be managed together. (required)flagConfigScheduledChangesConflictsBody
- Used to determine if a semantic patch will result in conflicts with scheduled changes on a feature flag. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<FeatureFlagScheduledChangesConflicts> getFlagConfigScheduledChangesConflictsWithHttpInfo(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, FlagConfigScheduledChangesConflictsBody flagConfigScheduledChangesConflictsBody) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)environmentKey
- The environment key, used to tie together flag configuration and users under one environment so they can be managed together. (required)flagConfigScheduledChangesConflictsBody
- Used to determine if a semantic patch will result in conflicts with scheduled changes on a feature flag. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getFlagConfigScheduledChangesConflictsAsync(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, FlagConfigScheduledChangesConflictsBody flagConfigScheduledChangesConflictsBody, ApiCallback<FeatureFlagScheduledChangesConflicts> callback) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)environmentKey
- The environment key, used to tie together flag configuration and users under one environment so they can be managed together. (required)flagConfigScheduledChangesConflictsBody
- Used to determine if a semantic patch will result in conflicts with scheduled changes on a feature flag. (required)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call patchExpiringUserTargetsCall(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String featureFlagKey, java.lang.Object semanticPatchWithComment, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)environmentKey
- The environment key, used to tie together flag configuration and users under one environment so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)semanticPatchWithComment
- Requires a Semantic Patch representation of the desired changes to the resource. 'https://apidocs.launchdarkly.com/reference#updates-via-semantic-patches'. The addition of comments is also supported. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic UserTargetingExpirationForFlags patchExpiringUserTargets(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String featureFlagKey, java.lang.Object semanticPatchWithComment) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)environmentKey
- The environment key, used to tie together flag configuration and users under one environment so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)semanticPatchWithComment
- Requires a Semantic Patch representation of the desired changes to the resource. 'https://apidocs.launchdarkly.com/reference#updates-via-semantic-patches'. The addition of comments is also supported. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<UserTargetingExpirationForFlags> patchExpiringUserTargetsWithHttpInfo(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String featureFlagKey, java.lang.Object semanticPatchWithComment) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)environmentKey
- The environment key, used to tie together flag configuration and users under one environment so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)semanticPatchWithComment
- Requires a Semantic Patch representation of the desired changes to the resource. 'https://apidocs.launchdarkly.com/reference#updates-via-semantic-patches'. The addition of comments is also supported. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call patchExpiringUserTargetsAsync(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String featureFlagKey, java.lang.Object semanticPatchWithComment, ApiCallback<UserTargetingExpirationForFlags> callback) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)environmentKey
- The environment key, used to tie together flag configuration and users under one environment so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)semanticPatchWithComment
- Requires a Semantic Patch representation of the desired changes to the resource. 'https://apidocs.launchdarkly.com/reference#updates-via-semantic-patches'. The addition of comments is also supported. (required)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call patchFeatureFlagCall(java.lang.String projectKey, java.lang.String featureFlagKey, PatchComment patchComment, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)patchComment
- Requires a JSON Patch representation of the desired changes to the project, and an optional comment. 'http://jsonpatch.com/' Feature flag patches also support JSON Merge Patch format. 'https://tools.ietf.org/html/rfc7386' The addition of comments is also supported. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic FeatureFlag patchFeatureFlag(java.lang.String projectKey, java.lang.String featureFlagKey, PatchComment patchComment) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)patchComment
- Requires a JSON Patch representation of the desired changes to the project, and an optional comment. 'http://jsonpatch.com/' Feature flag patches also support JSON Merge Patch format. 'https://tools.ietf.org/html/rfc7386' The addition of comments is also supported. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<FeatureFlag> patchFeatureFlagWithHttpInfo(java.lang.String projectKey, java.lang.String featureFlagKey, PatchComment patchComment) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)patchComment
- Requires a JSON Patch representation of the desired changes to the project, and an optional comment. 'http://jsonpatch.com/' Feature flag patches also support JSON Merge Patch format. 'https://tools.ietf.org/html/rfc7386' The addition of comments is also supported. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call patchFeatureFlagAsync(java.lang.String projectKey, java.lang.String featureFlagKey, PatchComment patchComment, ApiCallback<FeatureFlag> callback) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)patchComment
- Requires a JSON Patch representation of the desired changes to the project, and an optional comment. 'http://jsonpatch.com/' Feature flag patches also support JSON Merge Patch format. 'https://tools.ietf.org/html/rfc7386' The addition of comments is also supported. (required)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call patchFlagConfigScheduledChangeCall(java.lang.String projectKey, java.lang.String featureFlagKey, FlagConfigScheduledChangesPatchBody flagConfigScheduledChangesPatchBody, java.lang.String environmentKey, java.lang.String scheduledChangeId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)flagConfigScheduledChangesPatchBody
- Update scheduled changes on a feature flag. (required)environmentKey
- The environment key, used to tie together flag configuration and users under one environment so they can be managed together. (required)scheduledChangeId
- The id of the scheduled change (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic FeatureFlagScheduledChange patchFlagConfigScheduledChange(java.lang.String projectKey, java.lang.String featureFlagKey, FlagConfigScheduledChangesPatchBody flagConfigScheduledChangesPatchBody, java.lang.String environmentKey, java.lang.String scheduledChangeId) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)flagConfigScheduledChangesPatchBody
- Update scheduled changes on a feature flag. (required)environmentKey
- The environment key, used to tie together flag configuration and users under one environment so they can be managed together. (required)scheduledChangeId
- The id of the scheduled change (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<FeatureFlagScheduledChange> patchFlagConfigScheduledChangeWithHttpInfo(java.lang.String projectKey, java.lang.String featureFlagKey, FlagConfigScheduledChangesPatchBody flagConfigScheduledChangesPatchBody, java.lang.String environmentKey, java.lang.String scheduledChangeId) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)flagConfigScheduledChangesPatchBody
- Update scheduled changes on a feature flag. (required)environmentKey
- The environment key, used to tie together flag configuration and users under one environment so they can be managed together. (required)scheduledChangeId
- The id of the scheduled change (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call patchFlagConfigScheduledChangeAsync(java.lang.String projectKey, java.lang.String featureFlagKey, FlagConfigScheduledChangesPatchBody flagConfigScheduledChangesPatchBody, java.lang.String environmentKey, java.lang.String scheduledChangeId, ApiCallback<FeatureFlagScheduledChange> callback) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)flagConfigScheduledChangesPatchBody
- Update scheduled changes on a feature flag. (required)environmentKey
- The environment key, used to tie together flag configuration and users under one environment so they can be managed together. (required)scheduledChangeId
- The id of the scheduled change (required)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call postApplyApprovalRequestCall(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String approvalRequestId, ApprovalRequestApplyConfigBody approvalRequestApplyConfigBody, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)environmentKey
- The environment key, used to tie together flag configuration and users under one environment so they can be managed together. (required)approvalRequestId
- The approval request ID (required)approvalRequestApplyConfigBody
- Apply an approval request (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApprovalRequests postApplyApprovalRequest(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String approvalRequestId, ApprovalRequestApplyConfigBody approvalRequestApplyConfigBody) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)environmentKey
- The environment key, used to tie together flag configuration and users under one environment so they can be managed together. (required)approvalRequestId
- The approval request ID (required)approvalRequestApplyConfigBody
- Apply an approval request (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApprovalRequests> postApplyApprovalRequestWithHttpInfo(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String approvalRequestId, ApprovalRequestApplyConfigBody approvalRequestApplyConfigBody) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)environmentKey
- The environment key, used to tie together flag configuration and users under one environment so they can be managed together. (required)approvalRequestId
- The approval request ID (required)approvalRequestApplyConfigBody
- Apply an approval request (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call postApplyApprovalRequestAsync(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String approvalRequestId, ApprovalRequestApplyConfigBody approvalRequestApplyConfigBody, ApiCallback<ApprovalRequests> callback) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)environmentKey
- The environment key, used to tie together flag configuration and users under one environment so they can be managed together. (required)approvalRequestId
- The approval request ID (required)approvalRequestApplyConfigBody
- Apply an approval request (required)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call postApprovalRequestCall(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String approvalRequestId, ApprovalRequestConfigBody approvalRequestConfigBody, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)environmentKey
- The environment key, used to tie together flag configuration and users under one environment so they can be managed together. (required)approvalRequestId
- The approval request ID (required)approvalRequestConfigBody
- Create a new approval request (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApprovalRequest postApprovalRequest(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String approvalRequestId, ApprovalRequestConfigBody approvalRequestConfigBody) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)environmentKey
- The environment key, used to tie together flag configuration and users under one environment so they can be managed together. (required)approvalRequestId
- The approval request ID (required)approvalRequestConfigBody
- Create a new approval request (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApprovalRequest> postApprovalRequestWithHttpInfo(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String approvalRequestId, ApprovalRequestConfigBody approvalRequestConfigBody) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)environmentKey
- The environment key, used to tie together flag configuration and users under one environment so they can be managed together. (required)approvalRequestId
- The approval request ID (required)approvalRequestConfigBody
- Create a new approval request (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call postApprovalRequestAsync(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String approvalRequestId, ApprovalRequestConfigBody approvalRequestConfigBody, ApiCallback<ApprovalRequest> callback) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)environmentKey
- The environment key, used to tie together flag configuration and users under one environment so they can be managed together. (required)approvalRequestId
- The approval request ID (required)approvalRequestConfigBody
- Create a new approval request (optional)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call postFeatureFlagCall(java.lang.String projectKey, FeatureFlagBody featureFlagBody, java.lang.String clone, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)featureFlagBody
- Create a new feature flag. (required)clone
- The key of the feature flag to be cloned. The key identifies the flag in your code. For example, setting clone=flagKey will copy the full targeting configuration for all environments (including on/off state) from the original flag to the new flag. (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic FeatureFlag postFeatureFlag(java.lang.String projectKey, FeatureFlagBody featureFlagBody, java.lang.String clone) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)featureFlagBody
- Create a new feature flag. (required)clone
- The key of the feature flag to be cloned. The key identifies the flag in your code. For example, setting clone=flagKey will copy the full targeting configuration for all environments (including on/off state) from the original flag to the new flag. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<FeatureFlag> postFeatureFlagWithHttpInfo(java.lang.String projectKey, FeatureFlagBody featureFlagBody, java.lang.String clone) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)featureFlagBody
- Create a new feature flag. (required)clone
- The key of the feature flag to be cloned. The key identifies the flag in your code. For example, setting clone=flagKey will copy the full targeting configuration for all environments (including on/off state) from the original flag to the new flag. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call postFeatureFlagAsync(java.lang.String projectKey, FeatureFlagBody featureFlagBody, java.lang.String clone, ApiCallback<FeatureFlag> callback) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)featureFlagBody
- Create a new feature flag. (required)clone
- The key of the feature flag to be cloned. The key identifies the flag in your code. For example, setting clone=flagKey will copy the full targeting configuration for all environments (including on/off state) from the original flag to the new flag. (optional)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call postFlagConfigScheduledChangesCall(java.lang.String projectKey, FlagConfigScheduledChangesPostBody flagConfigScheduledChangesPostBody, java.lang.String featureFlagKey, java.lang.String environmentKey, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)flagConfigScheduledChangesPostBody
- Create scheduled changes on a feature flag. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)environmentKey
- The environment key, used to tie together flag configuration and users under one environment so they can be managed together. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic FeatureFlagScheduledChange postFlagConfigScheduledChanges(java.lang.String projectKey, FlagConfigScheduledChangesPostBody flagConfigScheduledChangesPostBody, java.lang.String featureFlagKey, java.lang.String environmentKey) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)flagConfigScheduledChangesPostBody
- Create scheduled changes on a feature flag. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)environmentKey
- The environment key, used to tie together flag configuration and users under one environment so they can be managed together. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<FeatureFlagScheduledChange> postFlagConfigScheduledChangesWithHttpInfo(java.lang.String projectKey, FlagConfigScheduledChangesPostBody flagConfigScheduledChangesPostBody, java.lang.String featureFlagKey, java.lang.String environmentKey) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)flagConfigScheduledChangesPostBody
- Create scheduled changes on a feature flag. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)environmentKey
- The environment key, used to tie together flag configuration and users under one environment so they can be managed together. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call postFlagConfigScheduledChangesAsync(java.lang.String projectKey, FlagConfigScheduledChangesPostBody flagConfigScheduledChangesPostBody, java.lang.String featureFlagKey, java.lang.String environmentKey, ApiCallback<FeatureFlagScheduledChange> callback) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)flagConfigScheduledChangesPostBody
- Create scheduled changes on a feature flag. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)environmentKey
- The environment key, used to tie together flag configuration and users under one environment so they can be managed together. (required)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call postReviewApprovalRequestCall(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String approvalRequestId, ApprovalRequestReviewConfigBody approvalRequestReviewConfigBody, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)environmentKey
- The environment key, used to tie together flag configuration and users under one environment so they can be managed together. (required)approvalRequestId
- The approval request ID (required)approvalRequestReviewConfigBody
- Review an approval request (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApprovalRequests postReviewApprovalRequest(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String approvalRequestId, ApprovalRequestReviewConfigBody approvalRequestReviewConfigBody) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)environmentKey
- The environment key, used to tie together flag configuration and users under one environment so they can be managed together. (required)approvalRequestId
- The approval request ID (required)approvalRequestReviewConfigBody
- Review an approval request (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApprovalRequests> postReviewApprovalRequestWithHttpInfo(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String approvalRequestId, ApprovalRequestReviewConfigBody approvalRequestReviewConfigBody) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)environmentKey
- The environment key, used to tie together flag configuration and users under one environment so they can be managed together. (required)approvalRequestId
- The approval request ID (required)approvalRequestReviewConfigBody
- Review an approval request (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call postReviewApprovalRequestAsync(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String approvalRequestId, ApprovalRequestReviewConfigBody approvalRequestReviewConfigBody, ApiCallback<ApprovalRequests> callback) throws ApiException
projectKey
- The project key, used to tie the flags together under one project so they can be managed together. (required)featureFlagKey
- The feature flag's key. The key identifies the flag in your code. (required)environmentKey
- The environment key, used to tie together flag configuration and users under one environment so they can be managed together. (required)approvalRequestId
- The approval request ID (required)approvalRequestReviewConfigBody
- Review an approval request (required)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body object