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

#include "append_role.hpp"

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

Public Member Functions

bool operator== (const Command &command) const override
 
 AppendRole ()
 
 AppendRole (const std::string &account_id_, const std::string &role_name_)
 
- Public Member Functions inherited from iroha::model::Command
virtual ~Command ()=default
 
virtual bool operator!= (const Command &rhs) const
 

Public Attributes

std::string account_id
 
std::string role_name
 

Detailed Description

Add role to account

Constructor & Destructor Documentation

iroha::model::AppendRole::AppendRole ( )
inline
iroha::model::AppendRole::AppendRole ( const std::string &  account_id_,
const std::string &  role_name_ 
)
inline

Member Function Documentation

bool iroha::model::AppendRole::operator== ( const Command command) const
overridevirtual

Implements iroha::model::Command.

Member Data Documentation

std::string iroha::model::AppendRole::account_id

Account to which add new role

std::string iroha::model::AppendRole::role_name

Role to add to account


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