#include "create_domain.hpp"


Public Member Functions | |
| bool | operator== (const Command &command) const override |
| CreateDomain () | |
| CreateDomain (const std::string &domain_id, const std::string &user_default_role) | |
Public Member Functions inherited from iroha::model::Command | |
| virtual | ~Command ()=default |
| virtual bool | operator!= (const Command &rhs) const |
Public Attributes | |
| std::string | domain_id |
| std::string | user_default_role |
Create new asset in the system
|
inline |
|
inline |
| domain_id | - id of the domain to create |
| user_default_role | - default role of the user in this domain |
|
overridevirtual |
Implements iroha::model::Command.
| std::string iroha::model::CreateDomain::domain_id |
Asset to insert to the system
| std::string iroha::model::CreateDomain::user_default_role |
Default role for users in the domain