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

#include "grant_permission.hpp"

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

Public Member Functions

bool operator== (const Command &command) const override
 
 GrantPermission ()
 
 GrantPermission (const std::string &account_id_, const std::string &permission_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 permission_name
 

Detailed Description

Grant permission from creator to account_id

Constructor & Destructor Documentation

iroha::model::GrantPermission::GrantPermission ( )
inline
iroha::model::GrantPermission::GrantPermission ( const std::string account_id_,
const std::string permission_name_ 
)
inline

Member Function Documentation

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

Implements iroha::model::Command.

Member Data Documentation

std::string iroha::model::GrantPermission::account_id

Account to which grant the permission. Permission will be granted from creator to account_id on permission_name

std::string iroha::model::GrantPermission::permission_name

Permission to grant (what)


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