hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
set_account_detail.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_ADDACCOUNTDETAIL_HPP
7 #define IROHA_ADDACCOUNTDETAIL_HPP
8 
9 #include <string>
10 #include "model/command.hpp"
11 
12 namespace iroha {
13  namespace model {
14 
15  struct SetAccountDetail : public Command {
16  std::string account_id;
17  std::string key;
18  std::string value;
19 
20  bool operator==(const Command &command) const override;
21 
23 
24  SetAccountDetail(const std::string &account_id,
25  const std::string &key,
26  const std::string &value)
27  : account_id(account_id), key(key), value(value) {}
28  };
29 
30  } // namespace model
31 } // namespace iroha
32 
33 #endif // IROHA_ADDACCOUNTDETAIL_HPP
SetAccountDetail()
Definition: set_account_detail.hpp:22
Definition: command.hpp:14
std::string value
Definition: set_account_detail.hpp:18
SetAccountDetail(const std::string &account_id, const std::string &key, const std::string &value)
Definition: set_account_detail.hpp:24
std::string account_id
Definition: set_account_detail.hpp:16
bool operator==(const Command &command) const override
Definition: model_operators.cpp:134
Definition: block_query.hpp:14
std::string key
Definition: set_account_detail.hpp:17
Definition: set_account_detail.hpp:15