Package ai.reveng.api

Class AuthenticationUsersApi

java.lang.Object
ai.reveng.api.AuthenticationUsersApi

public class AuthenticationUsersApi extends Object
  • Constructor Details

    • AuthenticationUsersApi

      public AuthenticationUsersApi()
    • AuthenticationUsersApi

      public AuthenticationUsersApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • getHostIndex

      public int getHostIndex()
    • setHostIndex

      public void setHostIndex(int hostIndex)
    • getCustomBaseUrl

      public String getCustomBaseUrl()
    • setCustomBaseUrl

      public void setCustomBaseUrl(String customBaseUrl)
    • getRequesterUserInfoCall

      public okhttp3.Call getRequesterUserInfoCall(ApiCallback _callback) throws ApiException
      Build call for getRequesterUserInfo
      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 -
    • getRequesterUserInfo

      public BaseResponseGetUserResponse getRequesterUserInfo() throws ApiException
      Get the requesters user information
      Returns:
      BaseResponseGetUserResponse
      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 -
    • getRequesterUserInfoWithHttpInfo

      public ApiResponse<BaseResponseGetUserResponse> getRequesterUserInfoWithHttpInfo() throws ApiException
      Get the requesters user information
      Returns:
      ApiResponse<BaseResponseGetUserResponse>
      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 -
    • getRequesterUserInfoAsync

      public okhttp3.Call getRequesterUserInfoAsync(ApiCallback<BaseResponseGetUserResponse> _callback) throws ApiException
      Get the requesters user information (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 -
    • getUserCall

      public okhttp3.Call getUserCall(@Nonnull Integer userId, ApiCallback _callback) throws ApiException
      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

      public BaseResponseGetPublicUserResponse getUser(@Nonnull Integer userId) throws ApiException
      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

      public okhttp3.Call getUserActivityCall(ApiCallback _callback) throws ApiException
      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

      public BaseResponseListUserActivityResponse getUserActivity() throws ApiException
      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 ApiException
      Get 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 -
    • getUserCommentsCall

      public okhttp3.Call getUserCommentsCall(ApiCallback _callback) throws ApiException
      Build call for getUserComments
      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 -
    • getUserComments

      public BaseResponseListCommentResponse getUserComments() throws ApiException
      Get comments by user Retrieves all comments created by a specific user. Only returns comments for resources the requesting user has access to.
      Returns:
      BaseResponseListCommentResponse
      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 -
    • getUserCommentsWithHttpInfo

      public ApiResponse<BaseResponseListCommentResponse> getUserCommentsWithHttpInfo() throws ApiException
      Get comments by user Retrieves all comments created by a specific user. Only returns comments for resources the requesting user has access to.
      Returns:
      ApiResponse<BaseResponseListCommentResponse>
      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 -
    • getUserCommentsAsync

      public okhttp3.Call getUserCommentsAsync(ApiCallback<BaseResponseListCommentResponse> _callback) throws ApiException
      Get comments by user (asynchronously) Retrieves all comments created by a specific user. Only returns comments for resources the requesting user has access to.
      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 -
    • loginUserCall

      public okhttp3.Call loginUserCall(@Nonnull LoginRequest loginRequest, ApiCallback _callback) throws ApiException
      Build call for loginUser
      Parameters:
      loginRequest - (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 -
      401 Invalid credentials -
    • loginUser

      public BaseResponseLoginResponse loginUser(@Nonnull LoginRequest loginRequest) throws ApiException
      Authenticate a user Authenticates a user and returns a token.
      Parameters:
      loginRequest - (required)
      Returns:
      BaseResponseLoginResponse
      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 -
      401 Invalid credentials -
    • loginUserWithHttpInfo

      public ApiResponse<BaseResponseLoginResponse> loginUserWithHttpInfo(@Nonnull LoginRequest loginRequest) throws ApiException
      Authenticate a user Authenticates a user and returns a token.
      Parameters:
      loginRequest - (required)
      Returns:
      ApiResponse<BaseResponseLoginResponse>
      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 -
      401 Invalid credentials -
    • loginUserAsync

      public okhttp3.Call loginUserAsync(@Nonnull LoginRequest loginRequest, ApiCallback<BaseResponseLoginResponse> _callback) throws ApiException
      Authenticate a user (asynchronously) Authenticates a user and returns a token.
      Parameters:
      loginRequest - (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 -
      401 Invalid credentials -