public class UserSettingsApi
extends java.lang.Object
| Constructor | Description |
|---|---|
UserSettingsApi() |
|
UserSettingsApi(ApiClient apiClient) |
| Modifier and Type | Method | Description |
|---|---|---|
ApiClient |
getApiClient() |
|
UserTargetingExpirationOnFlagsForUser |
getExpiringUserTargetsForUser(java.lang.String projectKey,
java.lang.String environmentKey,
java.lang.String userKey) |
Get expiring dates on flags for user
|
com.squareup.okhttp.Call |
getExpiringUserTargetsForUserAsync(java.lang.String projectKey,
java.lang.String environmentKey,
java.lang.String userKey,
ApiCallback<UserTargetingExpirationOnFlagsForUser> callback) |
Get expiring dates on flags for user (asynchronously)
|
com.squareup.okhttp.Call |
getExpiringUserTargetsForUserCall(java.lang.String projectKey,
java.lang.String environmentKey,
java.lang.String userKey,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for getExpiringUserTargetsForUser
|
ApiResponse<UserTargetingExpirationOnFlagsForUser> |
getExpiringUserTargetsForUserWithHttpInfo(java.lang.String projectKey,
java.lang.String environmentKey,
java.lang.String userKey) |
Get expiring dates on flags for user
|
UserFlagSetting |
getUserFlagSetting(java.lang.String projectKey,
java.lang.String environmentKey,
java.lang.String userKey,
java.lang.String featureFlagKey) |
Fetch a single flag setting for a user by key.
|
com.squareup.okhttp.Call |
getUserFlagSettingAsync(java.lang.String projectKey,
java.lang.String environmentKey,
java.lang.String userKey,
java.lang.String featureFlagKey,
ApiCallback<UserFlagSetting> callback) |
Fetch a single flag setting for a user by key.
|
com.squareup.okhttp.Call |
getUserFlagSettingCall(java.lang.String projectKey,
java.lang.String environmentKey,
java.lang.String userKey,
java.lang.String featureFlagKey,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for getUserFlagSetting
|
UserFlagSettings |
getUserFlagSettings(java.lang.String projectKey,
java.lang.String environmentKey,
java.lang.String userKey) |
Fetch a single flag setting for a user by key.
|
com.squareup.okhttp.Call |
getUserFlagSettingsAsync(java.lang.String projectKey,
java.lang.String environmentKey,
java.lang.String userKey,
ApiCallback<UserFlagSettings> callback) |
Fetch a single flag setting for a user by key.
|
com.squareup.okhttp.Call |
getUserFlagSettingsCall(java.lang.String projectKey,
java.lang.String environmentKey,
java.lang.String userKey,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for getUserFlagSettings
|
ApiResponse<UserFlagSettings> |
getUserFlagSettingsWithHttpInfo(java.lang.String projectKey,
java.lang.String environmentKey,
java.lang.String userKey) |
Fetch a single flag setting for a user by key.
|
ApiResponse<UserFlagSetting> |
getUserFlagSettingWithHttpInfo(java.lang.String projectKey,
java.lang.String environmentKey,
java.lang.String userKey,
java.lang.String featureFlagKey) |
Fetch a single flag setting for a user by key.
|
UserTargetingExpirationOnFlagsForUser |
patchExpiringUserTargetsForFlags(java.lang.String projectKey,
java.lang.String environmentKey,
java.lang.String userKey,
java.lang.Object semanticPatchWithComment) |
Update, add, or delete expiring user targets for a single user on all flags
|
com.squareup.okhttp.Call |
patchExpiringUserTargetsForFlagsAsync(java.lang.String projectKey,
java.lang.String environmentKey,
java.lang.String userKey,
java.lang.Object semanticPatchWithComment,
ApiCallback<UserTargetingExpirationOnFlagsForUser> callback) |
Update, add, or delete expiring user targets for a single user on all flags (asynchronously)
|
com.squareup.okhttp.Call |
patchExpiringUserTargetsForFlagsCall(java.lang.String projectKey,
java.lang.String environmentKey,
java.lang.String userKey,
java.lang.Object semanticPatchWithComment,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for patchExpiringUserTargetsForFlags
|
ApiResponse<UserTargetingExpirationOnFlagsForUser> |
patchExpiringUserTargetsForFlagsWithHttpInfo(java.lang.String projectKey,
java.lang.String environmentKey,
java.lang.String userKey,
java.lang.Object semanticPatchWithComment) |
Update, add, or delete expiring user targets for a single user on all flags
|
void |
putFlagSetting(java.lang.String projectKey,
java.lang.String environmentKey,
java.lang.String userKey,
java.lang.String featureFlagKey,
UserSettingsBody userSettingsBody) |
Specifically enable or disable a feature flag for a user based on their key.
|
com.squareup.okhttp.Call |
putFlagSettingAsync(java.lang.String projectKey,
java.lang.String environmentKey,
java.lang.String userKey,
java.lang.String featureFlagKey,
UserSettingsBody userSettingsBody,
ApiCallback<java.lang.Void> callback) |
Specifically enable or disable a feature flag for a user based on their key.
|
com.squareup.okhttp.Call |
putFlagSettingCall(java.lang.String projectKey,
java.lang.String environmentKey,
java.lang.String userKey,
java.lang.String featureFlagKey,
UserSettingsBody userSettingsBody,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for putFlagSetting
|
ApiResponse<java.lang.Void> |
putFlagSettingWithHttpInfo(java.lang.String projectKey,
java.lang.String environmentKey,
java.lang.String userKey,
java.lang.String featureFlagKey,
UserSettingsBody userSettingsBody) |
Specifically enable or disable a feature flag for a user based on their key.
|
void |
setApiClient(ApiClient apiClient) |
public UserSettingsApi()
public UserSettingsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call getExpiringUserTargetsForUserCall(java.lang.String projectKey,
java.lang.String environmentKey,
java.lang.String userKey,
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)userKey - The user's key. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic UserTargetingExpirationOnFlagsForUser getExpiringUserTargetsForUser(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String userKey) 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)userKey - The user's key. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<UserTargetingExpirationOnFlagsForUser> getExpiringUserTargetsForUserWithHttpInfo(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String userKey) 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)userKey - The user's key. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getExpiringUserTargetsForUserAsync(java.lang.String projectKey,
java.lang.String environmentKey,
java.lang.String userKey,
ApiCallback<UserTargetingExpirationOnFlagsForUser> 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)userKey - The user's key. (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 getUserFlagSettingCall(java.lang.String projectKey,
java.lang.String environmentKey,
java.lang.String userKey,
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)userKey - The user's key. (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 UserFlagSetting getUserFlagSetting(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String userKey, 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)userKey - The user's key. (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<UserFlagSetting> getUserFlagSettingWithHttpInfo(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String userKey, 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)userKey - The user's key. (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 getUserFlagSettingAsync(java.lang.String projectKey,
java.lang.String environmentKey,
java.lang.String userKey,
java.lang.String featureFlagKey,
ApiCallback<UserFlagSetting> 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)userKey - The user's key. (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 getUserFlagSettingsCall(java.lang.String projectKey,
java.lang.String environmentKey,
java.lang.String userKey,
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)userKey - The user's key. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic UserFlagSettings getUserFlagSettings(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String userKey) 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)userKey - The user's key. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<UserFlagSettings> getUserFlagSettingsWithHttpInfo(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String userKey) 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)userKey - The user's key. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getUserFlagSettingsAsync(java.lang.String projectKey,
java.lang.String environmentKey,
java.lang.String userKey,
ApiCallback<UserFlagSettings> 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)userKey - The user's key. (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 patchExpiringUserTargetsForFlagsCall(java.lang.String projectKey,
java.lang.String environmentKey,
java.lang.String userKey,
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)userKey - The user's key. (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 UserTargetingExpirationOnFlagsForUser patchExpiringUserTargetsForFlags(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String userKey, 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)userKey - The user's key. (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<UserTargetingExpirationOnFlagsForUser> patchExpiringUserTargetsForFlagsWithHttpInfo(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String userKey, 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)userKey - The user's key. (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 patchExpiringUserTargetsForFlagsAsync(java.lang.String projectKey,
java.lang.String environmentKey,
java.lang.String userKey,
java.lang.Object semanticPatchWithComment,
ApiCallback<UserTargetingExpirationOnFlagsForUser> 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)userKey - The user's key. (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 putFlagSettingCall(java.lang.String projectKey,
java.lang.String environmentKey,
java.lang.String userKey,
java.lang.String featureFlagKey,
UserSettingsBody userSettingsBody,
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)userKey - The user's key. (required)featureFlagKey - The feature flag's key. The key identifies the flag in your code. (required)userSettingsBody - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void putFlagSetting(java.lang.String projectKey,
java.lang.String environmentKey,
java.lang.String userKey,
java.lang.String featureFlagKey,
UserSettingsBody userSettingsBody)
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)userKey - The user's key. (required)featureFlagKey - The feature flag's key. The key identifies the flag in your code. (required)userSettingsBody - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<java.lang.Void> putFlagSettingWithHttpInfo(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String userKey, java.lang.String featureFlagKey, UserSettingsBody userSettingsBody) 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)userKey - The user's key. (required)featureFlagKey - The feature flag's key. The key identifies the flag in your code. (required)userSettingsBody - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call putFlagSettingAsync(java.lang.String projectKey,
java.lang.String environmentKey,
java.lang.String userKey,
java.lang.String featureFlagKey,
UserSettingsBody userSettingsBody,
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)userKey - The user's key. (required)featureFlagKey - The feature flag's key. The key identifies the flag in your code. (required)userSettingsBody - (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