Class OrganizationsApi

java.lang.Object
org.wso2.am.integration.clients.admin.api.OrganizationsApi

public class OrganizationsApi extends Object
  • Constructor Details

    • OrganizationsApi

      public OrganizationsApi()
    • OrganizationsApi

      public OrganizationsApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • organizationsGetCall

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

      public OrganizationListDTO organizationsGet() throws ApiException
      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

      public ApiResponse<OrganizationListDTO> organizationsGetWithHttpInfo() throws ApiException
      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

      public void organizationsOrganizationIdDelete(String organizationId) throws ApiException
      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

      public OrganizationDTO organizationsOrganizationIdGet(String organizationId) throws ApiException
      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

      public OrganizationDTO organizationsPost(OrganizationDTO organizationDTO) throws ApiException
      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