Class AuthApi


  • public class AuthApi
    extends Object
    • Constructor Detail

      • AuthApi

        public AuthApi()
      • AuthApi

        public AuthApi​(ApiClient apiClient)
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
      • addGroupMembershipCall

        public okhttp3.Call addGroupMembershipCall​(String groupId,
                                                   String userId,
                                                   ApiCallback _callback)
                                            throws ApiException
        Build call for addGroupMembership
        Parameters:
        groupId - (required)
        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
        201 membership added successfully -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • addGroupMembership

        public void addGroupMembership​(String groupId,
                                       String userId)
                                throws ApiException
        add group membership
        Parameters:
        groupId - (required)
        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
        201 membership added successfully -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • addGroupMembershipWithHttpInfo

        public ApiResponse<Void> addGroupMembershipWithHttpInfo​(String groupId,
                                                                String userId)
                                                         throws ApiException
        add group membership
        Parameters:
        groupId - (required)
        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
        201 membership added successfully -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • addGroupMembershipAsync

        public okhttp3.Call addGroupMembershipAsync​(String groupId,
                                                    String userId,
                                                    ApiCallback<Void> _callback)
                                             throws ApiException
        add group membership (asynchronously)
        Parameters:
        groupId - (required)
        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
        201 membership added successfully -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • attachPolicyToGroupCall

        public okhttp3.Call attachPolicyToGroupCall​(String groupId,
                                                    String policyId,
                                                    ApiCallback _callback)
                                             throws ApiException
        Build call for attachPolicyToGroup
        Parameters:
        groupId - (required)
        policyId - (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
        201 policy attached successfully -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • attachPolicyToGroup

        public void attachPolicyToGroup​(String groupId,
                                        String policyId)
                                 throws ApiException
        attach policy to group
        Parameters:
        groupId - (required)
        policyId - (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
        201 policy attached successfully -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • attachPolicyToGroupWithHttpInfo

        public ApiResponse<Void> attachPolicyToGroupWithHttpInfo​(String groupId,
                                                                 String policyId)
                                                          throws ApiException
        attach policy to group
        Parameters:
        groupId - (required)
        policyId - (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
        201 policy attached successfully -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • attachPolicyToGroupAsync

        public okhttp3.Call attachPolicyToGroupAsync​(String groupId,
                                                     String policyId,
                                                     ApiCallback<Void> _callback)
                                              throws ApiException
        attach policy to group (asynchronously)
        Parameters:
        groupId - (required)
        policyId - (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
        201 policy attached successfully -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • attachPolicyToUserCall

        public okhttp3.Call attachPolicyToUserCall​(String userId,
                                                   String policyId,
                                                   ApiCallback _callback)
                                            throws ApiException
        Build call for attachPolicyToUser
        Parameters:
        userId - (required)
        policyId - (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
        201 policy attached successfully -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • attachPolicyToUser

        public void attachPolicyToUser​(String userId,
                                       String policyId)
                                throws ApiException
        attach policy to user
        Parameters:
        userId - (required)
        policyId - (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
        201 policy attached successfully -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • attachPolicyToUserWithHttpInfo

        public ApiResponse<Void> attachPolicyToUserWithHttpInfo​(String userId,
                                                                String policyId)
                                                         throws ApiException
        attach policy to user
        Parameters:
        userId - (required)
        policyId - (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
        201 policy attached successfully -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • attachPolicyToUserAsync

        public okhttp3.Call attachPolicyToUserAsync​(String userId,
                                                    String policyId,
                                                    ApiCallback<Void> _callback)
                                             throws ApiException
        attach policy to user (asynchronously)
        Parameters:
        userId - (required)
        policyId - (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
        201 policy attached successfully -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • createCredentialsCall

        public okhttp3.Call createCredentialsCall​(String userId,
                                                  ApiCallback _callback)
                                           throws ApiException
        Build call for createCredentials
        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
        201 credentials -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • createCredentials

        public CredentialsWithSecret createCredentials​(String userId)
                                                throws ApiException
        create credentials
        Parameters:
        userId - (required)
        Returns:
        CredentialsWithSecret
        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
        201 credentials -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • createCredentialsWithHttpInfo

        public ApiResponse<CredentialsWithSecret> createCredentialsWithHttpInfo​(String userId)
                                                                         throws ApiException
        create credentials
        Parameters:
        userId - (required)
        Returns:
        ApiResponse<CredentialsWithSecret>
        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
        201 credentials -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • createCredentialsAsync

        public okhttp3.Call createCredentialsAsync​(String userId,
                                                   ApiCallback<CredentialsWithSecret> _callback)
                                            throws ApiException
        create credentials (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
        201 credentials -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • createGroupCall

        public okhttp3.Call createGroupCall​(GroupCreation groupCreation,
                                            ApiCallback _callback)
                                     throws ApiException
        Build call for createGroup
        Parameters:
        groupCreation - (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
        201 group -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • createGroup

        public Group createGroup​(GroupCreation groupCreation)
                          throws ApiException
        create group
        Parameters:
        groupCreation - (optional)
        Returns:
        Group
        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
        201 group -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • createGroupWithHttpInfo

        public ApiResponse<Group> createGroupWithHttpInfo​(GroupCreation groupCreation)
                                                   throws ApiException
        create group
        Parameters:
        groupCreation - (optional)
        Returns:
        ApiResponse<Group>
        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
        201 group -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • createGroupAsync

        public okhttp3.Call createGroupAsync​(GroupCreation groupCreation,
                                             ApiCallback<Group> _callback)
                                      throws ApiException
        create group (asynchronously)
        Parameters:
        groupCreation - (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
        201 group -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • createPolicyCall

        public okhttp3.Call createPolicyCall​(Policy policy,
                                             ApiCallback _callback)
                                      throws ApiException
        Build call for createPolicy
        Parameters:
        policy - (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
        201 policy -
        400 Validation Error -
        401 Unauthorized -
        409 Resource Conflicts With Target -
        420 too many requests -
        0 Internal Server Error -
      • createPolicy

        public Policy createPolicy​(Policy policy)
                            throws ApiException
        create policy
        Parameters:
        policy - (required)
        Returns:
        Policy
        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
        201 policy -
        400 Validation Error -
        401 Unauthorized -
        409 Resource Conflicts With Target -
        420 too many requests -
        0 Internal Server Error -
      • createPolicyWithHttpInfo

        public ApiResponse<Policy> createPolicyWithHttpInfo​(Policy policy)
                                                     throws ApiException
        create policy
        Parameters:
        policy - (required)
        Returns:
        ApiResponse<Policy>
        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
        201 policy -
        400 Validation Error -
        401 Unauthorized -
        409 Resource Conflicts With Target -
        420 too many requests -
        0 Internal Server Error -
      • createPolicyAsync

        public okhttp3.Call createPolicyAsync​(Policy policy,
                                              ApiCallback<Policy> _callback)
                                       throws ApiException
        create policy (asynchronously)
        Parameters:
        policy - (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
        201 policy -
        400 Validation Error -
        401 Unauthorized -
        409 Resource Conflicts With Target -
        420 too many requests -
        0 Internal Server Error -
      • createUserCall

        public okhttp3.Call createUserCall​(UserCreation userCreation,
                                           ApiCallback _callback)
                                    throws ApiException
        Build call for createUser
        Parameters:
        userCreation - (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
        201 user -
        400 validation error -
        401 Unauthorized -
        409 Resource Conflicts With Target -
        420 too many requests -
        0 Internal Server Error -
      • createUser

        public User createUser​(UserCreation userCreation)
                        throws ApiException
        create user
        Parameters:
        userCreation - (optional)
        Returns:
        User
        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
        201 user -
        400 validation error -
        401 Unauthorized -
        409 Resource Conflicts With Target -
        420 too many requests -
        0 Internal Server Error -
      • createUserWithHttpInfo

        public ApiResponse<User> createUserWithHttpInfo​(UserCreation userCreation)
                                                 throws ApiException
        create user
        Parameters:
        userCreation - (optional)
        Returns:
        ApiResponse<User>
        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
        201 user -
        400 validation error -
        401 Unauthorized -
        409 Resource Conflicts With Target -
        420 too many requests -
        0 Internal Server Error -
      • createUserAsync

        public okhttp3.Call createUserAsync​(UserCreation userCreation,
                                            ApiCallback<User> _callback)
                                     throws ApiException
        create user (asynchronously)
        Parameters:
        userCreation - (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
        201 user -
        400 validation error -
        401 Unauthorized -
        409 Resource Conflicts With Target -
        420 too many requests -
        0 Internal Server Error -
      • deleteCredentialsCall

        public okhttp3.Call deleteCredentialsCall​(String userId,
                                                  String accessKeyId,
                                                  ApiCallback _callback)
                                           throws ApiException
        Build call for deleteCredentials
        Parameters:
        userId - (required)
        accessKeyId - (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
        204 credentials deleted successfully -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • deleteCredentials

        public void deleteCredentials​(String userId,
                                      String accessKeyId)
                               throws ApiException
        delete credentials
        Parameters:
        userId - (required)
        accessKeyId - (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
        204 credentials deleted successfully -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • deleteCredentialsWithHttpInfo

        public ApiResponse<Void> deleteCredentialsWithHttpInfo​(String userId,
                                                               String accessKeyId)
                                                        throws ApiException
        delete credentials
        Parameters:
        userId - (required)
        accessKeyId - (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
        204 credentials deleted successfully -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • deleteCredentialsAsync

        public okhttp3.Call deleteCredentialsAsync​(String userId,
                                                   String accessKeyId,
                                                   ApiCallback<Void> _callback)
                                            throws ApiException
        delete credentials (asynchronously)
        Parameters:
        userId - (required)
        accessKeyId - (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
        204 credentials deleted successfully -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • deleteGroupCall

        public okhttp3.Call deleteGroupCall​(String groupId,
                                            ApiCallback _callback)
                                     throws ApiException
        Build call for deleteGroup
        Parameters:
        groupId - (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
        204 group deleted successfully -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • deleteGroup

        public void deleteGroup​(String groupId)
                         throws ApiException
        delete group
        Parameters:
        groupId - (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
        204 group deleted successfully -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • deleteGroupWithHttpInfo

        public ApiResponse<Void> deleteGroupWithHttpInfo​(String groupId)
                                                  throws ApiException
        delete group
        Parameters:
        groupId - (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
        204 group deleted successfully -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • deleteGroupAsync

        public okhttp3.Call deleteGroupAsync​(String groupId,
                                             ApiCallback<Void> _callback)
                                      throws ApiException
        delete group (asynchronously)
        Parameters:
        groupId - (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
        204 group deleted successfully -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • deleteGroupMembershipCall

        public okhttp3.Call deleteGroupMembershipCall​(String groupId,
                                                      String userId,
                                                      ApiCallback _callback)
                                               throws ApiException
        Build call for deleteGroupMembership
        Parameters:
        groupId - (required)
        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
        204 membership deleted successfully -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • deleteGroupMembership

        public void deleteGroupMembership​(String groupId,
                                          String userId)
                                   throws ApiException
        delete group membership
        Parameters:
        groupId - (required)
        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
        204 membership deleted successfully -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • deleteGroupMembershipWithHttpInfo

        public ApiResponse<Void> deleteGroupMembershipWithHttpInfo​(String groupId,
                                                                   String userId)
                                                            throws ApiException
        delete group membership
        Parameters:
        groupId - (required)
        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
        204 membership deleted successfully -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • deleteGroupMembershipAsync

        public okhttp3.Call deleteGroupMembershipAsync​(String groupId,
                                                       String userId,
                                                       ApiCallback<Void> _callback)
                                                throws ApiException
        delete group membership (asynchronously)
        Parameters:
        groupId - (required)
        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
        204 membership deleted successfully -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • deletePolicyCall

        public okhttp3.Call deletePolicyCall​(String policyId,
                                             ApiCallback _callback)
                                      throws ApiException
        Build call for deletePolicy
        Parameters:
        policyId - (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
        204 policy deleted successfully -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • deletePolicy

        public void deletePolicy​(String policyId)
                          throws ApiException
        delete policy
        Parameters:
        policyId - (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
        204 policy deleted successfully -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • deletePolicyWithHttpInfo

        public ApiResponse<Void> deletePolicyWithHttpInfo​(String policyId)
                                                   throws ApiException
        delete policy
        Parameters:
        policyId - (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
        204 policy deleted successfully -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • deletePolicyAsync

        public okhttp3.Call deletePolicyAsync​(String policyId,
                                              ApiCallback<Void> _callback)
                                       throws ApiException
        delete policy (asynchronously)
        Parameters:
        policyId - (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
        204 policy deleted successfully -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • deleteUserCall

        public okhttp3.Call deleteUserCall​(String userId,
                                           ApiCallback _callback)
                                    throws ApiException
        Build call for deleteUser
        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
        204 user deleted successfully -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • deleteUser

        public void deleteUser​(String userId)
                        throws ApiException
        delete user
        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
        204 user deleted successfully -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • deleteUserWithHttpInfo

        public ApiResponse<Void> deleteUserWithHttpInfo​(String userId)
                                                 throws ApiException
        delete user
        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
        204 user deleted successfully -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • deleteUserAsync

        public okhttp3.Call deleteUserAsync​(String userId,
                                            ApiCallback<Void> _callback)
                                     throws ApiException
        delete user (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
        204 user deleted successfully -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • detachPolicyFromGroupCall

        public okhttp3.Call detachPolicyFromGroupCall​(String groupId,
                                                      String policyId,
                                                      ApiCallback _callback)
                                               throws ApiException
        Build call for detachPolicyFromGroup
        Parameters:
        groupId - (required)
        policyId - (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
        204 policy detached successfully -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • detachPolicyFromGroup

        public void detachPolicyFromGroup​(String groupId,
                                          String policyId)
                                   throws ApiException
        detach policy from group
        Parameters:
        groupId - (required)
        policyId - (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
        204 policy detached successfully -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • detachPolicyFromGroupWithHttpInfo

        public ApiResponse<Void> detachPolicyFromGroupWithHttpInfo​(String groupId,
                                                                   String policyId)
                                                            throws ApiException
        detach policy from group
        Parameters:
        groupId - (required)
        policyId - (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
        204 policy detached successfully -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • detachPolicyFromGroupAsync

        public okhttp3.Call detachPolicyFromGroupAsync​(String groupId,
                                                       String policyId,
                                                       ApiCallback<Void> _callback)
                                                throws ApiException
        detach policy from group (asynchronously)
        Parameters:
        groupId - (required)
        policyId - (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
        204 policy detached successfully -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • detachPolicyFromUserCall

        public okhttp3.Call detachPolicyFromUserCall​(String userId,
                                                     String policyId,
                                                     ApiCallback _callback)
                                              throws ApiException
        Build call for detachPolicyFromUser
        Parameters:
        userId - (required)
        policyId - (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
        204 policy detached successfully -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • detachPolicyFromUser

        public void detachPolicyFromUser​(String userId,
                                         String policyId)
                                  throws ApiException
        detach policy from user
        Parameters:
        userId - (required)
        policyId - (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
        204 policy detached successfully -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • detachPolicyFromUserWithHttpInfo

        public ApiResponse<Void> detachPolicyFromUserWithHttpInfo​(String userId,
                                                                  String policyId)
                                                           throws ApiException
        detach policy from user
        Parameters:
        userId - (required)
        policyId - (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
        204 policy detached successfully -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • detachPolicyFromUserAsync

        public okhttp3.Call detachPolicyFromUserAsync​(String userId,
                                                      String policyId,
                                                      ApiCallback<Void> _callback)
                                               throws ApiException
        detach policy from user (asynchronously)
        Parameters:
        userId - (required)
        policyId - (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
        204 policy detached successfully -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • getCredentialsCall

        public okhttp3.Call getCredentialsCall​(String userId,
                                               String accessKeyId,
                                               ApiCallback _callback)
                                        throws ApiException
        Build call for getCredentials
        Parameters:
        userId - (required)
        accessKeyId - (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 credentials -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • getCredentials

        public Credentials getCredentials​(String userId,
                                          String accessKeyId)
                                   throws ApiException
        get credentials
        Parameters:
        userId - (required)
        accessKeyId - (required)
        Returns:
        Credentials
        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 credentials -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • getCredentialsWithHttpInfo

        public ApiResponse<Credentials> getCredentialsWithHttpInfo​(String userId,
                                                                   String accessKeyId)
                                                            throws ApiException
        get credentials
        Parameters:
        userId - (required)
        accessKeyId - (required)
        Returns:
        ApiResponse<Credentials>
        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 credentials -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • getCredentialsAsync

        public okhttp3.Call getCredentialsAsync​(String userId,
                                                String accessKeyId,
                                                ApiCallback<Credentials> _callback)
                                         throws ApiException
        get credentials (asynchronously)
        Parameters:
        userId - (required)
        accessKeyId - (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 credentials -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • getCurrentUserCall

        public okhttp3.Call getCurrentUserCall​(ApiCallback _callback)
                                        throws ApiException
        Build call for getCurrentUser
        Parameters:
        _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 user -
      • getCurrentUser

        public CurrentUser getCurrentUser()
                                   throws ApiException
        get current user
        Returns:
        CurrentUser
        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 user -
      • getCurrentUserWithHttpInfo

        public ApiResponse<CurrentUser> getCurrentUserWithHttpInfo()
                                                            throws ApiException
        get current user
        Returns:
        ApiResponse<CurrentUser>
        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 user -
      • getCurrentUserAsync

        public okhttp3.Call getCurrentUserAsync​(ApiCallback<CurrentUser> _callback)
                                         throws ApiException
        get current user (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:
        Status Code Description Response Headers
        200 user -
      • getGroupCall

        public okhttp3.Call getGroupCall​(String groupId,
                                         ApiCallback _callback)
                                  throws ApiException
        Build call for getGroup
        Parameters:
        groupId - (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 group -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • getGroup

        public Group getGroup​(String groupId)
                       throws ApiException
        get group
        Parameters:
        groupId - (required)
        Returns:
        Group
        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 group -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • getGroupWithHttpInfo

        public ApiResponse<Group> getGroupWithHttpInfo​(String groupId)
                                                throws ApiException
        get group
        Parameters:
        groupId - (required)
        Returns:
        ApiResponse<Group>
        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 group -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • getGroupAsync

        public okhttp3.Call getGroupAsync​(String groupId,
                                          ApiCallback<Group> _callback)
                                   throws ApiException
        get group (asynchronously)
        Parameters:
        groupId - (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 group -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • getGroupACLCall

        public okhttp3.Call getGroupACLCall​(String groupId,
                                            ApiCallback _callback)
                                     throws ApiException
        Build call for getGroupACL
        Parameters:
        groupId - (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 ACL of group -
        401 Unauthorized -
        404 Group not found, or group found but has no ACL -
        420 too many requests -
        0 Internal Server Error -
      • getGroupACL

        public ACL getGroupACL​(String groupId)
                        throws ApiException
        get ACL of group
        Parameters:
        groupId - (required)
        Returns:
        ACL
        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 ACL of group -
        401 Unauthorized -
        404 Group not found, or group found but has no ACL -
        420 too many requests -
        0 Internal Server Error -
      • getGroupACLWithHttpInfo

        public ApiResponse<ACL> getGroupACLWithHttpInfo​(String groupId)
                                                 throws ApiException
        get ACL of group
        Parameters:
        groupId - (required)
        Returns:
        ApiResponse<ACL>
        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 ACL of group -
        401 Unauthorized -
        404 Group not found, or group found but has no ACL -
        420 too many requests -
        0 Internal Server Error -
      • getGroupACLAsync

        public okhttp3.Call getGroupACLAsync​(String groupId,
                                             ApiCallback<ACL> _callback)
                                      throws ApiException
        get ACL of group (asynchronously)
        Parameters:
        groupId - (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 ACL of group -
        401 Unauthorized -
        404 Group not found, or group found but has no ACL -
        420 too many requests -
        0 Internal Server Error -
      • getPolicyCall

        public okhttp3.Call getPolicyCall​(String policyId,
                                          ApiCallback _callback)
                                   throws ApiException
        Build call for getPolicy
        Parameters:
        policyId - (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 policy -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • getPolicy

        public Policy getPolicy​(String policyId)
                         throws ApiException
        get policy
        Parameters:
        policyId - (required)
        Returns:
        Policy
        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 policy -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • getPolicyWithHttpInfo

        public ApiResponse<Policy> getPolicyWithHttpInfo​(String policyId)
                                                  throws ApiException
        get policy
        Parameters:
        policyId - (required)
        Returns:
        ApiResponse<Policy>
        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 policy -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • getPolicyAsync

        public okhttp3.Call getPolicyAsync​(String policyId,
                                           ApiCallback<Policy> _callback)
                                    throws ApiException
        get policy (asynchronously)
        Parameters:
        policyId - (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 policy -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • getUserCall

        public okhttp3.Call getUserCall​(String 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:
        Status Code Description Response Headers
        200 user -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • getUser

        public User getUser​(String userId)
                     throws ApiException
        get user
        Parameters:
        userId - (required)
        Returns:
        User
        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 user -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • getUserWithHttpInfo

        public ApiResponse<User> getUserWithHttpInfo​(String userId)
                                              throws ApiException
        get user
        Parameters:
        userId - (required)
        Returns:
        ApiResponse<User>
        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 user -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • getUserAsync

        public okhttp3.Call getUserAsync​(String userId,
                                         ApiCallback<User> _callback)
                                  throws ApiException
        get user (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 user -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • listGroupMembersCall

        public okhttp3.Call listGroupMembersCall​(String groupId,
                                                 String prefix,
                                                 String after,
                                                 Integer amount,
                                                 ApiCallback _callback)
                                          throws ApiException
        Build call for listGroupMembers
        Parameters:
        groupId - (required)
        prefix - return items prefixed with this value (optional)
        after - return items after this value (optional)
        amount - how many items to return (optional, default to 100)
        _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 group member list -
        401 Unauthorized -
        420 too many requests -
        0 Internal Server Error -
      • listGroupMembers

        public UserList listGroupMembers​(String groupId,
                                         String prefix,
                                         String after,
                                         Integer amount)
                                  throws ApiException
        list group members
        Parameters:
        groupId - (required)
        prefix - return items prefixed with this value (optional)
        after - return items after this value (optional)
        amount - how many items to return (optional, default to 100)
        Returns:
        UserList
        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 group member list -
        401 Unauthorized -
        420 too many requests -
        0 Internal Server Error -
      • listGroupMembersWithHttpInfo

        public ApiResponse<UserList> listGroupMembersWithHttpInfo​(String groupId,
                                                                  String prefix,
                                                                  String after,
                                                                  Integer amount)
                                                           throws ApiException
        list group members
        Parameters:
        groupId - (required)
        prefix - return items prefixed with this value (optional)
        after - return items after this value (optional)
        amount - how many items to return (optional, default to 100)
        Returns:
        ApiResponse<UserList>
        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 group member list -
        401 Unauthorized -
        420 too many requests -
        0 Internal Server Error -
      • listGroupMembersAsync

        public okhttp3.Call listGroupMembersAsync​(String groupId,
                                                  String prefix,
                                                  String after,
                                                  Integer amount,
                                                  ApiCallback<UserList> _callback)
                                           throws ApiException
        list group members (asynchronously)
        Parameters:
        groupId - (required)
        prefix - return items prefixed with this value (optional)
        after - return items after this value (optional)
        amount - how many items to return (optional, default to 100)
        _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 group member list -
        401 Unauthorized -
        420 too many requests -
        0 Internal Server Error -
      • listGroupPoliciesCall

        public okhttp3.Call listGroupPoliciesCall​(String groupId,
                                                  String prefix,
                                                  String after,
                                                  Integer amount,
                                                  ApiCallback _callback)
                                           throws ApiException
        Build call for listGroupPolicies
        Parameters:
        groupId - (required)
        prefix - return items prefixed with this value (optional)
        after - return items after this value (optional)
        amount - how many items to return (optional, default to 100)
        _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 policy list -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • listGroupPolicies

        public PolicyList listGroupPolicies​(String groupId,
                                            String prefix,
                                            String after,
                                            Integer amount)
                                     throws ApiException
        list group policies
        Parameters:
        groupId - (required)
        prefix - return items prefixed with this value (optional)
        after - return items after this value (optional)
        amount - how many items to return (optional, default to 100)
        Returns:
        PolicyList
        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 policy list -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • listGroupPoliciesWithHttpInfo

        public ApiResponse<PolicyList> listGroupPoliciesWithHttpInfo​(String groupId,
                                                                     String prefix,
                                                                     String after,
                                                                     Integer amount)
                                                              throws ApiException
        list group policies
        Parameters:
        groupId - (required)
        prefix - return items prefixed with this value (optional)
        after - return items after this value (optional)
        amount - how many items to return (optional, default to 100)
        Returns:
        ApiResponse<PolicyList>
        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 policy list -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • listGroupPoliciesAsync

        public okhttp3.Call listGroupPoliciesAsync​(String groupId,
                                                   String prefix,
                                                   String after,
                                                   Integer amount,
                                                   ApiCallback<PolicyList> _callback)
                                            throws ApiException
        list group policies (asynchronously)
        Parameters:
        groupId - (required)
        prefix - return items prefixed with this value (optional)
        after - return items after this value (optional)
        amount - how many items to return (optional, default to 100)
        _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 policy list -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • listGroupsCall

        public okhttp3.Call listGroupsCall​(String prefix,
                                           String after,
                                           Integer amount,
                                           ApiCallback _callback)
                                    throws ApiException
        Build call for listGroups
        Parameters:
        prefix - return items prefixed with this value (optional)
        after - return items after this value (optional)
        amount - how many items to return (optional, default to 100)
        _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 group list -
        401 Unauthorized -
        420 too many requests -
        0 Internal Server Error -
      • listGroups

        public GroupList listGroups​(String prefix,
                                    String after,
                                    Integer amount)
                             throws ApiException
        list groups
        Parameters:
        prefix - return items prefixed with this value (optional)
        after - return items after this value (optional)
        amount - how many items to return (optional, default to 100)
        Returns:
        GroupList
        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 group list -
        401 Unauthorized -
        420 too many requests -
        0 Internal Server Error -
      • listGroupsWithHttpInfo

        public ApiResponse<GroupList> listGroupsWithHttpInfo​(String prefix,
                                                             String after,
                                                             Integer amount)
                                                      throws ApiException
        list groups
        Parameters:
        prefix - return items prefixed with this value (optional)
        after - return items after this value (optional)
        amount - how many items to return (optional, default to 100)
        Returns:
        ApiResponse<GroupList>
        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 group list -
        401 Unauthorized -
        420 too many requests -
        0 Internal Server Error -
      • listGroupsAsync

        public okhttp3.Call listGroupsAsync​(String prefix,
                                            String after,
                                            Integer amount,
                                            ApiCallback<GroupList> _callback)
                                     throws ApiException
        list groups (asynchronously)
        Parameters:
        prefix - return items prefixed with this value (optional)
        after - return items after this value (optional)
        amount - how many items to return (optional, default to 100)
        _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 group list -
        401 Unauthorized -
        420 too many requests -
        0 Internal Server Error -
      • listPoliciesCall

        public okhttp3.Call listPoliciesCall​(String prefix,
                                             String after,
                                             Integer amount,
                                             ApiCallback _callback)
                                      throws ApiException
        Build call for listPolicies
        Parameters:
        prefix - return items prefixed with this value (optional)
        after - return items after this value (optional)
        amount - how many items to return (optional, default to 100)
        _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 policy list -
        401 Unauthorized -
        420 too many requests -
        0 Internal Server Error -
      • listPolicies

        public PolicyList listPolicies​(String prefix,
                                       String after,
                                       Integer amount)
                                throws ApiException
        list policies
        Parameters:
        prefix - return items prefixed with this value (optional)
        after - return items after this value (optional)
        amount - how many items to return (optional, default to 100)
        Returns:
        PolicyList
        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 policy list -
        401 Unauthorized -
        420 too many requests -
        0 Internal Server Error -
      • listPoliciesWithHttpInfo

        public ApiResponse<PolicyList> listPoliciesWithHttpInfo​(String prefix,
                                                                String after,
                                                                Integer amount)
                                                         throws ApiException
        list policies
        Parameters:
        prefix - return items prefixed with this value (optional)
        after - return items after this value (optional)
        amount - how many items to return (optional, default to 100)
        Returns:
        ApiResponse<PolicyList>
        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 policy list -
        401 Unauthorized -
        420 too many requests -
        0 Internal Server Error -
      • listPoliciesAsync

        public okhttp3.Call listPoliciesAsync​(String prefix,
                                              String after,
                                              Integer amount,
                                              ApiCallback<PolicyList> _callback)
                                       throws ApiException
        list policies (asynchronously)
        Parameters:
        prefix - return items prefixed with this value (optional)
        after - return items after this value (optional)
        amount - how many items to return (optional, default to 100)
        _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 policy list -
        401 Unauthorized -
        420 too many requests -
        0 Internal Server Error -
      • listUserCredentialsCall

        public okhttp3.Call listUserCredentialsCall​(String userId,
                                                    String prefix,
                                                    String after,
                                                    Integer amount,
                                                    ApiCallback _callback)
                                             throws ApiException
        Build call for listUserCredentials
        Parameters:
        userId - (required)
        prefix - return items prefixed with this value (optional)
        after - return items after this value (optional)
        amount - how many items to return (optional, default to 100)
        _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 credential list -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • listUserCredentials

        public CredentialsList listUserCredentials​(String userId,
                                                   String prefix,
                                                   String after,
                                                   Integer amount)
                                            throws ApiException
        list user credentials
        Parameters:
        userId - (required)
        prefix - return items prefixed with this value (optional)
        after - return items after this value (optional)
        amount - how many items to return (optional, default to 100)
        Returns:
        CredentialsList
        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 credential list -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • listUserCredentialsWithHttpInfo

        public ApiResponse<CredentialsList> listUserCredentialsWithHttpInfo​(String userId,
                                                                            String prefix,
                                                                            String after,
                                                                            Integer amount)
                                                                     throws ApiException
        list user credentials
        Parameters:
        userId - (required)
        prefix - return items prefixed with this value (optional)
        after - return items after this value (optional)
        amount - how many items to return (optional, default to 100)
        Returns:
        ApiResponse<CredentialsList>
        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 credential list -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • listUserCredentialsAsync

        public okhttp3.Call listUserCredentialsAsync​(String userId,
                                                     String prefix,
                                                     String after,
                                                     Integer amount,
                                                     ApiCallback<CredentialsList> _callback)
                                              throws ApiException
        list user credentials (asynchronously)
        Parameters:
        userId - (required)
        prefix - return items prefixed with this value (optional)
        after - return items after this value (optional)
        amount - how many items to return (optional, default to 100)
        _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 credential list -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • listUserGroupsCall

        public okhttp3.Call listUserGroupsCall​(String userId,
                                               String prefix,
                                               String after,
                                               Integer amount,
                                               ApiCallback _callback)
                                        throws ApiException
        Build call for listUserGroups
        Parameters:
        userId - (required)
        prefix - return items prefixed with this value (optional)
        after - return items after this value (optional)
        amount - how many items to return (optional, default to 100)
        _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 group list -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • listUserGroups

        public GroupList listUserGroups​(String userId,
                                        String prefix,
                                        String after,
                                        Integer amount)
                                 throws ApiException
        list user groups
        Parameters:
        userId - (required)
        prefix - return items prefixed with this value (optional)
        after - return items after this value (optional)
        amount - how many items to return (optional, default to 100)
        Returns:
        GroupList
        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 group list -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • listUserGroupsWithHttpInfo

        public ApiResponse<GroupList> listUserGroupsWithHttpInfo​(String userId,
                                                                 String prefix,
                                                                 String after,
                                                                 Integer amount)
                                                          throws ApiException
        list user groups
        Parameters:
        userId - (required)
        prefix - return items prefixed with this value (optional)
        after - return items after this value (optional)
        amount - how many items to return (optional, default to 100)
        Returns:
        ApiResponse<GroupList>
        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 group list -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • listUserGroupsAsync

        public okhttp3.Call listUserGroupsAsync​(String userId,
                                                String prefix,
                                                String after,
                                                Integer amount,
                                                ApiCallback<GroupList> _callback)
                                         throws ApiException
        list user groups (asynchronously)
        Parameters:
        userId - (required)
        prefix - return items prefixed with this value (optional)
        after - return items after this value (optional)
        amount - how many items to return (optional, default to 100)
        _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 group list -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • listUserPoliciesCall

        public okhttp3.Call listUserPoliciesCall​(String userId,
                                                 String prefix,
                                                 String after,
                                                 Integer amount,
                                                 Boolean effective,
                                                 ApiCallback _callback)
                                          throws ApiException
        Build call for listUserPolicies
        Parameters:
        userId - (required)
        prefix - return items prefixed with this value (optional)
        after - return items after this value (optional)
        amount - how many items to return (optional, default to 100)
        effective - will return all distinct policies attached to the user or any of its groups (optional, default to false)
        _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 policy list -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • listUserPolicies

        public PolicyList listUserPolicies​(String userId,
                                           String prefix,
                                           String after,
                                           Integer amount,
                                           Boolean effective)
                                    throws ApiException
        list user policies
        Parameters:
        userId - (required)
        prefix - return items prefixed with this value (optional)
        after - return items after this value (optional)
        amount - how many items to return (optional, default to 100)
        effective - will return all distinct policies attached to the user or any of its groups (optional, default to false)
        Returns:
        PolicyList
        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 policy list -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • listUserPoliciesWithHttpInfo

        public ApiResponse<PolicyList> listUserPoliciesWithHttpInfo​(String userId,
                                                                    String prefix,
                                                                    String after,
                                                                    Integer amount,
                                                                    Boolean effective)
                                                             throws ApiException
        list user policies
        Parameters:
        userId - (required)
        prefix - return items prefixed with this value (optional)
        after - return items after this value (optional)
        amount - how many items to return (optional, default to 100)
        effective - will return all distinct policies attached to the user or any of its groups (optional, default to false)
        Returns:
        ApiResponse<PolicyList>
        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 policy list -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • listUserPoliciesAsync

        public okhttp3.Call listUserPoliciesAsync​(String userId,
                                                  String prefix,
                                                  String after,
                                                  Integer amount,
                                                  Boolean effective,
                                                  ApiCallback<PolicyList> _callback)
                                           throws ApiException
        list user policies (asynchronously)
        Parameters:
        userId - (required)
        prefix - return items prefixed with this value (optional)
        after - return items after this value (optional)
        amount - how many items to return (optional, default to 100)
        effective - will return all distinct policies attached to the user or any of its groups (optional, default to false)
        _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 policy list -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • listUsersCall

        public okhttp3.Call listUsersCall​(String prefix,
                                          String after,
                                          Integer amount,
                                          ApiCallback _callback)
                                   throws ApiException
        Build call for listUsers
        Parameters:
        prefix - return items prefixed with this value (optional)
        after - return items after this value (optional)
        amount - how many items to return (optional, default to 100)
        _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 user list -
        401 Unauthorized -
        420 too many requests -
        0 Internal Server Error -
      • listUsers

        public UserList listUsers​(String prefix,
                                  String after,
                                  Integer amount)
                           throws ApiException
        list users
        Parameters:
        prefix - return items prefixed with this value (optional)
        after - return items after this value (optional)
        amount - how many items to return (optional, default to 100)
        Returns:
        UserList
        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 user list -
        401 Unauthorized -
        420 too many requests -
        0 Internal Server Error -
      • listUsersWithHttpInfo

        public ApiResponse<UserList> listUsersWithHttpInfo​(String prefix,
                                                           String after,
                                                           Integer amount)
                                                    throws ApiException
        list users
        Parameters:
        prefix - return items prefixed with this value (optional)
        after - return items after this value (optional)
        amount - how many items to return (optional, default to 100)
        Returns:
        ApiResponse<UserList>
        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 user list -
        401 Unauthorized -
        420 too many requests -
        0 Internal Server Error -
      • listUsersAsync

        public okhttp3.Call listUsersAsync​(String prefix,
                                           String after,
                                           Integer amount,
                                           ApiCallback<UserList> _callback)
                                    throws ApiException
        list users (asynchronously)
        Parameters:
        prefix - return items prefixed with this value (optional)
        after - return items after this value (optional)
        amount - how many items to return (optional, default to 100)
        _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 user list -
        401 Unauthorized -
        420 too many requests -
        0 Internal Server Error -
      • loginCall

        public okhttp3.Call loginCall​(LoginInformation loginInformation,
                                      ApiCallback _callback)
                               throws ApiException
        Build call for login
        Parameters:
        loginInformation - (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 successful login * Set-Cookie -
        401 Unauthorized -
        420 too many requests -
        0 Internal Server Error -
      • login

        public AuthenticationToken login​(LoginInformation loginInformation)
                                  throws ApiException
        perform a login
        Parameters:
        loginInformation - (optional)
        Returns:
        AuthenticationToken
        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 successful login * Set-Cookie -
        401 Unauthorized -
        420 too many requests -
        0 Internal Server Error -
      • loginWithHttpInfo

        public ApiResponse<AuthenticationToken> loginWithHttpInfo​(LoginInformation loginInformation)
                                                           throws ApiException
        perform a login
        Parameters:
        loginInformation - (optional)
        Returns:
        ApiResponse<AuthenticationToken>
        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 successful login * Set-Cookie -
        401 Unauthorized -
        420 too many requests -
        0 Internal Server Error -
      • loginAsync

        public okhttp3.Call loginAsync​(LoginInformation loginInformation,
                                       ApiCallback<AuthenticationToken> _callback)
                                throws ApiException
        perform a login (asynchronously)
        Parameters:
        loginInformation - (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 successful login * Set-Cookie -
        401 Unauthorized -
        420 too many requests -
        0 Internal Server Error -
      • setGroupACLCall

        public okhttp3.Call setGroupACLCall​(String groupId,
                                            ACL ACL,
                                            ApiCallback _callback)
                                     throws ApiException
        Build call for setGroupACL
        Parameters:
        groupId - (required)
        ACL - (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
        201 ACL successfully changed -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • setGroupACL

        public void setGroupACL​(String groupId,
                                ACL ACL)
                         throws ApiException
        set ACL of group
        Parameters:
        groupId - (required)
        ACL - (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
        201 ACL successfully changed -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • setGroupACLWithHttpInfo

        public ApiResponse<Void> setGroupACLWithHttpInfo​(String groupId,
                                                         ACL ACL)
                                                  throws ApiException
        set ACL of group
        Parameters:
        groupId - (required)
        ACL - (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
        201 ACL successfully changed -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • setGroupACLAsync

        public okhttp3.Call setGroupACLAsync​(String groupId,
                                             ACL ACL,
                                             ApiCallback<Void> _callback)
                                      throws ApiException
        set ACL of group (asynchronously)
        Parameters:
        groupId - (required)
        ACL - (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
        201 ACL successfully changed -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • updatePolicyCall

        public okhttp3.Call updatePolicyCall​(String policyId,
                                             Policy policy,
                                             ApiCallback _callback)
                                      throws ApiException
        Build call for updatePolicy
        Parameters:
        policyId - (required)
        policy - (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 policy -
        400 Validation Error -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • updatePolicy

        public Policy updatePolicy​(String policyId,
                                   Policy policy)
                            throws ApiException
        update policy
        Parameters:
        policyId - (required)
        policy - (required)
        Returns:
        Policy
        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 policy -
        400 Validation Error -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • updatePolicyWithHttpInfo

        public ApiResponse<Policy> updatePolicyWithHttpInfo​(String policyId,
                                                            Policy policy)
                                                     throws ApiException
        update policy
        Parameters:
        policyId - (required)
        policy - (required)
        Returns:
        ApiResponse<Policy>
        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 policy -
        400 Validation Error -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -
      • updatePolicyAsync

        public okhttp3.Call updatePolicyAsync​(String policyId,
                                              Policy policy,
                                              ApiCallback<Policy> _callback)
                                       throws ApiException
        update policy (asynchronously)
        Parameters:
        policyId - (required)
        policy - (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 policy -
        400 Validation Error -
        401 Unauthorized -
        404 Resource Not Found -
        420 too many requests -
        0 Internal Server Error -