public class UsersApi
extends java.lang.Object
Constructor and Description |
---|
UsersApi() |
UsersApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
void |
deleteUser(java.lang.String projectKey,
java.lang.String environmentKey,
java.lang.String userKey)
Delete a user by ID
|
com.squareup.okhttp.Call |
deleteUserAsync(java.lang.String projectKey,
java.lang.String environmentKey,
java.lang.String userKey,
ApiCallback<java.lang.Void> callback)
Delete a user by ID (asynchronously)
|
com.squareup.okhttp.Call |
deleteUserCall(java.lang.String projectKey,
java.lang.String environmentKey,
java.lang.String userKey,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for deleteUser
|
ApiResponse<java.lang.Void> |
deleteUserWithHttpInfo(java.lang.String projectKey,
java.lang.String environmentKey,
java.lang.String userKey)
Delete a user by ID
|
ApiClient |
getApiClient() |
Users |
getSearchUsers(java.lang.String projectKey,
java.lang.String environmentKey,
java.lang.String q,
java.math.BigDecimal limit,
java.math.BigDecimal offset,
java.math.BigDecimal after)
Search users in LaunchDarkly based on their last active date, or a search query.
|
com.squareup.okhttp.Call |
getSearchUsersAsync(java.lang.String projectKey,
java.lang.String environmentKey,
java.lang.String q,
java.math.BigDecimal limit,
java.math.BigDecimal offset,
java.math.BigDecimal after,
ApiCallback<Users> callback)
Search users in LaunchDarkly based on their last active date, or a search query.
|
com.squareup.okhttp.Call |
getSearchUsersCall(java.lang.String projectKey,
java.lang.String environmentKey,
java.lang.String q,
java.math.BigDecimal limit,
java.math.BigDecimal offset,
java.math.BigDecimal after,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getSearchUsers
|
ApiResponse<Users> |
getSearchUsersWithHttpInfo(java.lang.String projectKey,
java.lang.String environmentKey,
java.lang.String q,
java.math.BigDecimal limit,
java.math.BigDecimal offset,
java.math.BigDecimal after)
Search users in LaunchDarkly based on their last active date, or a search query.
|
User |
getUser(java.lang.String projectKey,
java.lang.String environmentKey,
java.lang.String userKey)
Get a user by key.
|
com.squareup.okhttp.Call |
getUserAsync(java.lang.String projectKey,
java.lang.String environmentKey,
java.lang.String userKey,
ApiCallback<User> callback)
Get a user by key.
|
com.squareup.okhttp.Call |
getUserCall(java.lang.String projectKey,
java.lang.String environmentKey,
java.lang.String userKey,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getUser
|
Users |
getUsers(java.lang.String projectKey,
java.lang.String environmentKey,
java.math.BigDecimal limit)
List all users in the environment.
|
com.squareup.okhttp.Call |
getUsersAsync(java.lang.String projectKey,
java.lang.String environmentKey,
java.math.BigDecimal limit,
ApiCallback<Users> callback)
List all users in the environment.
|
com.squareup.okhttp.Call |
getUsersCall(java.lang.String projectKey,
java.lang.String environmentKey,
java.math.BigDecimal limit,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getUsers
|
ApiResponse<Users> |
getUsersWithHttpInfo(java.lang.String projectKey,
java.lang.String environmentKey,
java.math.BigDecimal limit)
List all users in the environment.
|
ApiResponse<User> |
getUserWithHttpInfo(java.lang.String projectKey,
java.lang.String environmentKey,
java.lang.String userKey)
Get a user by key.
|
void |
setApiClient(ApiClient apiClient) |
public UsersApi()
public UsersApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call deleteUserCall(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 (required)userKey
- The user's key (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic void deleteUser(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 (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<java.lang.Void> deleteUserWithHttpInfo(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 (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 deleteUserAsync(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String userKey, 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 (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 getSearchUsersCall(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String q, java.math.BigDecimal limit, java.math.BigDecimal offset, java.math.BigDecimal after, 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 (required)q
- Search query (optional)limit
- Pagination limit (optional)offset
- Specifies the first item to return in the collection (optional)after
- A unix epoch time in milliseconds specifying the maximum last time a user requested a feature flag (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic Users getSearchUsers(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String q, java.math.BigDecimal limit, java.math.BigDecimal offset, java.math.BigDecimal after) 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 (required)q
- Search query (optional)limit
- Pagination limit (optional)offset
- Specifies the first item to return in the collection (optional)after
- A unix epoch time in milliseconds specifying the maximum last time a user requested a feature flag (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Users> getSearchUsersWithHttpInfo(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String q, java.math.BigDecimal limit, java.math.BigDecimal offset, java.math.BigDecimal after) 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 (required)q
- Search query (optional)limit
- Pagination limit (optional)offset
- Specifies the first item to return in the collection (optional)after
- A unix epoch time in milliseconds specifying the maximum last time a user requested a feature flag (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getSearchUsersAsync(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String q, java.math.BigDecimal limit, java.math.BigDecimal offset, java.math.BigDecimal after, ApiCallback<Users> 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 (required)q
- Search query (optional)limit
- Pagination limit (optional)offset
- Specifies the first item to return in the collection (optional)after
- A unix epoch time in milliseconds specifying the maximum last time a user requested a feature 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 getUserCall(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 (required)userKey
- The user's key (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic User getUser(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 (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<User> getUserWithHttpInfo(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 (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 getUserAsync(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String userKey, ApiCallback<User> 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 (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 getUsersCall(java.lang.String projectKey, java.lang.String environmentKey, java.math.BigDecimal limit, 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 (required)limit
- Pagination limit (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic Users getUsers(java.lang.String projectKey, java.lang.String environmentKey, java.math.BigDecimal limit) 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 (required)limit
- Pagination limit (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Users> getUsersWithHttpInfo(java.lang.String projectKey, java.lang.String environmentKey, java.math.BigDecimal limit) 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 (required)limit
- Pagination limit (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getUsersAsync(java.lang.String projectKey, java.lang.String environmentKey, java.math.BigDecimal limit, ApiCallback<Users> 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 (required)limit
- Pagination limit (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 object