Iroha - A simple, decentralized ledger http://iroha.tech
iroha::model::CreateDomain Struct Reference

#include "create_domain.hpp"

Inheritance diagram for iroha::model::CreateDomain:
Inheritance graph
Collaboration diagram for iroha::model::CreateDomain:
Collaboration graph

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

Detailed Description

Create new asset in the system

Constructor & Destructor Documentation

iroha::model::CreateDomain::CreateDomain ( )
iroha::model::CreateDomain::CreateDomain ( const std::string &  domain_id,
const std::string &  user_default_role 
domain_id- id of the domain to create
user_default_role- default role of the user in this domain

Member Function Documentation

bool iroha::model::CreateDomain::operator== ( const Command command) const

Implements iroha::model::Command.

Member Data Documentation

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

The documentation for this struct was generated from the following files: