Class UserApi
java.lang.Object
com.boldsign.api.UserApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcancelInvitation(String userId) Cancel the users invitation.okhttp3.CallcancelInvitationAsync(String userId, ApiCallback<Void> _callback) Cancel the users invitation.okhttp3.CallcancelInvitationCall(String userId, ApiCallback _callback) Build call for cancelInvitationcancelInvitationWithHttpInfo(String userId) Cancel the users invitation.voidcreateUser(List<CreateUser> createUser) Create the user.okhttp3.CallcreateUserAsync(List<CreateUser> createUser, ApiCallback<Void> _callback) Create the user.okhttp3.CallcreateUserCall(List<CreateUser> createUser, ApiCallback _callback) Build call for createUsercreateUserWithHttpInfo(List<CreateUser> createUser) Create the user.intGet summary of the user.okhttp3.CallgetUserAsync(String userId, ApiCallback<UserProperties> _callback) Get summary of the user.okhttp3.CallgetUserCall(String userId, ApiCallback _callback) Build call for getUsergetUserWithHttpInfo(String userId) Get summary of the user.List user documents.okhttp3.CalllistUsersAsync(Integer page, Integer pageSize, String search, ApiCallback<UserRecords> _callback) List user documents.okhttp3.CalllistUsersCall(Integer page, Integer pageSize, String search, ApiCallback _callback) Build call for listUserslistUsersWithHttpInfo(Integer page, Integer pageSize, String search) List user documents.voidresendInvitation(String userId) Resend the users invitation.okhttp3.CallresendInvitationAsync(String userId, ApiCallback<Void> _callback) Resend the users invitation.okhttp3.CallresendInvitationCall(String userId, ApiCallback _callback) Build call for resendInvitationresendInvitationWithHttpInfo(String userId) Resend the users invitation.voidsetApiClient(ApiClient apiClient) voidsetCustomBaseUrl(String customBaseUrl) voidsetHostIndex(int hostIndex) voidupdateMetaData(UpdateUserMetaData updateUserMetaData) Update new User meta data details.okhttp3.CallupdateMetaDataAsync(UpdateUserMetaData updateUserMetaData, ApiCallback<Void> _callback) Update new User meta data details.okhttp3.CallupdateMetaDataCall(UpdateUserMetaData updateUserMetaData, ApiCallback _callback) Build call for updateMetaDataupdateMetaDataWithHttpInfo(UpdateUserMetaData updateUserMetaData) Update new User meta data details.voidupdateUser(UpdateUser updateUser) Update new User role.okhttp3.CallupdateUserAsync(UpdateUser updateUser, ApiCallback<Void> _callback) Update new User role.okhttp3.CallupdateUserCall(UpdateUser updateUser, ApiCallback _callback) Build call for updateUserupdateUserWithHttpInfo(UpdateUser updateUser) Update new User role.
-
Constructor Details
-
UserApi
public UserApi() -
UserApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getHostIndex
public int getHostIndex() -
setHostIndex
public void setHostIndex(int hostIndex) -
getCustomBaseUrl
-
setCustomBaseUrl
-
cancelInvitationCall
Build call for cancelInvitation- Parameters:
userId- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
cancelInvitation
Cancel the users invitation.- Parameters:
userId- (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
cancelInvitationWithHttpInfo
Cancel the users invitation.- Parameters:
userId- (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
cancelInvitationAsync
public okhttp3.Call cancelInvitationAsync(String userId, ApiCallback<Void> _callback) throws ApiException Cancel the users invitation. (asynchronously)- Parameters:
userId- (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- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
createUserCall
public okhttp3.Call createUserCall(List<CreateUser> createUser, ApiCallback _callback) throws ApiException Build call for createUser- Parameters:
createUser- The create user. (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 204 No Content - 401 Unauthorized - 403 Forbidden -
-
createUser
Create the user.- Parameters:
createUser- The create user. (optional)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 204 No Content - 401 Unauthorized - 403 Forbidden -
-
createUserWithHttpInfo
Create the user.- Parameters:
createUser- The create user. (optional)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 204 No Content - 401 Unauthorized - 403 Forbidden -
-
createUserAsync
public okhttp3.Call createUserAsync(List<CreateUser> createUser, ApiCallback<Void> _callback) throws ApiException Create the user. (asynchronously)- Parameters:
createUser- The create user. (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- Http Response Details:
Status Code Description Response Headers 204 No Content - 401 Unauthorized - 403 Forbidden -
-
getUserCall
Build call for getUser- Parameters:
userId- User Id. (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
getUser
Get summary of the user.- Parameters:
userId- User Id. (required)- Returns:
- UserProperties
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
getUserWithHttpInfo
Get summary of the user.- Parameters:
userId- User Id. (required)- Returns:
- ApiResponse<UserProperties>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
getUserAsync
public okhttp3.Call getUserAsync(String userId, ApiCallback<UserProperties> _callback) throws ApiException Get summary of the user. (asynchronously)- Parameters:
userId- User 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- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
listUsersCall
public okhttp3.Call listUsersCall(Integer page, Integer pageSize, String search, ApiCallback _callback) throws ApiException Build call for listUsers- Parameters:
page- Page index specified in get user list request. (required)pageSize- Page size specified in get user list request. (optional, default to 10)search- Users can be listed by the search based on the user ID (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized -
-
listUsers
List user documents.- Parameters:
page- Page index specified in get user list request. (required)pageSize- Page size specified in get user list request. (optional, default to 10)search- Users can be listed by the search based on the user ID (optional)- Returns:
- UserRecords
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized -
-
listUsersWithHttpInfo
public ApiResponse<UserRecords> listUsersWithHttpInfo(Integer page, Integer pageSize, String search) throws ApiException List user documents.- Parameters:
page- Page index specified in get user list request. (required)pageSize- Page size specified in get user list request. (optional, default to 10)search- Users can be listed by the search based on the user ID (optional)- Returns:
- ApiResponse<UserRecords>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized -
-
listUsersAsync
public okhttp3.Call listUsersAsync(Integer page, Integer pageSize, String search, ApiCallback<UserRecords> _callback) throws ApiException List user documents. (asynchronously)- Parameters:
page- Page index specified in get user list request. (required)pageSize- Page size specified in get user list request. (optional, default to 10)search- Users can be listed by the search based on the user ID (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- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized -
-
resendInvitationCall
Build call for resendInvitation- Parameters:
userId- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
resendInvitation
Resend the users invitation.- Parameters:
userId- (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
resendInvitationWithHttpInfo
Resend the users invitation.- Parameters:
userId- (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
resendInvitationAsync
public okhttp3.Call resendInvitationAsync(String userId, ApiCallback<Void> _callback) throws ApiException Resend the users invitation. (asynchronously)- Parameters:
userId- (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- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
updateMetaDataCall
public okhttp3.Call updateMetaDataCall(UpdateUserMetaData updateUserMetaData, ApiCallback _callback) throws ApiException Build call for updateMetaData- Parameters:
updateUserMetaData- update query. (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
updateMetaData
Update new User meta data details.- Parameters:
updateUserMetaData- update query. (optional)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
updateMetaDataWithHttpInfo
public ApiResponse<Void> updateMetaDataWithHttpInfo(UpdateUserMetaData updateUserMetaData) throws ApiException Update new User meta data details.- Parameters:
updateUserMetaData- update query. (optional)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
updateMetaDataAsync
public okhttp3.Call updateMetaDataAsync(UpdateUserMetaData updateUserMetaData, ApiCallback<Void> _callback) throws ApiException Update new User meta data details. (asynchronously)- Parameters:
updateUserMetaData- update query. (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- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
updateUserCall
public okhttp3.Call updateUserCall(UpdateUser updateUser, ApiCallback _callback) throws ApiException Build call for updateUser- Parameters:
updateUser- update query. (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
updateUser
Update new User role.- Parameters:
updateUser- update query. (optional)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
updateUserWithHttpInfo
Update new User role.- Parameters:
updateUser- update query. (optional)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
updateUserAsync
public okhttp3.Call updateUserAsync(UpdateUser updateUser, ApiCallback<Void> _callback) throws ApiException Update new User role. (asynchronously)- Parameters:
updateUser- update query. (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- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-