public class UsersApi
extends java.lang.Object
| Modifier and Type | Method | 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.
|
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.lang.Integer limit,
java.lang.Integer offset,
java.lang.Long 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.lang.Integer limit,
java.lang.Integer offset,
java.lang.Long 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.lang.Integer limit,
java.lang.Integer offset,
java.lang.Long 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.lang.Integer limit,
java.lang.Integer offset,
java.lang.Long after) |
Search users in LaunchDarkly based on their last active date, or a search query.
|
UserRecord |
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<UserRecord> 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.lang.Integer limit,
java.lang.String h,
java.lang.String scrollId) |
List all users in the environment.
|
com.squareup.okhttp.Call |
getUsersAsync(java.lang.String projectKey,
java.lang.String environmentKey,
java.lang.Integer limit,
java.lang.String h,
java.lang.String scrollId,
ApiCallback<Users> callback) |
List all users in the environment.
|
com.squareup.okhttp.Call |
getUsersCall(java.lang.String projectKey,
java.lang.String environmentKey,
java.lang.Integer limit,
java.lang.String h,
java.lang.String scrollId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for getUsers
|
ApiResponse<Users> |
getUsersWithHttpInfo(java.lang.String projectKey,
java.lang.String environmentKey,
java.lang.Integer limit,
java.lang.String h,
java.lang.String scrollId) |
List all users in the environment.
|
ApiResponse<UserRecord> |
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, 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 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, 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<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, 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 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, 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 getSearchUsersCall(java.lang.String projectKey,
java.lang.String environmentKey,
java.lang.String q,
java.lang.Integer limit,
java.lang.Integer offset,
java.lang.Long 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, used to tie together flag configuration and users under one environment so they can be managed together. (required)q - Search query. (optional)limit - Pagination limit. (optional)offset - Specifies the first item to return in the collection. (optional)after - A timestamp filter, expressed as a Unix epoch time in milliseconds. All entries returned will have occurred after this timestamp. (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.lang.Integer limit, java.lang.Integer offset, java.lang.Long 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, used to tie together flag configuration and users under one environment so they can be managed together. (required)q - Search query. (optional)limit - Pagination limit. (optional)offset - Specifies the first item to return in the collection. (optional)after - A timestamp filter, expressed as a Unix epoch time in milliseconds. All entries returned will have occurred after this timestamp. (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.lang.Integer limit, java.lang.Integer offset, java.lang.Long 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, used to tie together flag configuration and users under one environment so they can be managed together. (required)q - Search query. (optional)limit - Pagination limit. (optional)offset - Specifies the first item to return in the collection. (optional)after - A timestamp filter, expressed as a Unix epoch time in milliseconds. All entries returned will have occurred after this timestamp. (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.lang.Integer limit,
java.lang.Integer offset,
java.lang.Long 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, used to tie together flag configuration and users under one environment so they can be managed together. (required)q - Search query. (optional)limit - Pagination limit. (optional)offset - Specifies the first item to return in the collection. (optional)after - A timestamp filter, expressed as a Unix epoch time in milliseconds. All entries returned will have occurred after this timestamp. (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, 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 UserRecord 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, 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<UserRecord> 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, 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 getUserAsync(java.lang.String projectKey,
java.lang.String environmentKey,
java.lang.String userKey,
ApiCallback<UserRecord> 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 getUsersCall(java.lang.String projectKey,
java.lang.String environmentKey,
java.lang.Integer limit,
java.lang.String h,
java.lang.String scrollId,
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)limit - Pagination limit. (optional)h - This parameter is required when following \"next\" links. (optional)scrollId - This parameter is required when following \"next\" links. (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.lang.Integer limit, java.lang.String h, java.lang.String scrollId) 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)limit - Pagination limit. (optional)h - This parameter is required when following \"next\" links. (optional)scrollId - This parameter is required when following \"next\" links. (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.lang.Integer limit, java.lang.String h, java.lang.String scrollId) 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)limit - Pagination limit. (optional)h - This parameter is required when following \"next\" links. (optional)scrollId - This parameter is required when following \"next\" links. (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.lang.Integer limit,
java.lang.String h,
java.lang.String scrollId,
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, used to tie together flag configuration and users under one environment so they can be managed together. (required)limit - Pagination limit. (optional)h - This parameter is required when following \"next\" links. (optional)scrollId - This parameter is required when following \"next\" links. (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