Package io.tiledb.cloud.rest_api.api
Class UserApi
- java.lang.Object
-
- io.tiledb.cloud.rest_api.api.UserApi
-
public class UserApi extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAWSAccessCredentials(java.lang.String namespace, AWSAccessCredentials awsAccessCredentials)
Add aws keysokhttp3.Call
addAWSAccessCredentialsAsync(java.lang.String namespace, AWSAccessCredentials awsAccessCredentials, ApiCallback<java.lang.Void> _callback)
(asynchronously) Add aws keysokhttp3.Call
addAWSAccessCredentialsCall(java.lang.String namespace, AWSAccessCredentials awsAccessCredentials, ApiCallback _callback)
Build call for addAWSAccessCredentialsApiResponse<java.lang.Void>
addAWSAccessCredentialsWithHttpInfo(java.lang.String namespace, AWSAccessCredentials awsAccessCredentials)
Add aws keysvoid
addUserToOrganization(java.lang.String organization, OrganizationUser user)
add a user to an organizationokhttp3.Call
addUserToOrganizationAsync(java.lang.String organization, OrganizationUser user, ApiCallback<java.lang.Void> _callback)
(asynchronously) add a user to an organizationokhttp3.Call
addUserToOrganizationCall(java.lang.String organization, OrganizationUser user, ApiCallback _callback)
Build call for addUserToOrganizationApiResponse<java.lang.Void>
addUserToOrganizationWithHttpInfo(java.lang.String organization, OrganizationUser user)
add a user to an organizationjava.util.List<AWSAccessCredentials>
checkAWSAccessCredentials(java.lang.String namespace)
Check if aws keys are setokhttp3.Call
checkAWSAccessCredentialsAsync(java.lang.String namespace, ApiCallback<java.util.List<AWSAccessCredentials>> _callback)
(asynchronously) Check if aws keys are setAWSAccessCredentials
checkAWSAccessCredentialsByName(java.lang.String namespace, java.lang.String name)
Check if aws keys are set by nameokhttp3.Call
checkAWSAccessCredentialsByNameAsync(java.lang.String namespace, java.lang.String name, ApiCallback<AWSAccessCredentials> _callback)
(asynchronously) Check if aws keys are set by nameokhttp3.Call
checkAWSAccessCredentialsByNameCall(java.lang.String namespace, java.lang.String name, ApiCallback _callback)
Build call for checkAWSAccessCredentialsByNameApiResponse<AWSAccessCredentials>
checkAWSAccessCredentialsByNameWithHttpInfo(java.lang.String namespace, java.lang.String name)
Check if aws keys are set by nameokhttp3.Call
checkAWSAccessCredentialsCall(java.lang.String namespace, ApiCallback _callback)
Build call for checkAWSAccessCredentialsApiResponse<java.util.List<AWSAccessCredentials>>
checkAWSAccessCredentialsWithHttpInfo(java.lang.String namespace)
Check if aws keys are setvoid
confirmEmail()
confirm user emailokhttp3.Call
confirmEmailAsync(ApiCallback<java.lang.Void> _callback)
(asynchronously) confirm user emailokhttp3.Call
confirmEmailCall(ApiCallback _callback)
Build call for confirmEmailApiResponse<java.lang.Void>
confirmEmailWithHttpInfo()
confirm user emailvoid
createUser(User user)
create a userokhttp3.Call
createUserAsync(User user, ApiCallback<java.lang.Void> _callback)
(asynchronously) create a userokhttp3.Call
createUserCall(User user, ApiCallback _callback)
Build call for createUserApiResponse<java.lang.Void>
createUserWithHttpInfo(User user)
create a uservoid
deleteAWSAccessCredentials(java.lang.String namespace, java.lang.String name)
delete a AWS Access credentials in a namespace.okhttp3.Call
deleteAWSAccessCredentialsAsync(java.lang.String namespace, java.lang.String name, ApiCallback<java.lang.Void> _callback)
(asynchronously) delete a AWS Access credentials in a namespace.okhttp3.Call
deleteAWSAccessCredentialsCall(java.lang.String namespace, java.lang.String name, ApiCallback _callback)
Build call for deleteAWSAccessCredentialsApiResponse<java.lang.Void>
deleteAWSAccessCredentialsWithHttpInfo(java.lang.String namespace, java.lang.String name)
delete a AWS Access credentials in a namespace.void
deleteUser(java.lang.String username)
delete a userokhttp3.Call
deleteUserAsync(java.lang.String username, ApiCallback<java.lang.Void> _callback)
(asynchronously) delete a userokhttp3.Call
deleteUserCall(java.lang.String username, ApiCallback _callback)
Build call for deleteUservoid
deleteUserFromOrganization(java.lang.String organization, java.lang.String username)
delete a user from an organizationokhttp3.Call
deleteUserFromOrganizationAsync(java.lang.String organization, java.lang.String username, ApiCallback<java.lang.Void> _callback)
(asynchronously) delete a user from an organizationokhttp3.Call
deleteUserFromOrganizationCall(java.lang.String organization, java.lang.String username, ApiCallback _callback)
Build call for deleteUserFromOrganizationApiResponse<java.lang.Void>
deleteUserFromOrganizationWithHttpInfo(java.lang.String organization, java.lang.String username)
delete a user from an organizationApiResponse<java.lang.Void>
deleteUserWithHttpInfo(java.lang.String username)
delete a userApiClient
getApiClient()
java.lang.String
getCustomBaseUrl()
int
getHostIndex()
OrganizationUser
getOrganizationUser(java.lang.String organization, java.lang.String username)
get a user from an organizationokhttp3.Call
getOrganizationUserAsync(java.lang.String organization, java.lang.String username, ApiCallback<OrganizationUser> _callback)
(asynchronously) get a user from an organizationokhttp3.Call
getOrganizationUserCall(java.lang.String organization, java.lang.String username, ApiCallback _callback)
Build call for getOrganizationUserApiResponse<OrganizationUser>
getOrganizationUserWithHttpInfo(java.lang.String organization, java.lang.String username)
get a user from an organizationToken
getSession(java.lang.String rememberMe)
Get session token for userokhttp3.Call
getSessionAsync(java.lang.String rememberMe, ApiCallback<Token> _callback)
(asynchronously) Get session token for userokhttp3.Call
getSessionCall(java.lang.String rememberMe, ApiCallback _callback)
Build call for getSessionApiResponse<Token>
getSessionWithHttpInfo(java.lang.String rememberMe)
Get session token for userjava.util.List<TokenScope>
getTokenScopes()
retrieves available token scopes for a userokhttp3.Call
getTokenScopesAsync(ApiCallback<java.util.List<TokenScope>> _callback)
(asynchronously) retrieves available token scopes for a userokhttp3.Call
getTokenScopesCall(ApiCallback _callback)
Build call for getTokenScopesApiResponse<java.util.List<TokenScope>>
getTokenScopesWithHttpInfo()
retrieves available token scopes for a userUser
getUser()
get a userokhttp3.Call
getUserAsync(ApiCallback<User> _callback)
(asynchronously) get a userokhttp3.Call
getUserCall(ApiCallback _callback)
Build call for getUserApiResponse<User>
getUserWithHttpInfo()
get a userUser
getUserWithUsername(java.lang.String username)
get a userokhttp3.Call
getUserWithUsernameAsync(java.lang.String username, ApiCallback<User> _callback)
(asynchronously) get a userokhttp3.Call
getUserWithUsernameCall(java.lang.String username, ApiCallback _callback)
Build call for getUserWithUsernameApiResponse<User>
getUserWithUsernameWithHttpInfo(java.lang.String username)
get a userToken
requestToken(TokenRequest tokenRequest)
Request an authorization token, optionally taken a TokenRequest object to set parameters on the tokenokhttp3.Call
requestTokenAsync(TokenRequest tokenRequest, ApiCallback<Token> _callback)
(asynchronously) Request an authorization token, optionally taken a TokenRequest object to set parameters on the tokenokhttp3.Call
requestTokenCall(TokenRequest tokenRequest, ApiCallback _callback)
Build call for requestTokenApiResponse<Token>
requestTokenWithHttpInfo(TokenRequest tokenRequest)
Request an authorization token, optionally taken a TokenRequest object to set parameters on the tokenvoid
resetUserPassword(ResetUserPasswordRequest user)
reset user passwordokhttp3.Call
resetUserPasswordAsync(ResetUserPasswordRequest user, ApiCallback<java.lang.Void> _callback)
(asynchronously) reset user passwordokhttp3.Call
resetUserPasswordCall(ResetUserPasswordRequest user, ApiCallback _callback)
Build call for resetUserPasswordApiResponse<java.lang.Void>
resetUserPasswordWithHttpInfo(ResetUserPasswordRequest user)
reset user passwordvoid
revokeToken(java.lang.String token)
revoke an authorization tokenokhttp3.Call
revokeTokenAsync(java.lang.String token, ApiCallback<java.lang.Void> _callback)
(asynchronously) revoke an authorization tokenokhttp3.Call
revokeTokenCall(java.lang.String token, ApiCallback _callback)
Build call for revokeTokenApiResponse<java.lang.Void>
revokeTokenWithHttpInfo(java.lang.String token)
revoke an authorization tokenvoid
setApiClient(ApiClient apiClient)
void
setCustomBaseUrl(java.lang.String customBaseUrl)
void
setHostIndex(int hostIndex)
java.util.List<Token>
tokensGet()
Fetch a list of user tokensokhttp3.Call
tokensGetAsync(ApiCallback<java.util.List<Token>> _callback)
(asynchronously) Fetch a list of user tokensokhttp3.Call
tokensGetCall(ApiCallback _callback)
Build call for tokensGetApiResponse<java.util.List<Token>>
tokensGetWithHttpInfo()
Fetch a list of user tokensjava.util.List<Token>
tokensSessionGet()
Fetch a list of user session tokensokhttp3.Call
tokensSessionGetAsync(ApiCallback<java.util.List<Token>> _callback)
(asynchronously) Fetch a list of user session tokensokhttp3.Call
tokensSessionGetCall(ApiCallback _callback)
Build call for tokensSessionGetApiResponse<java.util.List<Token>>
tokensSessionGetWithHttpInfo()
Fetch a list of user session tokensvoid
updateAWSAccessCredentials(java.lang.String namespace, java.lang.String name, AWSAccessCredentials awsAccessCredentials)
Update aws keys or associated buckets.okhttp3.Call
updateAWSAccessCredentialsAsync(java.lang.String namespace, java.lang.String name, AWSAccessCredentials awsAccessCredentials, ApiCallback<java.lang.Void> _callback)
(asynchronously) Update aws keys or associated buckets.okhttp3.Call
updateAWSAccessCredentialsCall(java.lang.String namespace, java.lang.String name, AWSAccessCredentials awsAccessCredentials, ApiCallback _callback)
Build call for updateAWSAccessCredentialsApiResponse<java.lang.Void>
updateAWSAccessCredentialsWithHttpInfo(java.lang.String namespace, java.lang.String name, AWSAccessCredentials awsAccessCredentials)
Update aws keys or associated buckets.void
updateUser(java.lang.String username, User user)
update a userokhttp3.Call
updateUserAsync(java.lang.String username, User user, ApiCallback<java.lang.Void> _callback)
(asynchronously) update a userokhttp3.Call
updateUserCall(java.lang.String username, User user, ApiCallback _callback)
Build call for updateUservoid
updateUserInOrganization(java.lang.String organization, java.lang.String username, OrganizationUser user)
update a user in an organizationokhttp3.Call
updateUserInOrganizationAsync(java.lang.String organization, java.lang.String username, OrganizationUser user, ApiCallback<java.lang.Void> _callback)
(asynchronously) update a user in an organizationokhttp3.Call
updateUserInOrganizationCall(java.lang.String organization, java.lang.String username, OrganizationUser user, ApiCallback _callback)
Build call for updateUserInOrganizationApiResponse<java.lang.Void>
updateUserInOrganizationWithHttpInfo(java.lang.String organization, java.lang.String username, OrganizationUser user)
update a user in an organizationApiResponse<java.lang.Void>
updateUserWithHttpInfo(java.lang.String username, User user)
update a user
-
-
-
Constructor Detail
-
UserApi
public UserApi()
-
UserApi
public UserApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
getHostIndex
public int getHostIndex()
-
setHostIndex
public void setHostIndex(int hostIndex)
-
getCustomBaseUrl
public java.lang.String getCustomBaseUrl()
-
setCustomBaseUrl
public void setCustomBaseUrl(java.lang.String customBaseUrl)
-
addAWSAccessCredentialsCall
public okhttp3.Call addAWSAccessCredentialsCall(java.lang.String namespace, AWSAccessCredentials awsAccessCredentials, ApiCallback _callback) throws ApiException
Build call for addAWSAccessCredentials- Parameters:
namespace
- namespace (required)awsAccessCredentials
- aws access credentials to store for a namespace (required)_callback
- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
addAWSAccessCredentials
public void addAWSAccessCredentials(java.lang.String namespace, AWSAccessCredentials awsAccessCredentials) throws ApiException
Add aws keys- Parameters:
namespace
- namespace (required)awsAccessCredentials
- aws access credentials to store for a namespace (required)- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
addAWSAccessCredentialsWithHttpInfo
public ApiResponse<java.lang.Void> addAWSAccessCredentialsWithHttpInfo(java.lang.String namespace, AWSAccessCredentials awsAccessCredentials) throws ApiException
Add aws keys- Parameters:
namespace
- namespace (required)awsAccessCredentials
- aws access credentials to store for a namespace (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
addAWSAccessCredentialsAsync
public okhttp3.Call addAWSAccessCredentialsAsync(java.lang.String namespace, AWSAccessCredentials awsAccessCredentials, ApiCallback<java.lang.Void> _callback) throws ApiException
(asynchronously) Add aws keys- Parameters:
namespace
- namespace (required)awsAccessCredentials
- aws access credentials to store for a namespace (required)_callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body object
-
addUserToOrganizationCall
public okhttp3.Call addUserToOrganizationCall(java.lang.String organization, OrganizationUser user, ApiCallback _callback) throws ApiException
Build call for addUserToOrganization- Parameters:
organization
- organization name (required)user
- user to add (required)_callback
- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
addUserToOrganization
public void addUserToOrganization(java.lang.String organization, OrganizationUser user) throws ApiException
add a user to an organization- Parameters:
organization
- organization name (required)user
- user to add (required)- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
addUserToOrganizationWithHttpInfo
public ApiResponse<java.lang.Void> addUserToOrganizationWithHttpInfo(java.lang.String organization, OrganizationUser user) throws ApiException
add a user to an organization- Parameters:
organization
- organization name (required)user
- user to add (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
addUserToOrganizationAsync
public okhttp3.Call addUserToOrganizationAsync(java.lang.String organization, OrganizationUser user, ApiCallback<java.lang.Void> _callback) throws ApiException
(asynchronously) add a user to an organization- Parameters:
organization
- organization name (required)user
- user to add (required)_callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body object
-
checkAWSAccessCredentialsCall
public okhttp3.Call checkAWSAccessCredentialsCall(java.lang.String namespace, ApiCallback _callback) throws ApiException
Build call for checkAWSAccessCredentials- Parameters:
namespace
- namespace (required)_callback
- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
checkAWSAccessCredentials
public java.util.List<AWSAccessCredentials> checkAWSAccessCredentials(java.lang.String namespace) throws ApiException
Check if aws keys are set- Parameters:
namespace
- namespace (required)- Returns:
- List<AWSAccessCredentials>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
checkAWSAccessCredentialsWithHttpInfo
public ApiResponse<java.util.List<AWSAccessCredentials>> checkAWSAccessCredentialsWithHttpInfo(java.lang.String namespace) throws ApiException
Check if aws keys are set- Parameters:
namespace
- namespace (required)- Returns:
- ApiResponse<List<AWSAccessCredentials>>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
checkAWSAccessCredentialsAsync
public okhttp3.Call checkAWSAccessCredentialsAsync(java.lang.String namespace, ApiCallback<java.util.List<AWSAccessCredentials>> _callback) throws ApiException
(asynchronously) Check if aws keys are set- Parameters:
namespace
- namespace (required)_callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body object
-
checkAWSAccessCredentialsByNameCall
public okhttp3.Call checkAWSAccessCredentialsByNameCall(java.lang.String namespace, java.lang.String name, ApiCallback _callback) throws ApiException
Build call for checkAWSAccessCredentialsByName- Parameters:
namespace
- namespace (required)name
- name (required)_callback
- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
checkAWSAccessCredentialsByName
public AWSAccessCredentials checkAWSAccessCredentialsByName(java.lang.String namespace, java.lang.String name) throws ApiException
Check if aws keys are set by name- Parameters:
namespace
- namespace (required)name
- name (required)- Returns:
- AWSAccessCredentials
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
checkAWSAccessCredentialsByNameWithHttpInfo
public ApiResponse<AWSAccessCredentials> checkAWSAccessCredentialsByNameWithHttpInfo(java.lang.String namespace, java.lang.String name) throws ApiException
Check if aws keys are set by name- Parameters:
namespace
- namespace (required)name
- name (required)- Returns:
- ApiResponse<AWSAccessCredentials>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
checkAWSAccessCredentialsByNameAsync
public okhttp3.Call checkAWSAccessCredentialsByNameAsync(java.lang.String namespace, java.lang.String name, ApiCallback<AWSAccessCredentials> _callback) throws ApiException
(asynchronously) Check if aws keys are set by name- Parameters:
namespace
- namespace (required)name
- name (required)_callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body object
-
confirmEmailCall
public okhttp3.Call confirmEmailCall(ApiCallback _callback) throws ApiException
Build call for confirmEmail- Parameters:
_callback
- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
confirmEmail
public void confirmEmail() throws ApiException
confirm user email- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
confirmEmailWithHttpInfo
public ApiResponse<java.lang.Void> confirmEmailWithHttpInfo() throws ApiException
confirm user email- Returns:
- ApiResponse<Void>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
confirmEmailAsync
public okhttp3.Call confirmEmailAsync(ApiCallback<java.lang.Void> _callback) throws ApiException
(asynchronously) confirm user email- Parameters:
_callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body object
-
createUserCall
public okhttp3.Call createUserCall(User user, ApiCallback _callback) throws ApiException
Build call for createUser- Parameters:
user
- user to create (required)_callback
- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
createUser
public void createUser(User user) throws ApiException
create a user- Parameters:
user
- user to create (required)- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
createUserWithHttpInfo
public ApiResponse<java.lang.Void> createUserWithHttpInfo(User user) throws ApiException
create a user- Parameters:
user
- user to create (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
createUserAsync
public okhttp3.Call createUserAsync(User user, ApiCallback<java.lang.Void> _callback) throws ApiException
(asynchronously) create a user- Parameters:
user
- user to create (required)_callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body object
-
deleteAWSAccessCredentialsCall
public okhttp3.Call deleteAWSAccessCredentialsCall(java.lang.String namespace, java.lang.String name, ApiCallback _callback) throws ApiException
Build call for deleteAWSAccessCredentials- Parameters:
namespace
- namespace (required)name
- name (required)_callback
- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
deleteAWSAccessCredentials
public void deleteAWSAccessCredentials(java.lang.String namespace, java.lang.String name) throws ApiException
delete a AWS Access credentials in a namespace. This will likely cause arrays to become unreachable- Parameters:
namespace
- namespace (required)name
- name (required)- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
deleteAWSAccessCredentialsWithHttpInfo
public ApiResponse<java.lang.Void> deleteAWSAccessCredentialsWithHttpInfo(java.lang.String namespace, java.lang.String name) throws ApiException
delete a AWS Access credentials in a namespace. This will likely cause arrays to become unreachable- Parameters:
namespace
- namespace (required)name
- name (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
deleteAWSAccessCredentialsAsync
public okhttp3.Call deleteAWSAccessCredentialsAsync(java.lang.String namespace, java.lang.String name, ApiCallback<java.lang.Void> _callback) throws ApiException
(asynchronously) delete a AWS Access credentials in a namespace. This will likely cause arrays to become unreachable- Parameters:
namespace
- namespace (required)name
- name (required)_callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body object
-
deleteUserCall
public okhttp3.Call deleteUserCall(java.lang.String username, ApiCallback _callback) throws ApiException
Build call for deleteUser- Parameters:
username
- username or ID (required)_callback
- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
deleteUser
public void deleteUser(java.lang.String username) throws ApiException
delete a user- Parameters:
username
- username or ID (required)- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
deleteUserWithHttpInfo
public ApiResponse<java.lang.Void> deleteUserWithHttpInfo(java.lang.String username) throws ApiException
delete a user- Parameters:
username
- username or ID (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
deleteUserAsync
public okhttp3.Call deleteUserAsync(java.lang.String username, ApiCallback<java.lang.Void> _callback) throws ApiException
(asynchronously) delete a user- Parameters:
username
- username or ID (required)_callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body object
-
deleteUserFromOrganizationCall
public okhttp3.Call deleteUserFromOrganizationCall(java.lang.String organization, java.lang.String username, ApiCallback _callback) throws ApiException
Build call for deleteUserFromOrganization- Parameters:
organization
- organization name (required)username
- username to manipulate (required)_callback
- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
deleteUserFromOrganization
public void deleteUserFromOrganization(java.lang.String organization, java.lang.String username) throws ApiException
delete a user from an organization- Parameters:
organization
- organization name (required)username
- username to manipulate (required)- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
deleteUserFromOrganizationWithHttpInfo
public ApiResponse<java.lang.Void> deleteUserFromOrganizationWithHttpInfo(java.lang.String organization, java.lang.String username) throws ApiException
delete a user from an organization- Parameters:
organization
- organization name (required)username
- username to manipulate (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
deleteUserFromOrganizationAsync
public okhttp3.Call deleteUserFromOrganizationAsync(java.lang.String organization, java.lang.String username, ApiCallback<java.lang.Void> _callback) throws ApiException
(asynchronously) delete a user from an organization- Parameters:
organization
- organization name (required)username
- username to manipulate (required)_callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body object
-
getOrganizationUserCall
public okhttp3.Call getOrganizationUserCall(java.lang.String organization, java.lang.String username, ApiCallback _callback) throws ApiException
Build call for getOrganizationUser- Parameters:
organization
- organization name (required)username
- username to manipulate (required)_callback
- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
getOrganizationUser
public OrganizationUser getOrganizationUser(java.lang.String organization, java.lang.String username) throws ApiException
get a user from an organization- Parameters:
organization
- organization name (required)username
- username to manipulate (required)- Returns:
- OrganizationUser
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getOrganizationUserWithHttpInfo
public ApiResponse<OrganizationUser> getOrganizationUserWithHttpInfo(java.lang.String organization, java.lang.String username) throws ApiException
get a user from an organization- Parameters:
organization
- organization name (required)username
- username to manipulate (required)- Returns:
- ApiResponse<OrganizationUser>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getOrganizationUserAsync
public okhttp3.Call getOrganizationUserAsync(java.lang.String organization, java.lang.String username, ApiCallback<OrganizationUser> _callback) throws ApiException
(asynchronously) get a user from an organization- Parameters:
organization
- organization name (required)username
- username to manipulate (required)_callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body object
-
getSessionCall
public okhttp3.Call getSessionCall(java.lang.String rememberMe, ApiCallback _callback) throws ApiException
Build call for getSession- Parameters:
rememberMe
- flag to create a token with expiration of 30 days, default is false (optional)_callback
- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
getSession
public Token getSession(java.lang.String rememberMe) throws ApiException
Get session token for user- Parameters:
rememberMe
- flag to create a token with expiration of 30 days, default is false (optional)- Returns:
- Token
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getSessionWithHttpInfo
public ApiResponse<Token> getSessionWithHttpInfo(java.lang.String rememberMe) throws ApiException
Get session token for user- Parameters:
rememberMe
- flag to create a token with expiration of 30 days, default is false (optional)- Returns:
- ApiResponse<Token>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getSessionAsync
public okhttp3.Call getSessionAsync(java.lang.String rememberMe, ApiCallback<Token> _callback) throws ApiException
(asynchronously) Get session token for user- Parameters:
rememberMe
- flag to create a token with expiration of 30 days, default is false (optional)_callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body object
-
getTokenScopesCall
public okhttp3.Call getTokenScopesCall(ApiCallback _callback) throws ApiException
Build call for getTokenScopes- Parameters:
_callback
- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
getTokenScopes
public java.util.List<TokenScope> getTokenScopes() throws ApiException
retrieves available token scopes for a user- Returns:
- List<TokenScope>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getTokenScopesWithHttpInfo
public ApiResponse<java.util.List<TokenScope>> getTokenScopesWithHttpInfo() throws ApiException
retrieves available token scopes for a user- Returns:
- ApiResponse<List<TokenScope>>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getTokenScopesAsync
public okhttp3.Call getTokenScopesAsync(ApiCallback<java.util.List<TokenScope>> _callback) throws ApiException
(asynchronously) retrieves available token scopes for a user- Parameters:
_callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body object
-
getUserCall
public okhttp3.Call getUserCall(ApiCallback _callback) throws ApiException
Build call for getUser- Parameters:
_callback
- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
getUser
public User getUser() throws ApiException
get a user- Returns:
- User
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getUserWithHttpInfo
public ApiResponse<User> getUserWithHttpInfo() throws ApiException
get a user- Returns:
- ApiResponse<User>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getUserAsync
public okhttp3.Call getUserAsync(ApiCallback<User> _callback) throws ApiException
(asynchronously) get a user- Parameters:
_callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body object
-
getUserWithUsernameCall
public okhttp3.Call getUserWithUsernameCall(java.lang.String username, ApiCallback _callback) throws ApiException
Build call for getUserWithUsername- Parameters:
username
- username or ID (required)_callback
- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
getUserWithUsername
public User getUserWithUsername(java.lang.String username) throws ApiException
get a user- Parameters:
username
- username or ID (required)- Returns:
- User
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getUserWithUsernameWithHttpInfo
public ApiResponse<User> getUserWithUsernameWithHttpInfo(java.lang.String username) throws ApiException
get a user- Parameters:
username
- username or ID (required)- Returns:
- ApiResponse<User>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getUserWithUsernameAsync
public okhttp3.Call getUserWithUsernameAsync(java.lang.String username, ApiCallback<User> _callback) throws ApiException
(asynchronously) get a user- Parameters:
username
- username or ID (required)_callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body object
-
requestTokenCall
public okhttp3.Call requestTokenCall(TokenRequest tokenRequest, ApiCallback _callback) throws ApiException
Build call for requestToken- Parameters:
tokenRequest
- token request object (optional)_callback
- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
requestToken
public Token requestToken(TokenRequest tokenRequest) throws ApiException
Request an authorization token, optionally taken a TokenRequest object to set parameters on the token- Parameters:
tokenRequest
- token request object (optional)- Returns:
- Token
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
requestTokenWithHttpInfo
public ApiResponse<Token> requestTokenWithHttpInfo(TokenRequest tokenRequest) throws ApiException
Request an authorization token, optionally taken a TokenRequest object to set parameters on the token- Parameters:
tokenRequest
- token request object (optional)- Returns:
- ApiResponse<Token>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
requestTokenAsync
public okhttp3.Call requestTokenAsync(TokenRequest tokenRequest, ApiCallback<Token> _callback) throws ApiException
(asynchronously) Request an authorization token, optionally taken a TokenRequest object to set parameters on the token- Parameters:
tokenRequest
- token request object (optional)_callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body object
-
resetUserPasswordCall
public okhttp3.Call resetUserPasswordCall(ResetUserPasswordRequest user, ApiCallback _callback) throws ApiException
Build call for resetUserPassword- Parameters:
user
- password to update for user requesting update (required)_callback
- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
resetUserPassword
public void resetUserPassword(ResetUserPasswordRequest user) throws ApiException
reset user password- Parameters:
user
- password to update for user requesting update (required)- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
resetUserPasswordWithHttpInfo
public ApiResponse<java.lang.Void> resetUserPasswordWithHttpInfo(ResetUserPasswordRequest user) throws ApiException
reset user password- Parameters:
user
- password to update for user requesting update (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
resetUserPasswordAsync
public okhttp3.Call resetUserPasswordAsync(ResetUserPasswordRequest user, ApiCallback<java.lang.Void> _callback) throws ApiException
(asynchronously) reset user password- Parameters:
user
- password to update for user requesting update (required)_callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body object
-
revokeTokenCall
public okhttp3.Call revokeTokenCall(java.lang.String token, ApiCallback _callback) throws ApiException
Build call for revokeToken- Parameters:
token
- token name or token itself (required)_callback
- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
revokeToken
public void revokeToken(java.lang.String token) throws ApiException
revoke an authorization token- Parameters:
token
- token name or token itself (required)- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
revokeTokenWithHttpInfo
public ApiResponse<java.lang.Void> revokeTokenWithHttpInfo(java.lang.String token) throws ApiException
revoke an authorization token- Parameters:
token
- token name or token itself (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
revokeTokenAsync
public okhttp3.Call revokeTokenAsync(java.lang.String token, ApiCallback<java.lang.Void> _callback) throws ApiException
(asynchronously) revoke an authorization token- Parameters:
token
- token name or token itself (required)_callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body object
-
tokensGetCall
public okhttp3.Call tokensGetCall(ApiCallback _callback) throws ApiException
Build call for tokensGet- Parameters:
_callback
- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
tokensGet
public java.util.List<Token> tokensGet() throws ApiException
Fetch a list of user tokens- Returns:
- List<Token>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
tokensGetWithHttpInfo
public ApiResponse<java.util.List<Token>> tokensGetWithHttpInfo() throws ApiException
Fetch a list of user tokens- Returns:
- ApiResponse<List<Token>>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
tokensGetAsync
public okhttp3.Call tokensGetAsync(ApiCallback<java.util.List<Token>> _callback) throws ApiException
(asynchronously) Fetch a list of user tokens- Parameters:
_callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body object
-
tokensSessionGetCall
public okhttp3.Call tokensSessionGetCall(ApiCallback _callback) throws ApiException
Build call for tokensSessionGet- Parameters:
_callback
- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
tokensSessionGet
public java.util.List<Token> tokensSessionGet() throws ApiException
Fetch a list of user session tokens- Returns:
- List<Token>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
tokensSessionGetWithHttpInfo
public ApiResponse<java.util.List<Token>> tokensSessionGetWithHttpInfo() throws ApiException
Fetch a list of user session tokens- Returns:
- ApiResponse<List<Token>>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
tokensSessionGetAsync
public okhttp3.Call tokensSessionGetAsync(ApiCallback<java.util.List<Token>> _callback) throws ApiException
(asynchronously) Fetch a list of user session tokens- Parameters:
_callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body object
-
updateAWSAccessCredentialsCall
public okhttp3.Call updateAWSAccessCredentialsCall(java.lang.String namespace, java.lang.String name, AWSAccessCredentials awsAccessCredentials, ApiCallback _callback) throws ApiException
Build call for updateAWSAccessCredentials- Parameters:
namespace
- namespace (required)name
- name (required)awsAccessCredentials
- aws credentials to update (required)_callback
- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
updateAWSAccessCredentials
public void updateAWSAccessCredentials(java.lang.String namespace, java.lang.String name, AWSAccessCredentials awsAccessCredentials) throws ApiException
Update aws keys or associated buckets. This will update the key associations for each array in the namespace- Parameters:
namespace
- namespace (required)name
- name (required)awsAccessCredentials
- aws credentials to update (required)- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
updateAWSAccessCredentialsWithHttpInfo
public ApiResponse<java.lang.Void> updateAWSAccessCredentialsWithHttpInfo(java.lang.String namespace, java.lang.String name, AWSAccessCredentials awsAccessCredentials) throws ApiException
Update aws keys or associated buckets. This will update the key associations for each array in the namespace- Parameters:
namespace
- namespace (required)name
- name (required)awsAccessCredentials
- aws credentials to update (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
updateAWSAccessCredentialsAsync
public okhttp3.Call updateAWSAccessCredentialsAsync(java.lang.String namespace, java.lang.String name, AWSAccessCredentials awsAccessCredentials, ApiCallback<java.lang.Void> _callback) throws ApiException
(asynchronously) Update aws keys or associated buckets. This will update the key associations for each array in the namespace- Parameters:
namespace
- namespace (required)name
- name (required)awsAccessCredentials
- aws credentials to update (required)_callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body object
-
updateUserCall
public okhttp3.Call updateUserCall(java.lang.String username, User user, ApiCallback _callback) throws ApiException
Build call for updateUser- Parameters:
username
- username or ID (required)user
- user details to update (required)_callback
- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
updateUser
public void updateUser(java.lang.String username, User user) throws ApiException
update a user- Parameters:
username
- username or ID (required)user
- user details to update (required)- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
updateUserWithHttpInfo
public ApiResponse<java.lang.Void> updateUserWithHttpInfo(java.lang.String username, User user) throws ApiException
update a user- Parameters:
username
- username or ID (required)user
- user details to update (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
updateUserAsync
public okhttp3.Call updateUserAsync(java.lang.String username, User user, ApiCallback<java.lang.Void> _callback) throws ApiException
(asynchronously) update a user- Parameters:
username
- username or ID (required)user
- user details to update (required)_callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body object
-
updateUserInOrganizationCall
public okhttp3.Call updateUserInOrganizationCall(java.lang.String organization, java.lang.String username, OrganizationUser user, ApiCallback _callback) throws ApiException
Build call for updateUserInOrganization- Parameters:
organization
- organization name (required)username
- username to manipulate (required)user
- user details to update (required)_callback
- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
updateUserInOrganization
public void updateUserInOrganization(java.lang.String organization, java.lang.String username, OrganizationUser user) throws ApiException
update a user in an organization- Parameters:
organization
- organization name (required)username
- username to manipulate (required)user
- user details to update (required)- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
updateUserInOrganizationWithHttpInfo
public ApiResponse<java.lang.Void> updateUserInOrganizationWithHttpInfo(java.lang.String organization, java.lang.String username, OrganizationUser user) throws ApiException
update a user in an organization- Parameters:
organization
- organization name (required)username
- username to manipulate (required)user
- user details to update (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
updateUserInOrganizationAsync
public okhttp3.Call updateUserInOrganizationAsync(java.lang.String organization, java.lang.String username, OrganizationUser user, ApiCallback<java.lang.Void> _callback) throws ApiException
(asynchronously) update a user in an organization- Parameters:
organization
- organization name (required)username
- username to manipulate (required)user
- user details to update (required)_callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body object
-
-