java.lang.Object
io.hotmoka.network.requests.TransactionRestRequestModel<T>
- Type Parameters:
T- the type request model
Class which wraps a type request model
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe request model which should be an instance ofTransactionRequestModel.The runtime type of the request model -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TransactionRestRequestModel<?>from(TransactionRequest<?> request) Builds the model of the given request.
-
Field Details
-
transactionRequestModel
The request model which should be an instance ofTransactionRequestModel. -
type
The runtime type of the request model
-
-
Constructor Details
-
TransactionRestRequestModel
-
TransactionRestRequestModel
public TransactionRestRequestModel()
-
-
Method Details
-
from
Builds the model of the given request.- Parameters:
request- the request- Returns:
- the corresponding model
-