Class CounterpartyTypeCatalogTenantApi

java.lang.Object
co.ankatech.keymanagement.client.keymanagement.api.CounterpartyTypeCatalogTenantApi

public class CounterpartyTypeCatalogTenantApi extends Object
  • Constructor Details

    • CounterpartyTypeCatalogTenantApi

      public CounterpartyTypeCatalogTenantApi()
    • CounterpartyTypeCatalogTenantApi

      public CounterpartyTypeCatalogTenantApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • getHostIndex

      public int getHostIndex()
    • setHostIndex

      public void setHostIndex(int hostIndex)
    • getCustomBaseUrl

      public String getCustomBaseUrl()
    • setCustomBaseUrl

      public void setCustomBaseUrl(String customBaseUrl)
    • getCounterpartyTypeCall

      public okhttp3.Call getCounterpartyTypeCall(@Nonnull UUID tenantId, @Nonnull UUID id, ApiCallback _callback) throws ApiException
      Build call for getCounterpartyType
      Parameters:
      tenantId - (required)
      id - (required)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • getCounterpartyType

      public CounterpartyTypeResponse getCounterpartyType(@Nonnull UUID tenantId, @Nonnull UUID id) throws ApiException
      Get a counterparty type by id Visible scopes: own tenant-local + any platform-global. Cross-tenant probes return 404 (oracle-safe). Required scope: admin.tenant.counterparty-type.read.
      Parameters:
      tenantId - (required)
      id - (required)
      Returns:
      CounterpartyTypeResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getCounterpartyTypeWithHttpInfo

      public ApiResponse<CounterpartyTypeResponse> getCounterpartyTypeWithHttpInfo(@Nonnull UUID tenantId, @Nonnull UUID id) throws ApiException
      Get a counterparty type by id Visible scopes: own tenant-local + any platform-global. Cross-tenant probes return 404 (oracle-safe). Required scope: admin.tenant.counterparty-type.read.
      Parameters:
      tenantId - (required)
      id - (required)
      Returns:
      ApiResponse<CounterpartyTypeResponse>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getCounterpartyTypeAsync

      public okhttp3.Call getCounterpartyTypeAsync(@Nonnull UUID tenantId, @Nonnull UUID id, ApiCallback<CounterpartyTypeResponse> _callback) throws ApiException
      Get a counterparty type by id (asynchronously) Visible scopes: own tenant-local + any platform-global. Cross-tenant probes return 404 (oracle-safe). Required scope: admin.tenant.counterparty-type.read.
      Parameters:
      tenantId - (required)
      id - (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
    • listCounterpartyTypesCall

      public okhttp3.Call listCounterpartyTypesCall(@Nonnull UUID tenantId, ApiCallback _callback) throws ApiException
      Build call for listCounterpartyTypes
      Parameters:
      tenantId - (required)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • listCounterpartyTypes

      public List<CounterpartyTypeResponse> listCounterpartyTypes(@Nonnull UUID tenantId) throws ApiException
      List counterparty types visible to this tenant Returns the UNION of platform-global rows (tenant_id IS NULL) and the caller tenant's local rows. Each row carries scope=PLATFORM|TENANT for badge rendering. Required scope: admin.tenant.counterparty-type.list.
      Parameters:
      tenantId - (required)
      Returns:
      List<CounterpartyTypeResponse>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • listCounterpartyTypesWithHttpInfo

      public ApiResponse<List<CounterpartyTypeResponse>> listCounterpartyTypesWithHttpInfo(@Nonnull UUID tenantId) throws ApiException
      List counterparty types visible to this tenant Returns the UNION of platform-global rows (tenant_id IS NULL) and the caller tenant's local rows. Each row carries scope=PLATFORM|TENANT for badge rendering. Required scope: admin.tenant.counterparty-type.list.
      Parameters:
      tenantId - (required)
      Returns:
      ApiResponse<List<CounterpartyTypeResponse>>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • listCounterpartyTypesAsync

      public okhttp3.Call listCounterpartyTypesAsync(@Nonnull UUID tenantId, ApiCallback<List<CounterpartyTypeResponse>> _callback) throws ApiException
      List counterparty types visible to this tenant (asynchronously) Returns the UNION of platform-global rows (tenant_id IS NULL) and the caller tenant's local rows. Each row carries scope=PLATFORM|TENANT for badge rendering. Required scope: admin.tenant.counterparty-type.list.
      Parameters:
      tenantId - (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