Package ai.reveng.api

Class IamUsersApi

java.lang.Object
ai.reveng.api.IamUsersApi

public class IamUsersApi extends Object
  • Constructor Details

    • IamUsersApi

      public IamUsersApi()
    • IamUsersApi

      public IamUsersApi(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)
    • getMeCall

      public okhttp3.Call getMeCall(ApiCallback _callback) throws ApiException
      Build call for getMe
      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 OK -
      404 Not Found -
      500 Internal Server Error -
    • getMe

      public User getMe() throws ApiException
      Get current user Returns the authenticated user's own information. **Error codes:** - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found
      Returns:
      User
      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 OK -
      404 Not Found -
      500 Internal Server Error -
    • getMeWithHttpInfo

      public ApiResponse<User> getMeWithHttpInfo() throws ApiException
      Get current user Returns the authenticated user's own information. **Error codes:** - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found
      Returns:
      ApiResponse<User>
      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 OK -
      404 Not Found -
      500 Internal Server Error -
    • getMeAsync

      public okhttp3.Call getMeAsync(ApiCallback<User> _callback) throws ApiException
      Get current user (asynchronously) Returns the authenticated user's own information. **Error codes:** - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found
      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 OK -
      404 Not Found -
      500 Internal Server Error -
    • getMyPermissionsCall

      public okhttp3.Call getMyPermissionsCall(ApiCallback _callback) throws ApiException
      Build call for getMyPermissions
      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 OK -
      0 Error -
    • getMyPermissions

      public Permissions getMyPermissions() throws ApiException
      Get current user permissions Returns the feature permissions granted to the authenticated user based on their subscription tier. Use this as the single source of truth for feature gating across web, CLI, and plugin clients.
      Returns:
      Permissions
      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 OK -
      0 Error -
    • getMyPermissionsWithHttpInfo

      public ApiResponse<Permissions> getMyPermissionsWithHttpInfo() throws ApiException
      Get current user permissions Returns the feature permissions granted to the authenticated user based on their subscription tier. Use this as the single source of truth for feature gating across web, CLI, and plugin clients.
      Returns:
      ApiResponse<Permissions>
      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 OK -
      0 Error -
    • getMyPermissionsAsync

      public okhttp3.Call getMyPermissionsAsync(ApiCallback<Permissions> _callback) throws ApiException
      Get current user permissions (asynchronously) Returns the feature permissions granted to the authenticated user based on their subscription tier. Use this as the single source of truth for feature gating across web, CLI, and plugin clients.
      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 OK -
      0 Error -