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

#include "detach_role.hpp"

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

Public Member Functions

bool operator== (const Command &command) const override
 DetachRole ()
 DetachRole (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

Create new role in the system

Constructor & Destructor Documentation

iroha::model::DetachRole::DetachRole ( )
iroha::model::DetachRole::DetachRole ( const std::string &  account_id,
const std::string &  role_name_ 
role_name_- name of the role in the system
perms- set of permissions for the role

Member Function Documentation

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

Implements iroha::model::Command.

Member Data Documentation

std::string iroha::model::DetachRole::account_id

Account from where detach role

std::string iroha::model::DetachRole::role_name

Role to detach

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