Package ai.reveng.api
Class AuthenticationUsersApi
java.lang.Object
ai.reveng.api.AuthenticationUsersApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintGet a user's public informationGet auth user activityokhttp3.CallGet auth user activity (asynchronously)okhttp3.CallgetUserActivityCall(ApiCallback _callback) Build call for getUserActivityGet auth user activityokhttp3.CallgetUserAsync(Integer userId, ApiCallback<BaseResponseGetPublicUserResponse> _callback) Get a user's public information (asynchronously)okhttp3.CallgetUserCall(Integer userId, ApiCallback _callback) Build call for getUsergetUserWithHttpInfo(Integer userId) Get a user's public informationvoidsetApiClient(ApiClient apiClient) voidsetCustomBaseUrl(String customBaseUrl) voidsetHostIndex(int hostIndex) submitUserFeedback(SubmitUserFeedbackRequest submitUserFeedbackRequest) Submit feedback about the application Submits feedback about the application and forwards it to the RevEng.ai project management tool.okhttp3.CallsubmitUserFeedbackAsync(SubmitUserFeedbackRequest submitUserFeedbackRequest, ApiCallback<BaseResponse> _callback) Submit feedback about the application (asynchronously) Submits feedback about the application and forwards it to the RevEng.ai project management tool.okhttp3.CallsubmitUserFeedbackCall(SubmitUserFeedbackRequest submitUserFeedbackRequest, ApiCallback _callback) Build call for submitUserFeedbacksubmitUserFeedbackWithHttpInfo(SubmitUserFeedbackRequest submitUserFeedbackRequest) Submit feedback about the application Submits feedback about the application and forwards it to the RevEng.ai project management tool.
-
Constructor Details
-
AuthenticationUsersApi
public AuthenticationUsersApi() -
AuthenticationUsersApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getHostIndex
public int getHostIndex() -
setHostIndex
public void setHostIndex(int hostIndex) -
getCustomBaseUrl
-
setCustomBaseUrl
-
getUserCall
Build call for getUser- 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
Response Details Status Code Description Response Headers 200 Successful Response - 422 Invalid request parameters -
-
getUser
Get a user's public information- Parameters:
userId- (required)- Returns:
- BaseResponseGetPublicUserResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Successful Response - 422 Invalid request parameters -
-
getUserWithHttpInfo
public ApiResponse<BaseResponseGetPublicUserResponse> getUserWithHttpInfo(@Nonnull Integer userId) throws ApiException Get a user's public information- Parameters:
userId- (required)- Returns:
- ApiResponse<BaseResponseGetPublicUserResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Successful Response - 422 Invalid request parameters -
-
getUserAsync
public okhttp3.Call getUserAsync(@Nonnull Integer userId, ApiCallback<BaseResponseGetPublicUserResponse> _callback) throws ApiException Get a user's public information (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
Response Details Status Code Description Response Headers 200 Successful Response - 422 Invalid request parameters -
-
getUserActivityCall
Build call for getUserActivity- Parameters:
_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Successful Response - 422 Invalid request parameters -
-
getUserActivity
Get auth user activity- Returns:
- BaseResponseListUserActivityResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Successful Response - 422 Invalid request parameters -
-
getUserActivityWithHttpInfo
public ApiResponse<BaseResponseListUserActivityResponse> getUserActivityWithHttpInfo() throws ApiExceptionGet auth user activity- Returns:
- ApiResponse<BaseResponseListUserActivityResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Successful Response - 422 Invalid request parameters -
-
getUserActivityAsync
public okhttp3.Call getUserActivityAsync(ApiCallback<BaseResponseListUserActivityResponse> _callback) throws ApiException Get auth user activity (asynchronously)- 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- Http Response Details
Response Details Status Code Description Response Headers 200 Successful Response - 422 Invalid request parameters -
-
submitUserFeedbackCall
public okhttp3.Call submitUserFeedbackCall(@Nonnull SubmitUserFeedbackRequest submitUserFeedbackRequest, ApiCallback _callback) throws ApiException Build call for submitUserFeedback- Parameters:
submitUserFeedbackRequest- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Successful Response - 422 Invalid request parameters -
-
submitUserFeedback
public BaseResponse submitUserFeedback(@Nonnull SubmitUserFeedbackRequest submitUserFeedbackRequest) throws ApiException Submit feedback about the application Submits feedback about the application and forwards it to the RevEng.ai project management tool.- Parameters:
submitUserFeedbackRequest- (required)- Returns:
- BaseResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Successful Response - 422 Invalid request parameters -
-
submitUserFeedbackWithHttpInfo
public ApiResponse<BaseResponse> submitUserFeedbackWithHttpInfo(@Nonnull SubmitUserFeedbackRequest submitUserFeedbackRequest) throws ApiException Submit feedback about the application Submits feedback about the application and forwards it to the RevEng.ai project management tool.- Parameters:
submitUserFeedbackRequest- (required)- Returns:
- ApiResponse<BaseResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Successful Response - 422 Invalid request parameters -
-
submitUserFeedbackAsync
public okhttp3.Call submitUserFeedbackAsync(@Nonnull SubmitUserFeedbackRequest submitUserFeedbackRequest, ApiCallback<BaseResponse> _callback) throws ApiException Submit feedback about the application (asynchronously) Submits feedback about the application and forwards it to the RevEng.ai project management tool.- Parameters:
submitUserFeedbackRequest- (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
Response Details Status Code Description Response Headers 200 Successful Response - 422 Invalid request parameters -
-