Provides query metadata for any transaction list pagination. More...
#include "tx_pagination_meta.hpp"
Public Member Functions | |
virtual types::TransactionsNumberType | pageSize () const =0 |
Get the requested page size. More... | |
virtual boost::optional< types::HashType > | firstTxHash () const =0 |
Get the first requested transaction hash, if provided. More... | |
std::string | toString () const override |
bool | operator== (const ModelType &rhs) const override |
![]() | |
virtual bool | operator== (const ModelType &rhs) const=0 |
virtual bool | operator!= (const ModelType &rhs) const |
virtual | ~ModelPrimitive ()=default |
Additional Inherited Members | |
![]() | |
using | ModelType = TxPaginationMeta |
Provides query metadata for any transaction list pagination.
|
pure virtual |
Get the first requested transaction hash, if provided.
Implemented in shared_model::proto::TxPaginationMeta.
|
override |
|
pure virtual |
Get the requested page size.
Implemented in shared_model::proto::TxPaginationMeta.
|
overridevirtual |
Make string developer representation of object
Reimplemented from shared_model::interface::ModelPrimitive< TxPaginationMeta >.