Class OrganizationsApi
java.lang.Object
org.wso2.am.integration.clients.admin.api.OrganizationsApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet all registered Organizations Get all Registered Organizationsokhttp3.CallorganizationsGetAsync(ApiCallback<OrganizationListDTO> _callback) Get all registered Organizations (asynchronously) Get all Registered Organizationsokhttp3.CallorganizationsGetCall(ApiCallback _callback) Build call for organizationsGetGet all registered Organizations Get all Registered OrganizationsvoidorganizationsOrganizationIdDelete(String organizationId) Delete an Organization Delete an organization by organization Idokhttp3.CallorganizationsOrganizationIdDeleteAsync(String organizationId, ApiCallback<Void> _callback) Delete an Organization (asynchronously) Delete an organization by organization Idokhttp3.CallorganizationsOrganizationIdDeleteCall(String organizationId, ApiCallback _callback) Build call for organizationsOrganizationIdDeleteorganizationsOrganizationIdDeleteWithHttpInfo(String organizationId) Delete an Organization Delete an organization by organization IdorganizationsOrganizationIdGet(String organizationId) Get an Organization Get an organization by organization Idokhttp3.CallorganizationsOrganizationIdGetAsync(String organizationId, ApiCallback<OrganizationDTO> _callback) Get an Organization (asynchronously) Get an organization by organization Idokhttp3.CallorganizationsOrganizationIdGetCall(String organizationId, ApiCallback _callback) Build call for organizationsOrganizationIdGetorganizationsOrganizationIdGetWithHttpInfo(String organizationId) Get an Organization Get an organization by organization IdorganizationsOrganizationIdPut(String organizationId, OrganizationDTO organizationDTO) Update an Organization Update an organization by organization Idokhttp3.CallorganizationsOrganizationIdPutAsync(String organizationId, OrganizationDTO organizationDTO, ApiCallback<OrganizationDTO> _callback) Update an Organization (asynchronously) Update an organization by organization Idokhttp3.CallorganizationsOrganizationIdPutCall(String organizationId, OrganizationDTO organizationDTO, ApiCallback _callback) Build call for organizationsOrganizationIdPutorganizationsOrganizationIdPutWithHttpInfo(String organizationId, OrganizationDTO organizationDTO) Update an Organization Update an organization by organization IdorganizationsPost(OrganizationDTO organizationDTO) Add an Organizations Add a new organizationokhttp3.CallorganizationsPostAsync(OrganizationDTO organizationDTO, ApiCallback<OrganizationDTO> _callback) Add an Organizations (asynchronously) Add a new organizationokhttp3.CallorganizationsPostCall(OrganizationDTO organizationDTO, ApiCallback _callback) Build call for organizationsPostorganizationsPostWithHttpInfo(OrganizationDTO organizationDTO) Add an Organizations Add a new organizationvoidsetApiClient(ApiClient apiClient)
-
Constructor Details
-
OrganizationsApi
public OrganizationsApi() -
OrganizationsApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
organizationsGetCall
Build call for organizationsGet- Parameters:
_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
organizationsGet
Get all registered Organizations Get all Registered Organizations- Returns:
- OrganizationListDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
organizationsGetWithHttpInfo
Get all registered Organizations Get all Registered Organizations- Returns:
- ApiResponse<OrganizationListDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
organizationsGetAsync
public okhttp3.Call organizationsGetAsync(ApiCallback<OrganizationListDTO> _callback) throws ApiException Get all registered Organizations (asynchronously) Get all Registered Organizations- 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
-
organizationsOrganizationIdDeleteCall
public okhttp3.Call organizationsOrganizationIdDeleteCall(String organizationId, ApiCallback _callback) throws ApiException Build call for organizationsOrganizationIdDelete- Parameters:
organizationId- Organization UUID (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
organizationsOrganizationIdDelete
Delete an Organization Delete an organization by organization Id- Parameters:
organizationId- Organization UUID (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
organizationsOrganizationIdDeleteWithHttpInfo
public ApiResponse<Void> organizationsOrganizationIdDeleteWithHttpInfo(String organizationId) throws ApiException Delete an Organization Delete an organization by organization Id- Parameters:
organizationId- Organization UUID (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
organizationsOrganizationIdDeleteAsync
public okhttp3.Call organizationsOrganizationIdDeleteAsync(String organizationId, ApiCallback<Void> _callback) throws ApiException Delete an Organization (asynchronously) Delete an organization by organization Id- Parameters:
organizationId- Organization UUID (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
-
organizationsOrganizationIdGetCall
public okhttp3.Call organizationsOrganizationIdGetCall(String organizationId, ApiCallback _callback) throws ApiException Build call for organizationsOrganizationIdGet- Parameters:
organizationId- Organization UUID (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
organizationsOrganizationIdGet
Get an Organization Get an organization by organization Id- Parameters:
organizationId- Organization UUID (required)- Returns:
- OrganizationDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
organizationsOrganizationIdGetWithHttpInfo
public ApiResponse<OrganizationDTO> organizationsOrganizationIdGetWithHttpInfo(String organizationId) throws ApiException Get an Organization Get an organization by organization Id- Parameters:
organizationId- Organization UUID (required)- Returns:
- ApiResponse<OrganizationDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
organizationsOrganizationIdGetAsync
public okhttp3.Call organizationsOrganizationIdGetAsync(String organizationId, ApiCallback<OrganizationDTO> _callback) throws ApiException Get an Organization (asynchronously) Get an organization by organization Id- Parameters:
organizationId- Organization UUID (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
-
organizationsOrganizationIdPutCall
public okhttp3.Call organizationsOrganizationIdPutCall(String organizationId, OrganizationDTO organizationDTO, ApiCallback _callback) throws ApiException Build call for organizationsOrganizationIdPut- Parameters:
organizationId- Organization UUID (required)organizationDTO- Organization object with updated information (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
organizationsOrganizationIdPut
public OrganizationDTO organizationsOrganizationIdPut(String organizationId, OrganizationDTO organizationDTO) throws ApiException Update an Organization Update an organization by organization Id- Parameters:
organizationId- Organization UUID (required)organizationDTO- Organization object with updated information (required)- Returns:
- OrganizationDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
organizationsOrganizationIdPutWithHttpInfo
public ApiResponse<OrganizationDTO> organizationsOrganizationIdPutWithHttpInfo(String organizationId, OrganizationDTO organizationDTO) throws ApiException Update an Organization Update an organization by organization Id- Parameters:
organizationId- Organization UUID (required)organizationDTO- Organization object with updated information (required)- Returns:
- ApiResponse<OrganizationDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
organizationsOrganizationIdPutAsync
public okhttp3.Call organizationsOrganizationIdPutAsync(String organizationId, OrganizationDTO organizationDTO, ApiCallback<OrganizationDTO> _callback) throws ApiException Update an Organization (asynchronously) Update an organization by organization Id- Parameters:
organizationId- Organization UUID (required)organizationDTO- Organization object with updated information (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
-
organizationsPostCall
public okhttp3.Call organizationsPostCall(OrganizationDTO organizationDTO, ApiCallback _callback) throws ApiException Build call for organizationsPost- Parameters:
organizationDTO- Organization object that should to be added (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
organizationsPost
Add an Organizations Add a new organization- Parameters:
organizationDTO- Organization object that should to be added (required)- Returns:
- OrganizationDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
organizationsPostWithHttpInfo
public ApiResponse<OrganizationDTO> organizationsPostWithHttpInfo(OrganizationDTO organizationDTO) throws ApiException Add an Organizations Add a new organization- Parameters:
organizationDTO- Organization object that should to be added (required)- Returns:
- ApiResponse<OrganizationDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
organizationsPostAsync
public okhttp3.Call organizationsPostAsync(OrganizationDTO organizationDTO, ApiCallback<OrganizationDTO> _callback) throws ApiException Add an Organizations (asynchronously) Add a new organization- Parameters:
organizationDTO- Organization object that should to be added (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
-