Package ai.reveng.api
Class IamUsersApi
java.lang.Object
ai.reveng.api.IamUsersApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetMe()Get current user Returns the authenticated user's own information.okhttp3.CallgetMeAsync(ApiCallback<User> _callback) Get current user (asynchronously) Returns the authenticated user's own information.okhttp3.CallgetMeCall(ApiCallback _callback) Build call for getMeGet current user Returns the authenticated user's own information.Get current user permissions Returns the feature permissions granted to the authenticated user based on their subscription tier.okhttp3.CallgetMyPermissionsAsync(ApiCallback<Permissions> _callback) Get current user permissions (asynchronously) Returns the feature permissions granted to the authenticated user based on their subscription tier.okhttp3.CallgetMyPermissionsCall(ApiCallback _callback) Build call for getMyPermissionsGet current user permissions Returns the feature permissions granted to the authenticated user based on their subscription tier.voidsetApiClient(ApiClient apiClient) voidsetCustomBaseUrl(String customBaseUrl) voidsetHostIndex(int hostIndex)
-
Constructor Details
-
IamUsersApi
public IamUsersApi() -
IamUsersApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getHostIndex
public int getHostIndex() -
setHostIndex
public void setHostIndex(int hostIndex) -
getCustomBaseUrl
-
setCustomBaseUrl
-
getMeCall
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
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
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
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
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
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
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
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 -
-