Class CounterpartyTypeCatalogTenantApi
java.lang.Object
co.ankatech.keymanagement.client.keymanagement.api.CounterpartyTypeCatalogTenantApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCounterpartyType(UUID tenantId, UUID id) Get a counterparty type by id Visible scopes: own tenant-local + any platform-global.okhttp3.CallgetCounterpartyTypeAsync(UUID tenantId, UUID id, ApiCallback<CounterpartyTypeResponse> _callback) Get a counterparty type by id (asynchronously) Visible scopes: own tenant-local + any platform-global.okhttp3.CallgetCounterpartyTypeCall(UUID tenantId, UUID id, ApiCallback _callback) Build call for getCounterpartyTypegetCounterpartyTypeWithHttpInfo(UUID tenantId, UUID id) Get a counterparty type by id Visible scopes: own tenant-local + any platform-global.intlistCounterpartyTypes(UUID tenantId) 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.okhttp3.CalllistCounterpartyTypesAsync(UUID tenantId, ApiCallback<List<CounterpartyTypeResponse>> _callback) 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.okhttp3.CalllistCounterpartyTypesCall(UUID tenantId, ApiCallback _callback) Build call for listCounterpartyTypeslistCounterpartyTypesWithHttpInfo(UUID tenantId) 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.voidsetApiClient(ApiClient apiClient) voidsetCustomBaseUrl(String customBaseUrl) voidsetHostIndex(int hostIndex)
-
Constructor Details
-
CounterpartyTypeCatalogTenantApi
public CounterpartyTypeCatalogTenantApi() -
CounterpartyTypeCatalogTenantApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getHostIndex
public int getHostIndex() -
setHostIndex
public void setHostIndex(int hostIndex) -
getCustomBaseUrl
-
setCustomBaseUrl
-
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
-