Class DeleteAppInstance
java.lang.Object
io.openems.edge.core.appmanager.jsonrpc.DeleteAppInstance
- All Implemented Interfaces:
EndpointRequestType<DeleteAppInstance.Request,
DeleteAppInstance.Response>
public final class DeleteAppInstance
extends Object
implements EndpointRequestType<DeleteAppInstance.Request,DeleteAppInstance.Response>
Updates an
OpenemsAppInstance
..
Request:
{ "jsonrpc": "2.0", "id": "UUID", "method": "deleteAppInstance", "params": { "instanceId": string (uuid) } }
Response:
{ "jsonrpc": "2.0", "id": "UUID", "result": { "warnings": string[] } }
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final record
static final record
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the name of the request method.Gets theJsonSerializer
for the request.Gets theJsonSerializer
for the response.
-
Constructor Details
-
DeleteAppInstance
public DeleteAppInstance()
-
-
Method Details
-
getMethod
Description copied from interface:EndpointRequestType
Gets the name of the request method.- Specified by:
getMethod
in interfaceEndpointRequestType<DeleteAppInstance.Request,
DeleteAppInstance.Response> - Returns:
- the method name
-
getRequestSerializer
Description copied from interface:EndpointRequestType
Gets theJsonSerializer
for the request. Used to convert the received json into a java object.- Specified by:
getRequestSerializer
in interfaceEndpointRequestType<DeleteAppInstance.Request,
DeleteAppInstance.Response> - Returns:
- the request
JsonSerializer
-
getResponseSerializer
Description copied from interface:EndpointRequestType
Gets theJsonSerializer
for the response. Used to convert the response java object into a json string.- Specified by:
getResponseSerializer
in interfaceEndpointRequestType<DeleteAppInstance.Request,
DeleteAppInstance.Response> - Returns:
- the response
JsonSerializer
-