hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
revoke_permission.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_REVOKE_PERMISSION_HPP
7 #define IROHA_REVOKE_PERMISSION_HPP
8 
9 #include <string>
10 #include "model/command.hpp"
11 
12 namespace iroha {
13  namespace model {
14 
18  struct RevokePermission : public Command {
23 
28 
29  bool operator==(const Command &command) const override;
30 
32 
33  RevokePermission(const std::string &account_id_,
34  const std::string &permission_name_)
35  : account_id(account_id_), permission_name(permission_name_) {}
36  };
37  } // namespace model
38 } // namespace iroha
39 
40 #endif // IROHA_REVOKE_PERMISSION_HPP
Definition: command.hpp:14
Definition: revoke_permission.hpp:18
std::string account_id
Definition: revoke_permission.hpp:22
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 Command &command) const override
Definition: model_operators.cpp:79
Definition: block_query.hpp:16
std::string permission_name
Definition: revoke_permission.hpp:27
RevokePermission(const std::string &account_id_, const std::string &permission_name_)
Definition: revoke_permission.hpp:33
RevokePermission()
Definition: revoke_permission.hpp:31