Package dev.restate.admin.api
Class ServiceApi
java.lang.Object
dev.restate.admin.api.ServiceApi
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected ApiException
getApiException
(String operationId, HttpResponse<InputStream> response) getService
(String service) Get service Get a registered service.getServiceWithHttpInfo
(String service) Get service Get a registered service.List services List all registered services.List services List all registered services.modifyService
(String service, ModifyServiceRequest modifyServiceRequest) Modify a service Modify a registered service.void
modifyServiceState
(String service, ModifyServiceStateRequest modifyServiceStateRequest) Modify a service state Modify service statemodifyServiceStateWithHttpInfo
(String service, ModifyServiceStateRequest modifyServiceStateRequest) Modify a service state Modify service statemodifyServiceWithHttpInfo
(String service, ModifyServiceRequest modifyServiceRequest) Modify a service Modify a registered service.
-
Constructor Details
-
ServiceApi
public ServiceApi() -
ServiceApi
-
-
Method Details
-
getApiException
protected ApiException getApiException(String operationId, HttpResponse<InputStream> response) throws IOException - Throws:
IOException
-
getService
Get service Get a registered service.- Parameters:
service
- Fully qualified service name. (required)- Returns:
- ServiceMetadata
- Throws:
ApiException
- if fails to make API call
-
getServiceWithHttpInfo
Get service Get a registered service.- Parameters:
service
- Fully qualified service name. (required)- Returns:
- ApiResponse<ServiceMetadata>
- Throws:
ApiException
- if fails to make API call
-
listServices
List services List all registered services.- Returns:
- ListServicesResponse
- Throws:
ApiException
- if fails to make API call
-
listServicesWithHttpInfo
List services List all registered services.- Returns:
- ApiResponse<ListServicesResponse>
- Throws:
ApiException
- if fails to make API call
-
modifyService
public ServiceMetadata modifyService(String service, ModifyServiceRequest modifyServiceRequest) throws ApiException Modify a service Modify a registered service.- Parameters:
service
- Fully qualified service name. (required)modifyServiceRequest
- (required)- Returns:
- ServiceMetadata
- Throws:
ApiException
- if fails to make API call
-
modifyServiceWithHttpInfo
public ApiResponse<ServiceMetadata> modifyServiceWithHttpInfo(String service, ModifyServiceRequest modifyServiceRequest) throws ApiException Modify a service Modify a registered service.- Parameters:
service
- Fully qualified service name. (required)modifyServiceRequest
- (required)- Returns:
- ApiResponse<ServiceMetadata>
- Throws:
ApiException
- if fails to make API call
-
modifyServiceState
public void modifyServiceState(String service, ModifyServiceStateRequest modifyServiceStateRequest) throws ApiException Modify a service state Modify service state- Parameters:
service
- Fully qualified service name. (required)modifyServiceStateRequest
- (required)- Throws:
ApiException
- if fails to make API call
-
modifyServiceStateWithHttpInfo
public ApiResponse<Void> modifyServiceStateWithHttpInfo(String service, ModifyServiceStateRequest modifyServiceStateRequest) throws ApiException Modify a service state Modify service state- Parameters:
service
- Fully qualified service name. (required)modifyServiceStateRequest
- (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException
- if fails to make API call
-