hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
get_account_asset_transactions.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_SHARED_MODEL_GET_ACCOUNT_ASSET_TRANSACTIONS_HPP
7 #define IROHA_SHARED_MODEL_GET_ACCOUNT_ASSET_TRANSACTIONS_HPP
8 
9 #include <memory>
10 
13 
14 namespace shared_model {
15  namespace interface {
16  class TxPaginationMeta;
17 
22  : public ModelPrimitive<GetAccountAssetTransactions> {
23  public:
27  virtual const types::AccountIdType &accountId() const = 0;
31  virtual const types::AccountIdType &assetId() const = 0;
32 
34  virtual const TxPaginationMeta &paginationMeta() const = 0;
35 
36  std::string toString() const override;
37 
38  bool operator==(const ModelType &rhs) const override;
39  };
40 
41  } // namespace interface
42 } // namespace shared_model
43 
44 #endif // IROHA_SHARED_MODEL_GET_ACCOUNT_ASSET_TRANSACTIONS_HPP
std::string toString() const override
Definition: get_account_asset_transactions.cpp:13
virtual const types::AccountIdType & assetId() const =0
Definition: get_account_asset_transactions.hpp:21
string(REPLACE".""/"CMAKE_SWIG_OUTDIR ${SWIG_JAVA_PKG}) else() set(CMAKE_SWIG_FLAGS"") endif() myswig_add_library(irohajava LANGUAGE java SOURCES bindings.i) unset(CMAKE_SWIG_FLAGS) swig_link_libraries(irohajava $
Definition: CMakeLists.txt:54
bool operator==(const ModelType &rhs) const override
Definition: get_account_asset_transactions.cpp:22
virtual const TxPaginationMeta & paginationMeta() const =0
Get the query pagination metadata.
std::string AccountIdType
Type of account id.
Definition: types.hpp:37
virtual const types::AccountIdType & accountId() const =0
Provides query metadata for any transaction list pagination.
Definition: tx_pagination_meta.hpp:17
Definition: model_primitive.hpp:23
Definition: command_executor.hpp:12