Module io.hotmoka.network
Package io.hotmoka.network.responses
Class TransactionRestResponseModel<T>
java.lang.Object
io.hotmoka.network.responses.TransactionRestResponseModel<T>
- Type Parameters:
T- the type response model
Class which wraps a type response model
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe response model which should be an instance ofTransactionResponseModel.The runtime type of the response model -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TransactionRestResponseModel<?>from(TransactionResponse response) Builds the model of the given transaction response.
-
Field Details
-
transactionResponseModel
The response model which should be an instance ofTransactionResponseModel. -
type
The runtime type of the response model
-
-
Constructor Details
-
TransactionRestResponseModel
-
TransactionRestResponseModel
public TransactionRestResponseModel()
-
-
Method Details
-
from
Builds the model of the given transaction response.- Parameters:
response- the response- Returns:
- the corresponding model
-